some known bugs in gdb, if you are into bug-hunting.
-Update the TODO list with all the lists of gdb bugs lying around on paper.
-
-"share" command should not need to be manually run. It should be run
-as soon as possible, automatically, both on "run" and on core files.
-
It should be possible to use symbols from shared libraries before we know
exactly where the libraries will be loaded. E.g. "b perror" before running
the program. This could maybe be done as an extension of the "breakpoint
one(s) there should be removed when we have to step over one. Support
breakpoints that don't have to be removed to step over them.
-Speed up watchpoints by not single-stepping them, but do something
-faster like single-line execution. Speed them up tremendously on
-machines that have watchpoint registers.
+Speed up watchpoints by using debug registers, page table diddling (on
+SunOS4, can call mprotect() in the inferior; on other machines can do
+something simpler), etc.
-Update gdb-int.texinfo to include doc on the directory structure and
+Update gdbint.texinfo to include doc on the directory structure and
the various tricks of building gdb.
Do a tutorial in gdb.texinfo on how to do simple things in gdb.
See if coredep.c's fetch_core_registers can be used on more machines.
E.g. MIPS (mips-xdep.c).
-coredep.c is completely broken. Needs work just to compile, it uses
-"u" and doesn't declare it, etc.
-
unpack_double() does not handle IEEE float on the target unless the host
is also IEEE. Death on a vax.
-Test cross-debugging Unix-to-Unix.
-
-Check the RAPP remote protocol. What is it? It's in Makefile.in
-and one ChangeLog entry.
-
Set up interface between GDB and INFO so that you can hop into interactive
INFO and back out again. When running under Emacs, should use Emacs
info, else fork the info program. Installation of GDB should install
Remove the VTBL internal guts from printouts of C++ structs, unless
vtblprint is set.
-Remove "at 0xnnnn" from the "b foo" response, if !addressprint and if
+Remove "at 0xnnnn" from the "b foo" response, if `print address off' and if
it matches the source line indicated.
The prompt at end of screen should accept space as well as CR.
vtblprint of a vtbl should demangle the names it's printing.
Backtrace should point out what the currently selected frame is, in its
-display, perhaps showing ">3 foo (bar, ...)" rather than "#3 foo (bar, ...)".
+display, perhaps showing "@3 foo (bar, ...)" rather than "#3 foo (bar, ...)".
"i program" should work for core files, and display more info, like what
actually caused it to die.
call functions in the child, and while there, the child is interrupted
with a signal, or hits a breakpoint.)
-Symbol completion with TAB does not unmangle names!
-
help completion, help history should work.
-Symbol completion doesn't handle e.g. W::f. (symtab.c,
-make_symbol_completion_list).
-
Check that we can handle stack trace through varargs AND alloca in same
function, on 29K.
"i frame" shows wrong "arglist at" location, doesn't show where the args
should be found, only their actual values.
-Symbolic display of addrs, (& disassembly prefixes), don't show static
-fns, e.g. enable_command in gdb.
-
-'ptype yylval' ==> "union YYSTYPE { ..... }". However, it is not a
-union YYSTYPE, but is simply a YYSTYPE, which is a typedef for an
-unnamed union.
-
There should be a way for "set" commands to validate the new setting
before it takes effect.
should end up coming back the same (modulo transformation comments)
if fed to "gas" then the .o is fed to gdb for disassembly.
-Merge the xxx-opcode.h files with gas again...
-
Eliminate all the core_file_command's in all the xdep files.
Eliminate separate declarations of registers[] everywhere.
Line numbers are off in some spots. In proceed() at 1st "oneproc = 1",
it seems to run that statement, but it doesn't actually.
-Perhaps move the tdep and xdep files, and the tm and xm files, into a config
-subdirectory. If not, at least straighten out their names so that
+Perhaps move the tdep, xdep, and nat files, into the config
+subdirectories. If not, at least straighten out their names so that
they all start with the machine name.
inferior_status should include stop_print_frame. It won't need to be
Make sure we can handle executables with no symbol info, e.g. /bin/csh.
-We should be able to write to executables that aren't running.
-
We should be able to write to random files at hex offsets like adb.
Make "target xxx" command interruptible.
for ANSI C and consistency on arrays and functions.
For "float point[15];":
ptype &point[4] ==> Attempt to take address of non-lvalue.
-p &point[4] ==> Dereferences point[4] rather than giving you point+4.
For "char *malloc();":
ptype malloc ==> "char *()"; should be same as
ptype &malloc ==> "char *(*)()"