* 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).
This commit is contained in:
John Gilmore
1992-07-05 10:26:53 +00:00
parent a8cd562d42
commit ec8ceca3f3
5 changed files with 119 additions and 26 deletions

View File

@@ -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);
}