From 78b119cb5dbfe838fa6ecfedba96bd5c04064514 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 22 Jun 2002 00:05:59 +0000 Subject: [PATCH] Remove some vestiges of Harris 88k support. * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k register numbering quirk. * elfread.c (elf_symtab_read): Remove `#if' block for skipping odd symbols occurring in Harris 88k ELF targets. --- gdb/ChangeLog | 8 ++++++++ gdb/dwarf2read.c | 6 ------ gdb/elfread.c | 11 ----------- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 07664a245bd..1fc1844c6d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2002-06-21 Jim Blandy + + Remove some vestiges of Harris 88k support. + * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k + register numbering quirk. + * elfread.c (elf_symtab_read): Remove `#if' block for skipping + odd symbols occurring in Harris 88k ELF targets. + 2002-06-21 Tom Tromey * gdb_locale.h: New file. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9fa8fb3c463..484561c9148 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6235,12 +6235,6 @@ decode_locdesc (struct dwarf_block *blk, struct objfile *objfile, isreg = 1; unsnd = read_unsigned_leb128 (NULL, (data + i), &bytes_read); i += bytes_read; -#if defined(HARRIS_TARGET) && defined(_M88K) - /* The Harris 88110 gdb ports have long kept their special reg - numbers between their gp-regs and their x-regs. This is - not how our dwarf is generated. Punt. */ - unsnd += 6; -#endif stack[++stacki] = unsnd; break; diff --git a/gdb/elfread.c b/gdb/elfread.c index e76cd0d4a35..9b0718e1d40 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -364,17 +364,6 @@ elf_symtab_read (struct objfile *objfile, int dynamic) should be harmless (but I encourage people to fix this in the assembler instead of adding checks here). */ continue; -#ifdef HARRIS_TARGET - else if (sym->name[0] == '.' && sym->name[1] == '.') - { - /* Looks like a Harris compiler generated label for the - purpose of marking instructions that are relevant to - DWARF dies. The assembler can't get rid of these - because they are relocatable addresses that the - linker needs to resolve. */ - continue; - } -#endif else { ms_type = mst_file_text; -- 2.30.2