From 0848ad1c4da297c06f56855124aaf11b2cc30c71 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 2 Apr 1993 19:35:30 +0000 Subject: * 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. --- gdb/xcoffexec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/xcoffexec.c') 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; -- cgit v1.1