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/dbxread.c | |
parent | a8cd562d42ca1c0d6d6d74028853d8418159e509 (diff) | |
download | ppe42-binutils-ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc.tar.gz ppe42-binutils-ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc.zip |
* 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/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index d938f5ebb9..9672343561 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1929,9 +1929,19 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile) define_symbol (valu, name, desc, type, objfile); break; + /* We use N_OPT to carry the gcc2_compiled flag. Sun uses it + for a bunch of other flags, too. Someday we may parse their + flags; for now we ignore theirs and hope they'll ignore ours. */ + case N_OPT: /* Solaris 2: Compiler options */ + if (name) + { + if (!strcmp (name, GCC2_COMPILED_FLAG_SYMBOL)) + processing_gcc_compilation = 1; + } + break; + /* The following symbol types can be ignored. */ case N_OBJ: /* Solaris 2: Object file dir and name */ - case N_OPT: /* Solaris 2: Optimization level? */ /* N_UNDF: Solaris 2: file separator mark */ /* N_UNDF: -- we will never encounter it, since we only process one file's symbols at once. */ |