1 2004-12-25 Keith Owens <kaos@sgi.com>
4 * Ignore low addresses and large offsets in kdbnearsym().
5 * Console updates for sn2 simulator.
6 * kdb v4.4-2.6.10-common-1.
8 2004-12-07 Keith Owens <kaos@sgi.com>
10 * kdb v4.4-2.6.10-rc3-common-1.
12 2004-11-23 Keith Owens <kaos@sgi.com>
14 * Remove warning message from kdb_get_one_user_page(), it was too noisy.
15 * kdb v4.4-2.6.10-rc2-common-1.
17 2004-11-02 Keith Owens <kaos@sgi.com>
19 * Build with kdb patch applied but CONFIG_KDB=n.
20 * kdb v4.4-2.6.10-rc1-common-2.
22 2004-10-29 Keith Owens <kaos@sgi.com>
24 * Handle new compression scheme for kallsyms.
25 * Handle move of DEAD and ZOMBIE for task->state to task->exit_state.
26 * Tweak the concept of a valid kernel address to get all symbols,
27 including the symbols in the ia64 gate page.
28 * kdb v4.4-2.6.10-rc1-common-1.
30 2004-10-21 Keith Owens <kaos@sgi.com>
32 * Handle variable size for the kernel log buffer.
33 * kdb v4.4-2.6.9-common-2.
35 2004-10-19 Keith Owens <kaos@sgi.com>
37 * kdb v4.4-2.6.9-common-1.
39 2004-10-12 Keith Owens <kaos@sgi.com>
41 * kdb v4.4-2.6.9-rc4-common-1.
43 2004-10-01 Keith Owens <kaos@sgi.com>
45 * kdb v4.4-2.6.9-rc3-common-1.
47 2004-09-30 Keith Owens <kaos@sgi.com>
49 * Add stackdepth command to Documentation/kdb/kdb.mm. stackdepth is
50 only supported on i386 and ia64 at the moment.
51 * Skip kdbm_pg memmap build on x86_64. Scott Lurndal, 3leafnetworks.
52 * Export kdb_serial_str for modular I/O. Bryan Cardillo, UPenn.
53 * Reinstate tab completion for symbols.
54 * kdb v4.4-2.6.9-rc2-common-2.
56 2004-09-14 Keith Owens <kaos@sgi.com>
58 * Add task states C (traCed) and E (dEad).
59 * kdb v4.4-2.6.9-rc2-common-1.
61 2004-08-27 Keith Owens <kaos@sgi.com>
63 * kdb v4.4-2.6.9-rc1-common-1.
65 2004-08-14 Keith Owens <kaos@sgi.com>
67 * kdb v4.4-2.6.8-common-1.
69 2004-08-12 Keith Owens <kaos@sgi.com>
71 * kdb v4.4-2.6.8-rc4-common-1.
73 2004-08-05 Keith Owens <kaos@sgi.com>
75 * Mark kdb_initcall as __attribute_used__ for newer gcc.
76 * kdb v4.4-2.6.8-rc3-common-2.
78 2004-08-04 Keith Owens <kaos@sgi.com>
80 * Add mdp (memory display physical) comnmand.
81 Ananth N Mavinakayanahalli, IBM.
82 * kdb v4.4-2.6.8-rc3-common-1.
84 2004-07-18 Keith Owens <kaos@sgi.com>
86 * Patch for new sn_console. Erik Jacobson. SGI.
87 * kdb v4.4-2.6.8-rc2-common-1.
89 2004-07-12 Keith Owens <kaos@sgi.com>
91 * Convert kdbm_task to standard cpumask_t.
92 * Document '*' (all breakpoints) option on bd/be/bc commands.
93 * kdb v4.4-2.6.8-rc1-common-1.
95 2004-06-30 Keith Owens <kaos@sgi.com>
97 * Common changes to help the x86-64 port.
98 * kdb v4.4-2.6.7-common-3.
100 2004-06-20 Keith Owens <kaos@sgi.com>
102 * Move kdb includes in mm/swapfile.c to reduce conflicts with other
104 * kdb v4.4-2.6.7-common-2.
106 2004-06-16 Keith Owens <kaos@sgi.com>
108 * kdb v4.4-2.6.7-common-1.
110 2004-06-09 Keith Owens <kaos@sgi.com>
112 * kdb v4.4-2.6.7-rc3-common-1.
114 2004-06-09 Keith Owens <kaos@sgi.com>
116 * Namespace clean up. Mark code/variables as static when it is only
117 used in one file, delete dead code/variables.
118 * Saved interrupt state requires long, not int.
119 * kdb v4.4-2.6.7-rc2-common-3.
121 2004-06-08 Keith Owens <kaos@sgi.com>
123 * Whitespace clean up, no code changes.
124 * kdb v4.4-2.6.7-rc2-common-2.
126 2004-06-07 Keith Owens <kaos@sgi.com>
128 * kdb v4.4-2.6.7-rc2-common-1.
130 2004-06-06 Keith Owens <kaos@sgi.com>
132 * Avoid recursion problems in kdb_init().
133 * Add standard archkdb commands.
134 * Add per_cpu command.
135 * Move kdb_{get,put}userarea_size definitions to linux/kdb.h.
136 * kdb v4.4-2.6.6-common-2.
138 2004-05-23 Keith Owens <kaos@sgi.com>
140 * Shrink the output from the cpu command.
141 * Add cpu state 'I', the cpu is idle.
142 * Add cpu state '+', some kdb data is available but the cpu is not
144 * Do not print tasks in state I or M by default in ps and bta commands.
145 * Add states I (idle task) and M (sleeping system daemon) to ps and
147 * Delete unused variables.
148 * Move private kdb fields from kdb.h to kdbprivate.h.
149 * Print 'for keyboard entry' for the special cases when KDB_ENTER() is
150 used to get registers.
151 * Move bfd.h and ansidecl.h from arch/$(ARCH)/kdb to include/asm-$(ARCH)
152 and remove -I arch/$(ARCH)/kdb.
153 * dmesg command now prints from either the start or end of dmesg, or at
154 an arbitrary point in the middle of the kernel log buffer.
155 * Sensible string dump for multi byte md commands.
156 * 'page' command handles ia64 correctly.
157 * Show some activity when waiting for cpus to enter kdb.
158 * Change the KDB entry code to <esc>KDB.
159 * Allow comment commands, starting with '#'.
160 * Commands defined using defcmd from kdb_cmds are not printed as they
161 are entered, use defcmd with no parameters to print all the defined
163 * Add summary command.
164 * Update copyright notices.
165 * Zero suppression on md command.
166 * Make set NOSECT=1 the default.
167 * PPC64 uses OF-stdout instead of console. Ananth N Mavinakayanahalli.
168 * kdb v4.4-2.6.6-common-1.
170 2004-05-10 Keith Owens <kaos@sgi.com>
172 * kdb v4.3-2.6.6-common-1.
174 2004-05-06 Keith Owens <kaos@sgi.com>
176 * kdb v4.3-2.6.6-rc3-common-1.
178 2004-05-06 Keith Owens <kaos@sgi.com>
180 * kdb v4.3-2.6.6-rc2-common-1.
182 2004-04-30 Keith Owens <kaos@sgi.com>
184 * Rewrite inode_pages command for new radix code in struct page.
185 * kdb v4.3-2.6.6-rc1-common-1.
187 2004-04-11 Keith Owens <kaos@sgi.com>
189 * Unlock sn_sal_lock before entering kdb from sn_serial.
190 * kdb v4.3-2.6.5-common-2.
192 2004-04-05 Keith Owens <kaos@sgi.com>
194 * kdb v4.3-2.6.5-common-1.
196 2004-03-22 Keith Owens <kaos@sgi.com>
198 * kdb v4.3-2.6.5-rc2-common-1.
200 2004-03-12 Keith Owens <kaos@sgi.com>
202 * More work to avoid spurious messages from WARN_CONSOLE_UNLOCKED().
203 * bh command bug fixes. Nathan Scott.
204 * kdb v4.3-2.6.4-common-1.
206 2004-03-06 Keith Owens <kaos@sgi.com>
208 * Set KDB_IS_RUNNING() during kdb_init to avoid spurious messages from
209 WARN_CONSOLE_UNLOCKED().
210 * Correct loss of symbol names in kdbnearsym.
211 * kdb v4.3-2.6.4-rc2-common-1.
213 2004-02-29 Keith Owens <kaos@sgi.com>
215 * kdb v4.3-2.6.4-rc1-common-1.
217 2004-02-21 Keith Owens <kaos@sgi.com>
219 * Correct build of kdb_cmds when using a separate object directory and
220 make it quiet. j-nomura (NEC), Keith Owens.
221 * kdb v4.3-2.6.3-common-2.
223 2004-02-18 Keith Owens <kaos@sgi.com>
225 * kdb v4.3-2.6.3-common-1.
227 2004-02-17 Keith Owens <kaos@sgi.com>
229 * Remove WAR for incorrect console registration patch.
230 * kdb v4.3-2.6.3-rc4-common-1.
232 2004-02-17 Keith Owens <kaos@sgi.com>
234 * Convert longjmp buffers from static to dynamic allocation, for large
236 * Tweak kdbm_task for SMP/UP.
237 * Reconcile with kdb-v4.3 2.4.25-rc1-common-1.
238 * Simplify coexistence with NPTL patches.
239 * Support kill command on new scheduler.
240 * Do not refetch data when printing a value as characters.
241 * Document the pid command.
242 * Work around 2.6 kallsyms 'feature'.
243 * Upgrade to 2.6.3-rc3.
244 * WAR for incorrect console registration patch.
245 * kdb v4.3-2.6.3-rc3-common-1.
247 2003-12-03 Keith Owens <kaos@sgi.com>
249 * Reconcile 2.6-test versions from Xavier Bru (Bull), Greg Banks (SGI),
250 Jim Houston (Concurrent Computer Corp).
251 * Reconcile with kdb v4.3-2.4.23-common-2.
252 * Clean up CONFIG_KDB changes to {scripts,kernel}/kallsyms.c.
253 * Correct handling of kdb command line arguments.
254 * Make hooks into module code less intrusive.
255 * Delete kdb_active_task, not required with O(1) scheduler.
256 * Port kdbm_task.c from 2.4.
257 * Disable debug check in exit.c::next_thread() when kdb is running.
258 * Remove "only bh_disable when interrupts are set". BH must be disabled
259 in kdb to prevent deadlock on breakpoints in interrupt handlers.
260 * Add kdb to drivers/char/sn_serial.c.
261 * kdb v4.3-2.6.0-test11-common-1.
263 2003-11-11 Xavier Bru <xavier.bru@bull.net>
264 * Merge to 2.6.0-test9
265 2003-10-17 Xavier Bru <xavier.bru@bull.net>
266 * fix NUll ptr in kdb_ps at early prompt.
267 2003-10-14 Xavier Bru <xavier.bru@bull.net>
268 * fix NUll ptr in kdb_ps when cpu not present.
269 2003-10-06 Xavier Bru <xavier.bru@bull.net>
270 * Merge to 2.6.0-test5
271 * fix compile error with CONFIG_MODULES not set.
273 2003-09-08 Xavier Bru <xavier.bru@bull.net>
274 * Merge to 2.6.0-test4
276 2003-07-10 Xavier Bru <xavier.bru@bull.net>
278 * Merge kdb v4.3 to 2.5.72 ia64
279 * don't call local_bh_enable() with interrupts masked.
281 2003-04-07 Xavier Bru <xavier.bru@bull.net>
283 * Merge kdb v4.1 to 2.5.64 ia64
284 * new kernel parameters support
286 * new kallsyms support
288 2003-12-02 Keith Owens <kaos@sgi.com>
290 * Use correct page alignment in kdb_get_one_user_page().
291 Prasanna S Panchamukhi, IBM.
292 * Split pte command into pte -m and pte -p. Dean Roe, SGI.
293 * kdb v4.3-2.4.23-common-2.
295 2003-12-01 Keith Owens <kaos@sgi.com>
297 * kdb v4.3-2.4.23-common-1.
299 2003-11-11 Keith Owens <kaos@sgi.com>
301 * Make KDB for USB keyboards build. Peter T. Breuer.
302 * Do not use USB keyboard if it has not been probed.
303 * kdb v4.3-2.4.23-rc1-common-1.
305 2003-10-10 Keith Owens <kaos@sgi.com>
307 * Sync with XFS 2.4.22 tree.
308 * kdb v4.3-2.4.22-common-2.
310 2003-08-29 Keith Owens <kaos@sgi.com>
312 * kdb v4.3-2.4.22-common-1.
314 2003-07-27 Keith Owens <kaos@sgi.com>
316 * kdb v4.3-2.4.22-pre8-common-8.
318 2003-07-20 Keith Owens <kaos@sgi.com>
320 * Make kdb_serial_str a common constant, the same for all consoles.
321 * Support SGI L1 console.
322 * kdb v4.3-2.4.21-common-8.
324 2003-07-14 Keith Owens <kaos@sgi.com>
326 * Correct ll command.
327 * kdb v4.3-2.4.21-common-7.
329 2003-07-08 Keith Owens <kaos@sgi.com>
331 * Export more kdb symbols. Vamsi Krishna S., IBM.
332 * kdb v4.3-2.4.21-common-6.
334 2003-07-07 Keith Owens <kaos@sgi.com>
336 * Tweak 'waiting for cpus' message.
337 * kdb v4.3-2.4.21-common-5.
339 2003-07-07 Keith Owens <kaos@sgi.com>
341 * 2.4.21-ia64-030702 patches common code that affects kdb. Workaround
343 * kdb v4.3-2.4.21-common-4.
345 2003-06-24 Keith Owens <kaos@sgi.com>
347 * Add task and sigset commands. Mark Goodwin, SGI.
348 * kdb v4.3-2.4.21-common-3.
350 2003-06-23 Keith Owens <kaos@sgi.com>
352 * Sync with XFS 2.4.21 tree.
353 * kdb v4.3-2.4.21-common-2.
355 2003-06-20 Keith Owens <kaos@sgi.com>
357 * kdb v4.3-2.4.21-common-1.
359 2003-06-20 Keith Owens <kaos@sgi.com>
361 * More details on vm command, add vmp and pte commands.
362 Dean Nelson, Dean Roe, SGI.
363 * YAO1SCF (Yet Another O(1) Scheduler Coexistence Fix).
364 * Changes to common code to build on sparc. Tom Duffy.
365 * Move Tom Duffy's changes to drivers/sbus from the sparc64
366 patch to the common patch to keep all the serial changes
368 * Changes to common code to build on Xscale. Eddie Dong, Intel.
369 * Remove CROSS_COMPILE_INC.
370 * Remove obsolete boot parameter 'kdb', long since replaced by
372 * Remove obsolete kdb_eframe_t casts.
373 * Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
374 * Wait a short interval for cpus to join kdb before proceeding.
375 * Automatically enable sysrq for sr command.
376 * Correct double free of kdb_printf lock, spotted by Richard Sanders.
377 * Add optional cpu parameter to btc command.
378 * kdb v4.3-2.4.20-common-1.
380 2003-05-02 Keith Owens <kaos@sgi.com>
382 * Some architectures have problems with the initial empty kallsyms
383 section so revert to three kallsyms passes.
384 * Flush buffered input at startup and at 'more' prompt.
385 * Only print 'more' prompt when longjmp data is available.
386 * Print more data for buffers and inodes.
387 * Disable kill command when O(1) scheduler is installed, the code
388 needs to be redone for O(1).
389 * The kernel has an undocumented assumption that enable_bh() is
390 always called with interrupts enabled, make it so.
391 * Print trailing punctuation even for symbols that are not in kernel.
392 * Add read/write access to user pages. Vamsi Krishna S., IBM
393 * Rename cpu_is_online to cpu_online, as in 2.5.
394 * O(1) scheduler removes init_task so kdb maintains its own list of
396 * Delete btp 0 <cpuid> option, it needed init_tasks.
397 * Clean up USB keyboard support. Steven Dake.
398 * Sync with XFS 2.4.20 tree.
399 * kdb v4.2-2.4.20-common-1.
401 2003-04-04 Keith Owens <kaos@sgi.com>
403 * Remove one kallsyms pass.
404 * Automatic detection of O(1) scheduler.
405 * Rename cpu_online to cpu_is_online.
406 * Workarounds for scheduler bugs.
407 * Tweak algorithm for detecting if cpu process data is available.
408 * Add 'kill' command. Sonic Zhang, Keith Owens.
409 * kdb v4.1-2.4.20-common-1.
411 2003-03-16 Keith Owens <kaos@sgi.com>
413 * Each cpu saves its state as it enters kdb or before it enters code
414 which cannot call kdb.
415 * Allow btp on process 0 for a specified cpu.
416 * Add btt command, backtrace given a struct task address.
417 * btc command no longer switches cpus, instead it uses the saved data.
418 * bta shows the idle task on each cpu as well as real tasks, the idle
419 task could be handling an interrupt.
420 * ps command shows the idle task on each cpu.
421 * ps checks that the saved data for a cpu matches the process running on
422 that cpu and warns about stale saved data or no saved data at all.
423 * Remove special cases for i386 backtrace from common code and simplify
425 * Clean up kdb interaction with CONFIG_SERIAL_CONSOLE.
426 * Do not automatically repeat commands after the user typed 'q'.
427 * O(1) scheduler patch changes the process cpu field but does not set
428 any indicator that O(1) is being used. Adjust kdb_process_cpu() by
429 hand after applying O(1).
430 * Add kdb_print_nameval() to common code.
431 * Convert tests of cpu_online_map to cpu_online() macro.
432 * module.h needs errno.h when compiling with CONFIG_MODULES=n.
433 * Correct duplicate breakpoint handling.
434 * Do not try to send IPI during a catastrophic error, send_ipi can hang
435 and take kdb with it.
436 * kdb memmap command is i386 only, restrict it.
437 * Add large block device (LBD) support from XFS tree. Eric Sandeen.
438 * kdb v4.0-2.4.20-common-1.
440 2003-02-03 Keith Owens <kaos@sgi.com>
442 * Register kdb commands early.
443 * Decode oops via kallsyms if it is available.
444 * Update copyright notices to 2003.
445 * Add defcmd/endefcmd to allow users to package their own macros.
446 * kdb commands that fail are ignored when prefixed with '-'.
447 * Add selection options to bta command.
448 * Add btc command (switch to each cpu and backtrace).
449 * Do real time detection of dead cpus.
450 * Clear ip adjusted flag when leaving kdb.
451 * Clean up ps command.
452 * Print ps output for each task when backtracing.
453 * Bump to version v3.0 to reduce confusion between kdb and kernel
455 * Add kdba_local_arch_setup/kdba_local_arch_cleanup to correct
456 keyboard freeze. Ashish Kalra.
457 * Refuse multiple breakpoints at the same address.
458 * Add fl (file_lock) command, from XFS development tree.
459 * Correct inode_pages, from XFS development tree.
460 * Add command history and editing. Sonic Zhang.
461 * Extend command history and editing to handle vt100 escape sequences.
462 * Allow tab completion at start of line.
463 * Touch nmi watchdog on long running bta and btc commands.
464 * Clean up ps output and standardize with bta codes.
465 * Correctly handle escaped characters in commands.
466 * Update man pages for btc and command history/editing.
467 * kdb v3.0-2.4.20-common-1.
469 2002-11-29 Keith Owens <kaos@sgi.com>
472 * Correct Documentation/kdb/kdb_sr.man.
473 * Remove leading zeroes from pids, they are decimal, not octal.
474 * kdb v2.5-2.4.20-common-1.
476 2002-11-14 Keith Owens <kaos@sgi.com>
478 * Upgrade to 2.4.20-rc1.
479 * kdb v2.5-2.4.20-rc1-common-1.
481 2002-11-14 Keith Owens <kaos@sgi.com>
483 * Fix processing with O(1) scheduler.
484 * 'go' switches back to initial cpu first.
485 * 'go <address>' only allowed on initial cpu.
486 * 'go' installs the global breakpoints from the initial cpu before
487 releasing the other cpus.
488 * If 'go' has to single step over a breakpoint then it single steps just
489 the initial cpu, installs the global breakpoints then releases the
491 * General clean up of handling for breakpoints and single stepping over
492 software breakpoints.
493 * Add kdb_notifier_block so other code can tell when kdb is in control.
494 * kdb v2.5-2.4.19-common-1.
496 2002-11-02 Keith Owens <kaos@sgi.com>
498 * Correct build without CONFIG_KDB.
499 * kdb v2.4-2.4.19-common-3.
501 2002-11-01 Keith Owens <kaos@sgi.com>
503 * Minimize differences from 2.5.44.
504 * kdb v2.4-2.4.19-common-2.
506 2002-10-31 Keith Owens <kaos@sgi.com>
508 * Add defcmd/endefcmd feature.
509 * Remove kdb_eframe_t.
510 * Clear bp data before using.
511 * Sanity check if we have pt_regs.
513 * Remove special case for KDB_REASON_PANIC, use KDB_ENTER() instead.
514 * Remove kdba_getcurrentframe().
515 * Coexist with O(1) scheduler.
516 * Add lines option to dmesg, speed up dmesg.
517 * kdb v2.4-2.4.19-common-1.
519 2002-10-17 Keith Owens <kaos@sgi.com>
521 * Add selection critera to ps and bta commands.
522 * kdb v2.3-2.4.19-common-4.
524 2002-10-07 Keith Owens <kaos@sgi.com>
526 * New man page, Documentation/kdb/kdb_sr.man.
528 2002-10-04 Keith Owens <kaos@sgi.com>
530 * Minimize differences between patches for 2.4 and 2.5 kernels.
531 * Add Configure.help for CONFIG_KDB_USB.
532 * Reduce stack usage.
533 * kdb v2.3-2.4.19-common-3.
535 2002-08-10 Keith Owens <kaos@sgi.com>
537 * Replace kdb_port with kdb_serial to support memory mapped I/O.
539 * kdb v2.3-2.4.19-common-2.
541 2002-08-07 Keith Owens <kaos@sgi.com>
544 * Remove individual SGI copyrights, the general SGI copyright applies.
545 * Handle md0. Reported by Hugh Dickins, different fix by Keith Owens.
546 * Use page_address() in kdbm_pg.c. Hugh Dickins.
547 * Remove debugging printk from kdbm_pg.c. Hugh Dickins.
548 * Move breakpoint address verification into arch dependent code.
549 * Dynamically resize kdb command table as required.
550 * Common code to support USB keyboard. Sebastien Lelarge.
551 * kdb v2.3-2.4.19-common-1.
553 2002-07-09 Keith Owens <kaos@sgi.com>
555 * Upgrade to 2.4.19-rc1.
557 * Clean up copyrights, Eric Sandeen.
558 * kdb v2.2-2.4.19-rc1-common-1.
560 2002-06-14 Keith Owens <kaos@sgi.com>
562 * Upgrade to 2.4.19-pre10.
564 * kdb v2.1-2.4.19-pre10-common-1.
566 2002-04-09 Keith Owens <kaos@sgi.com>
568 * Upgrade to 2.4.19-pre6.
569 * kdb v2.1-2.4.19-pre6-common-1.
571 2002-03-18 Keith Owens <kaos@sgi.com>
573 * Syntax check mdWcN commands.
575 2002-03-01 Keith Owens <kaos@sgi.com>
577 * Sync with XFS 2.4.18.
578 * kdb v2.1-2.4.18-common-2.
580 2002-02-26 Keith Owens <kaos@sgi.com>
583 * Add Paul Dorwin (IBM) magicpoint slides on using kdb as
584 Documentation/kdb/slides.
585 * kdb v2.1-2.4.18-common-1.
587 2002-01-23 Keith Owens <kaos@sgi.com>
589 * Sync with XFS pagebuf changes.
590 * kdb v2.1-2.4.17-common-2.
592 2002-01-18 Keith Owens <kaos@sgi.com>
594 * Ignore single stepping during panic.
595 * Remove kdba_getword, kdba_putword. Replace with kdb_getword,
596 kdb_putword that rely on copy_xx_user. The new functions return
597 an error code, like copy_xx_user.
598 * New functions kdb_getarea, kdb_putarea for copying areas of data
599 such as structures. These functions also return an error code.
600 * Change all common code to use the new functions.
601 * bp command checks that it can read and write the word at the
602 breakpoint before accepting the address.
603 * Break points are now set FIFO and cleared LIFO so overlapping
604 entries give sensible results.
605 * Verify address before disassembling code.
606 * Common changes for sparc64. Ethan Solomita, Tom Duffy.
607 * Remove ss <count>, never supported.
608 * Remove kallsyms entries from arch vmlinux.lds files.
609 * Specify which commands auto repeat.
610 * kdb v2.1-2.4.17-common-1.
612 2002-01-07 Keith Owens <kaos@sgi.com>
614 * Remove console semaphore code, not good in interrupt.
615 * Remove fragment of ia64 patch that had crept into kdb.
616 * Release as kdb v2.0-2.4.17-common-3.
618 2002-01-04 Keith Owens <kaos@sgi.com>
620 * Sync xfs <-> kdb common code.
622 2001-12-22 Keith Owens <kaos@sgi.com>
625 * Clean up ifdef CONFIG_KDB.
626 * Add ifdef CONFIG_KDB around include kdb.h.
627 * Delete dummy kdb.h files for unsupported architectures.
628 * Delete arch i386 and ia64 specific files. This changelog now
629 applies to kdb common code only.
630 * Release as kdb v2.0-2.4.17-common-1.
632 2001-12-03 Keith Owens <kaos@sgi.com>
635 * Add include/asm-um/kdb.h stub to allow XFS to be tested under UML.
636 * Check if an interrupt frame on i386 came from user space.
637 * Out of scope bug fix in kdb_id.c. Ethan Solomita.
638 * Changes to common code to support sparc64. Ethan Solomita.
639 * Change GFP_KERNEL to GFP_ATOMIC in disasm. Ethan Solomita.
641 2001-11-16 Keith Owens <kaos@sgi.com>
643 * Upgrade to 2.4.15-pre5.
644 * Wrap () around #define expressions with unary operators.
646 2001-11-13 Keith Owens <kaos@sgi.com>
648 * Upgrade to 2.4.15-pre4.
649 * kbdm_pg.c patch from Hugh Dickins.
651 2001-11-07 Keith Owens <kaos@sgi.com>
653 * Upgrade to 2.4.14-ia64-011105.
654 * Change name of l1 serial I/O routine, add ia64 init command. SGI.
655 * Sync kdbm_pg with XFS.
657 2001-11-06 Keith Owens <kaos@sgi.com>
659 * Upgrade to kernel 2.4.14.
661 2001-11-02 Keith Owens <kaos@sgi.com>
663 * Sync kdbm_pg.c with XFS.
665 2001-10-24 Keith Owens <kaos@sgi.com>
667 * Upgrade to kernel 2.4.13.
669 2001-10-14 Keith Owens <kaos@melbourne.sgi.com>
671 * More use of TMPPREFIX in top level Makefile to speed up NFS compiles.
673 * Correct repeat calculations in md/mds commands.
675 2001-10-10 Keith Owens <kaos@melbourne.sgi.com>
677 * Copy bfd.h and ansidecl.h to arch/$(ARCH)/kdb, remove dependecies on
680 * Update kdb v1.9 to kernel 2.4.11.
682 2001-10-01 Keith Owens <kaos@melbourne.sgi.com>
684 * Update kdb v1.9 to kernel 2.4.11-pre1 and 2.4.10-ac1.
686 * Correct loop in kdb_parse, reported by Tachino Nobuhiro.
688 2001-09-25 Keith Owens <kaos@melbourne.sgi.com>
690 * Update kdb v1.8 to kernel 2.4.10.
692 * kdbm_pg patch from Hugh Dickens.
694 * DProbes patch from Bharata B Rao.
696 * mdWcn and mmW patch from Vamsi Krishna S.
698 * i386 disasm layout patch from Jean-Marc Saffroy.
700 * Work around for 64 bit binutils, Simon Munton.
702 * kdb.mm doc correction by Chris Pascoe.
704 * Enter repeats the last command, IA64 disasm only prints one
705 instruction. Don Dugger.
707 * Allow kdb/modules to be linked into vmlinux.
709 * Remove obsolete code from kdb/modules/kdbm_{pg,vm}.c.
711 * Warn when commands are entered at more prompt.
713 * Add MODULE_AUTHOR, DESCRIPTION, LICENSE.
715 * Release as kdb v1.9.
717 2001-02-27 Keith Owens <kaos@melbourne.sgi.com>
719 * Update kdb v1.8 to kernel 2.4.2, sync kdb/modules with XFS.
721 * Hook into panic() call.
723 2000-12-18 Keith Owens <kaos@melbourne.sgi.com>
725 * Update kdb v1.7 to kernel 2.4.0-test13-pre3, sync kdb/modules with
728 2000-11-18 Keith Owens <kaos@melbourne.sgi.com>
730 * Update to kernel 2.4.0-test11-pre7, including forward port of
731 bug fixes from WIP 2.4.0-test9 tree.
733 * Update to Cygnus CVS trees for disassembly code.
737 2000-10-19 Keith Owens <kaos@melbourne.sgi.com>
739 * Update to kernel 2.4.0-test10-pre4.
741 2000-10-15 Keith Owens <kaos@melbourne.sgi.com>
743 * kdb/kdbmain.c (kdb_parse): Correctly handle blank input.
745 * kdb/kdbmain.c (kdb_local, kdb): Reason SILENT can have NULL regs.
747 2000-10-13 Keith Owens <kaos@melbourne.sgi.com>
749 * kdb/kdbmain.c: Reduce CMD_LEN to avoid overflowing kdb_printf buffer.
751 2000-10-11 Keith Owens <kaos@melbourne.sgi.com>
753 * kdb/kdbmain.c (kdb): Test for userspace breakpoints before driving
754 other cpus into kdb. Speeds up gdb and avoids SMP race.
756 * arch/i386/kdb/kdba_io.c (get_serial_char, get_kbd_char): Ignore
757 unprintable characters.
759 * arch/i386/kdb/kdba_io.c (kdba_read): Better handling of buffer size.
761 2000-10-04 Keith Owens <kaos@melbourne.sgi.com>
763 * arch/i386/kdb/kdba_bt.c (kdba_bt_process): Verify that esp is inside
764 task_struct. Original patch by Mike Galbraith.
766 * kdb/kdb_io.c (kdb_getstr): Reset output line counter, remove
769 * arch/i386/kdb/kdbasupport.c (kdb_getregcontents): Change " cs" to
770 "xcs", ditto ss, ds, es. gdb2kdb does not like leading spaces.
772 * include/asm-xxx/kdb.h: Add dummy kdb.h for all architectures except
773 ix86. This allows #include <linux/kdb.h> to appear in arch independent
774 code without causing compile errors.
776 * kdb/modules/kdbm_pg: Sync with XFS.
778 2000-10-03 Keith Owens <kaos@melbourne.sgi.com>
780 * kdb/kdb_io.c (kdb_read): Ignore NMI while waiting for input.
782 * kdb/kdb_io.c, kdb/Makefile: Export kdb_read.
784 2000-10-02 Keith Owens <kaos@melbourne.sgi.com>
786 * arch/i386/kernel/smpboot.c (do_boot_cpu): Set nmi_watchdog_source to 2
787 to avoid premature NMI oops during cpu bring up. We have to assume that
788 a box with more than 1 cpu has a working IO-APIC.
790 * Documentation/kdb/{kdb.mm,kdb_md.man}: Add mdr command.
792 * kdb/kdbmain.c (kdb_md): Add mdr command.
794 * Release as kdb v1.5 against 2.4.0-test9-pre8.
796 * arch/i386/kdb/kdba_io.c, arch/i386/kdb/kdbasupport.c, kdb/kdbmain.c,
797 kdb/kdb_io.c, kdb/kdb_id.c: Remove zero initializers for static
800 2000-09-28 Keith Owens <kaos@melbourne.sgi.com>
802 * various: Add nmi_watchdog_source, 1 local APIC, 2 IO-APIC.
803 Test nmi_watchdog_source instead of nr_ioapics so UP works on SMP hardware.
805 * arch/i386/kernel/io_apic.c: Rename setup_nmi to setup_nmi_io for clarity.
807 * kdb/kdbmain.c (kdb_parse): Only set NO_WATCHDOG if it was already set.
809 * kdb/kdbmain.c (kdb): Clear NO_WATCHDOG on all exit paths.
811 * include/linux/kdb.h: Add KDB_REASON_SILENT.
813 * kdb/kdbmain.c (kdb_local): Treat reason SILENT as immediate 'go'.
815 * kdb/kdbmain.c (kdb_init): Invoke kdb with reason SILENT to instantiate
816 any breakpoints on boot cpu.
818 * arch/i386/kernel/smpboot.c (smp_callin): Invoke kdb with reason SILENT
819 to instantiate any global breakpoints on this cpu.
821 * kdb/kdb_cmds: Remove comment that said initial commands only worked on
824 2000-09-27 Keith Owens <kaos@melbourne.sgi.com>
826 * arch/i386/kernel/msr.c: Move {rd,wr}msr_eio to include/asm-i386/apic.h.
828 * include/asm-i386/apic.h: Define NMI interfaces.
830 * kernel/sysctl.c (kern_table):
831 * kernel/sysctl.c (do_proc_set_nmi_watchdog):
832 Add /proc/sys/kernel/nmi_watchdog.
834 * arch/i386/kernel/apic.c: New routines set_nmi_counter_local,
835 setup_apic_nmi_watchdog.
837 * arch/i386/kernel/traps.c: New routine set_nmi_watchdog(). Call apic
838 routines to set/clear local apic timer.
840 2000-09-26 Keith Owens <kaos@melbourne.sgi.com>
842 * include/linux/sysctl.h (enum): Add NMI_WATCHDOG.
844 * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check nmi_watchdog is
847 * arch/i386/config.in: Add CONFIG_UP_NMI_WATCHDOG.
849 * Documentation/Configure.help: Add CONFIG_UP_NMI_WATCHDOG.
851 * Documentation/nmi_watchdog.txt: Update for UP NMI watchdog.
853 2000-09-25 Keith Owens <kaos@melbourne.sgi.com>
855 * arch/i386/kernel/apic.c (init_apic_mappings):
856 * arch/i386/kernel/io_apic.c (IO_APIC_init_uniprocessor):
857 Merge Keir Fraser's local APIC for uniprocessors patch.
859 2000-09-24 Keith Owens <kaos@melbourne.sgi.com>
861 * Various: Declare initialization routines as __init.
863 * Makefile: Define and export AWK.
865 * kdb/Makefile: Generate gen-kdb_cmds.c from kdb/kdb_cmds.
867 * kdb/kdbmain.c (kdb_init): Call new routine kdb_cmds_init to execute
868 whatever the user put in kdb/kdb_cmds.
870 * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): New parameter to
871 indicate if esp in regs is known to be valid or not.
873 * kdb/kdb_bp.c, arch/i386/kdb/kdba_bp.c: More trace prints for
876 * arch/i386/kdb/kdba_bp.c (kdba_installbp): Finally found and fixed the
877 annoying breakpoint bug where breakpoints where not always installed
880 * Documentation/kdb: Update man pages kdb.mm, kdb_env.man, kdb_ss.man.
882 * Released as kdb-v1.5-beta1-2.4.0-test8.
884 * Sync to 2.4.0-test9-pre6 and release as kdb-v1.5-beta1-2.4.0-test9-pre6.
886 2000-09-23 Keith Owens <kaos@melbourne.sgi.com>
888 * arch/i386/kdb/kdbasupport.c (kdba_getregcontents): New pseudo
889 registers cesp and ceflags to help with debugging the debugger.
891 * kdb/kdbmain.c (kdb_local, kdb): Add KDB_REASON_RECURSE. Add
892 environment variable RECURSE. Add code to cope with some types of
895 * kdb/kdbmain.c (kdb), arch/i386/kdba/kdba_bp.c: Add
896 kdba_clearsinglestep.
898 2000-09-22 Keith Owens <kaos@melbourne.sgi.com>
900 * drivers/video/vgacon.c (write_vga): No cli() if kdb is running, avoid
903 * arch/i386/kernel/irq.c (get_irqlock): Warn if kdb is running, may hang.
905 * include/linux/kdb.h: Define KDB_IS_RUNNING as (0) if no CONFIG_KDB.
907 * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): Do not attempt a backtrace if
908 the code segment is not in the kernel.
910 * kdb/modules: Change modules from MX_OBJS to M_OBJS. Remove EXPORT_NOSYMBOLS.
912 2000-09-21 Keith Owens <kaos@melbourne.sgi.com>
914 * arch/i386/kernel/i386_ksyms.c: Move EXPORT_SYMBOLS for kdb to kdb/kdbmain.c.
916 * kdb/Makefile: Change kdb/kdbmain.o from O_OBJS to OX_OBJS.
918 * arch/i386/kernel/smp.c: Remove some #ifdef CONFIG_KDB. Remove kdbprivate.h.
920 * include/linux/kdb.h: Add kdb_print_state. Add KDB_STATE_WAIT_IPI.
922 * kdb/kdbmain.c (kdb): Only mark cpu as leaving if it is in KDB state. Maintain
923 WAIT_IPI state so a cpu is only driven through NMI once.
925 * arch/i386/kernel/smp.c (smp_kdb_stop): All state fiddling moved to kdb().
927 2000-09-20 Keith Owens <kaos@melbourne.sgi.com>
929 * include/linux/kdb.h: #define kdb() as (0) if kdb is not configured.
931 * arch/i386/kernel/traps.c: Remove some #ifdef CONFIG_KDB.
933 * include/linux/kdbprivate.h: Move per cpu state to kdb.h.
935 * include/linux/kdb.h: Add KDB_STATE_NO_WATCHDOG, KDB_STATE_PRINTF_LOCK.
936 Rename KDB_DEBUG_xxx to KDB_DEBUG_FLAG_xxx. Clean up debug flag
939 * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check no watchdog.
941 * kdb/kdbmain.c (kdb): Set no watchdog in normal kdb code.
943 * kdb/kdbmain.c (kdb_parse): Allow watchdog in commands.
945 * kdb/kdb_io.c (kdb_printf): No watchdog during printing. Clean up lock handling.
947 * kdb/kdbmain.c (kdb_set): Clean up debug flag handling.
949 2000-09-19 Juan J. Quintela <quintela@fi.udc.es>
951 * kdb/arch/i386/kdb/kdba_io.c: Allow kdb to compile without CONFIG_VT and/or
954 2000-09-19 Keith Owens <kaos@melbourne.sgi.com>
956 * include/linux/kdb.h: Define KDB_DEBUG_STATE().
958 * kdb/kdbmain.c (kdb): Add kdb_print_state(), calls to KDB_DEBUG_STATE().
960 2000-09-16 Keith Owens <kaos@melbourne.sgi.com>
962 * Move to finer grained control over individual processors in kdb with
963 per cpu kdb state. Needed to allow ss[b] to only release one processor,
964 previously ss[b] released all processors. Also need to recover from
965 errors inside kdb commands, e.g. oops in kdbm_pg code.
968 Move global flags KDB_FLAG_SSB, KDB_FLAG_SUPRESS, KDB_FLAG_FAULT,
969 KDB_FLAG_SS, KDB_FLAG_SSBPT, kdb_active, to per cpu state and macros
971 Replace kdb_flags & KDB_FLAG_xxx with KDB_FLAG(xxx).
972 Replace kdb_flags & KDB_DEBUG_xxx with KDB_DEBUG(xxx).
973 Replace specific tests with wrapper KDB_IS_RUNNING().
975 * various: Remove #ifdef CONFIG_SMP from kdb code wherever
976 possible. Simplifies the code and makes it much more readable.
978 * arch/i386/kdb/kdbasupport.c (kdb_setjmp): Record if we have reliable
979 longjmp data instead of assuming it is always set.
981 * various: Replace smp_kdb_wait with per cpu state, HOLD_CPU.
983 * init/main.c : Replace #ifdef KDB_DEBUG with KDB_DEBUG(CALLBACK).
985 * include/linux/kdbprivate.h: Separate command return codes from error
986 codes. Add more detailed command codes.
988 * arch/i386/kernel/traps.c (die): Change spin_lock_irq to
989 spin_lock_irqsave. Why did I do this?
991 * kdb/kdbmain.c (kdb_parse): Set per cpu flag CMD before executing kdb
992 command. More detailed return codes for commands that affect
995 * kdb/kdbmain.c (kdb_previous_event): New, check if any processors are
996 still executing the previous kdb event. Removes a race window where a
997 second event could enter kdb before the first had completely ended.
999 * kdb/kdbmain.c (kdb): Document all the concurrency conditions and how
1000 kdb handles them. ss[b] now releases only the current cpu. Do not set
1001 breakpoints when releasing for ss[b]. Recover from errors in kdb
1002 commands. Check that we have reliable longjmp data before using it.
1004 * various: Update return code documentation.
1006 * kdb/kdb_bp.c (kdb_ss): Separate ss and ssb return codes.
1008 * kdb/kdbsupport.c (kdb_ipi): Finer grained algorithm for deciding
1009 whether to call send a stop signal to a cpu.
1011 * arch/i386/kdb/kdba_bp.c (kdba_db_trap): Separate ss and ssb return
1012 codes. Reinstall delayed software breakpoints per cpu instead of
1013 globally. Changed algorithm for handling ss[b].
1015 * arch/i386/kdb/kdba_bp.c (kdba_bp_trap): Match software breakpoints per
1016 cpu instead of globally.
1018 * include/linux/kdb.h: Bump version to kdb v1.5.
1020 2000-09-16 Keith Owens <kaos@melbourne.sgi.com>
1022 * kernel/sysctl.c (kern_table): add /proc/sys/kernel/kdb.
1024 * init/main.c (parse_options): add boot flags kdb=on, kdb=off,
1027 * include/linux/sysctl.h (enum): add KERN_KDB.
1029 * drivers/char/serial.c (receive_chars): check kdb_on.
1031 * drivers/char/keyboard.c (handle_scancode): check kdb_on.
1033 * arch/i386/kernel/traps.c (nmi_watchdog_tick): check kdb_on.
1035 * arch/i386/config.in: add CONFIG_KDB_OFF.
1037 * Documentation/Configure.help: add CONFIG_KDB_OFF.
1039 * kdb/kdbmain.c: add kdb_initial_cpu, kdb_on.
1041 * kdb/kdbmain.c (kdb): check kdb_on, set kdb_initial_cpu.
1043 * kdb/kdbmain.c (kdb_init): add Keith Owens to kdb banner.
1045 * kdb/kdb_io.c (kdb_printf): serialize kdb_printf output.
1047 * kdb/kdb_bt.c (kdb_bt): check environment variable BTAPROMPT.
1049 * kdb/kdbsupport.c (kdb_ipi): ignore NMI for kdb_initial_cpu.
1051 * kdb/modules/kdbm_pg.c (kdbm_page): merge updates from 2.4.0-test5-xfs.
1053 * kdb/kdb_bt.man: add btp, bta, BTAPROMPT.
1055 * kdb/kdb.mm: add CONFIG_KDB_OFF, boot flags, btp, bta.
1057 * include/linux/kdbprivate.h: add kdb_initial_cpu.
1059 * include/linux/kdb.h: add kdb_on, bump version to kdb v1.4.