diff options
author | John Gilmore <gnu@cygnus> | 1992-07-05 10:26:53 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-07-05 10:26:53 +0000 |
commit | ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc (patch) | |
tree | 56f502db0dbe679abc8392512ae6e0e73be62702 /gdb/buildsym.c | |
parent | a8cd562d42ca1c0d6d6d74028853d8418159e509 (diff) | |
download | fsf-binutils-gdb-ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc.zip fsf-binutils-gdb-ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc.tar.gz fsf-binutils-gdb-ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc.tar.bz2 |
* buildsym.c (finish_block): Fix thinko `inner block' complaints.
* dbxread.c (process_one_symbol): Parse N_OPT "gcc2_compiled.".
* procfs.c (proc_set_exec_trap): Set run-on-last-close flag on
child processes, to avoid dead ones "hanging around" after GDB exits.
(attach): Always stop the process if it needs it. Set RLC flag
when attaching running processes, so it will continue if we detach
it, quit, or are killed.
(detach): Clear faults and set RLC flag to make process run
when we close it.
(open_proc_file): New `mode' argument for O_RDONLY or O_RDWR.
Callers changed.
(info_proc): Open process O_RDONLY, so we can see any process,
even those controlled by debuggers.
* tm-sun4sol2.h (SUN_FIXED_LBRAC_BUG): They did (in Sol 2).
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 7fb2c50..2a7ea38 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -450,8 +450,10 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) amount of time. */ if (BLOCK_START (pblock->block) < BLOCK_START (block) || BLOCK_END (pblock->block) > BLOCK_END (block)) { - complain(symbol? &innerblock_complaint : &innerblock_anon_complaint, - SYMBOL_NAME (symbol)); + if (symbol) + complain(&innerblock_complaint, SYMBOL_NAME (symbol)); + else + complain(&innerblock_anon_complaint, 0); BLOCK_START (pblock->block) = BLOCK_START (block); BLOCK_END (pblock->block) = BLOCK_END (block); } |