diff options
author | John Gilmore <gnu@cygnus> | 1992-01-28 02:57:37 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-01-28 02:57:37 +0000 |
commit | c55e616795e1b472543b22ae5c67da86976f529b (patch) | |
tree | 7a112a21c1cb0a8fbb2f9ca964c437c168aa95a8 /gdb/ChangeLog | |
parent | f005e85b88b980a7bf632f894fab61b597a05f1a (diff) | |
download | gdb-c55e616795e1b472543b22ae5c67da86976f529b.zip gdb-c55e616795e1b472543b22ae5c67da86976f529b.tar.gz gdb-c55e616795e1b472543b22ae5c67da86976f529b.tar.bz2 |
Handle debug symbols in dynamically loaded (relocated) code:
* dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
offset to process_one_symbol.
(process_one_symbol): Take new offset parameter. Add it into
appropriate symbol types to relocate symbols to loaded addresses.
Handle all possible symbol types, and complain() about types that
we don't expect to see.
* mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
process_one_symbol (FIXME, should pass real offset).
Misc bugfixes:
* breakpoint.c (resolve_sal_pc): Split out code to resolve a
sal's PC value.
(set_breakpoint, break_command_1, until_break_command,
catch_command_1, breakpoint_re_set_one): Use it.
(breakpoint_re_set_one): Disable bkpts that don't re-set cleanly.
(breakpoint_re_set): Mention breakpoint number in error messages.
* symtab.h (resolve_sal_pc): Declare.
* infcmd.c (jump_command): Use resolve_sal_pc.
* source.c (find_source_lines): Avoid "Source file is more
recent than executable" when bfd_get_mtime gives 0.
(list_command): Shorten "FILE, line N" to "FILE:N".
* putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc5cfb1..fa9c923 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,15 +1,36 @@ -Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com) +Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com) - * dbxread.c (process_one_symbol): Make a first cut at handling - symbol tables generated by Suns acc. + Handle debug symbols in dynamically loaded (relocated) code: - * symtab.c (find_pc_line): Fix stepping into and out of #included - files. + * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass + offset to process_one_symbol. + (process_one_symbol): Take new offset parameter. Add it into + appropriate symbol types to relocate symbols to loaded addresses. + Handle all possible symbol types, and complain() about types that + we don't expect to see. + * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to + process_one_symbol (FIXME, should pass real offset). -Mon Jan 27 13:43:26 1992 John Gilmore (gnu at cygnus.com) + Misc bugfixes: + + * breakpoint.c (resolve_sal_pc): Split out code to resolve a + sal's PC value. + (set_breakpoint, break_command_1, until_break_command, + catch_command_1, breakpoint_re_set_one): Use it. + (breakpoint_re_set_one): Disable bkpts that don't re-set cleanly. + (breakpoint_re_set): Mention breakpoint number in error messages. + * symtab.h (resolve_sal_pc): Declare. + * infcmd.c (jump_command): Use resolve_sal_pc. + + * source.c (find_source_lines): Avoid "Source file is more + recent than executable" when bfd_get_mtime gives 0. + (list_command): Shorten "FILE, line N" to "FILE:N". + + * putenv.c (putenv): Avoid unportably casting pointers to unsigneds. * buildsym.c (read_struct_type): Circumvent sun3 sunos "--" compiler bug. + * c-exp.y (yylex): `this' and `template' are only tokens in C++. * target.c (target_xfer_memory): Return errno in preference to EIO. @@ -18,6 +39,14 @@ Mon Jan 27 13:43:26 1992 John Gilmore (gnu at cygnus.com) xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h: Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines. +Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com) + + * dbxread.c (process_one_symbol): Make a first cut at handling + symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.) + + * symtab.c (find_pc_line): Fix stepping into and out of #included + files. + Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com) * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is |