diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 19:35:30 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 19:35:30 +0000 |
commit | 0848ad1c4da297c06f56855124aaf11b2cc30c71 (patch) | |
tree | dc65b5c8708dee270cf23d0fe2a572ce6c6af45c /gdb/xcoffexec.c | |
parent | c209295fa5aa466f9eceb3167a13d9df58a33bc1 (diff) | |
download | gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.zip gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.tar.gz gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.tar.bz2 |
* stabsread.c (patch_block_stabs): If stab & no symbol, make
a LOC_OPTIMIZED_OUT symbol.
symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
findvar.c (read_var_value), printcmd.c (address_info),
symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
m2-exp.y (yylex): Deal with it.
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r-- | gdb/xcoffexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c index 0fae090..400d3cd 100644 --- a/gdb/xcoffexec.c +++ b/gdb/xcoffexec.c @@ -228,14 +228,14 @@ build_section_table (some_bfd, start, end) count = bfd_count_sections (some_bfd); if (count == 0) - abort(); /* return 1? */ + fatal ("aborting"); /* return 1? */ if (*start) free (*start); *start = (struct section_table *) xmalloc (count * sizeof (**start)); *end = *start; bfd_map_over_sections (some_bfd, add_to_section_table, (char *)end); if (*end > *start + count) - abort(); + fatal ("aborting"); /* We could realloc the table, but it probably loses for most files. */ return 0; } @@ -644,7 +644,7 @@ xfer_memory (memaddr, myaddr, len, write, target) boolean (*xfer_fn) PARAMS ((bfd *, sec_ptr, PTR, file_ptr, bfd_size_type)); if (len <= 0) - abort(); + fatal ("aborting"); memend = memaddr + len; xfer_fn = write? bfd_set_section_contents: bfd_get_section_contents; |