aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-20 13:57:30 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-20 13:57:30 +0000
commit0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c (patch)
tree6155c49496c95a0fb1a93f83ec36492ecca102f8 /gdb/s390-nat.c
parent601cecf016bc104dc20b12630be28d3a73767ba6 (diff)
downloadgdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.zip
gdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.tar.gz
gdb-0b1b50c059c2bcf7315c607a3f34730ce0f3bd8c.tar.bz2
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
* config/arm/nm-linux.h: Likewise. * config/arm/tm-linux.h: Likewise. * config/ia64/nm-linux.h: Likewise. * config/ia64/tm-ia64.h: Likewise. * config/s390/tm-linux.h: Likewise. * config/s390/tm-s390.h: Likewise. * s390-nat.c: Likewise. * s390-tdep.c: Likewise. * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/powerpc/linux.mh: Likewise. * config/sh/linux.mt: Likewise.
Diffstat (limited to 'gdb/s390-nat.c')
-rw-r--r--gdb/s390-nat.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 4dc8045..732cf94 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -60,20 +60,14 @@ s390_register_u_addr (int blockend, int regnum)
retval = PT_CR_9 + ((regnum - (S390_FIRST_CR + 9)) * S390_CR_SIZE);
else
{
-#ifdef GDBSERVER
- error ("s390_register_u_addr invalid regnum %s %d regnum=%d",
- __FILE__, (int) __LINE__, regnum);
-#else
internal_error (__FILE__, __LINE__,
"s390_register_u_addr invalid regnum regnum=%d",
regnum);
-#endif
retval = 0;
}
return retval + blockend;
}
-#ifndef GDBSERVER
/* watch_areas are required if you put 2 or more watchpoints on the same
address or overlapping areas gdb will call us to delete the watchpoint
more than once when we try to delete them.
@@ -362,4 +356,3 @@ fill_fpregset (fpregset_t * fpregsetp, int regno)
#error "libc files are inconsistent with linux/include/asm-s390/"
#error "3) you didn't do a completely clean build & delete config.cache."
#endif
-#endif /* GDBSERVER */