aboutsummaryrefslogtreecommitdiff
path: root/gdb/ultra3-nat.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-10-19 19:54:44 +0000
committerStan Shebs <shebs@codesourcery.com>1995-10-19 19:54:44 +0000
commit987622b523bff105af2ebdfb33ef7c4c99b03def (patch)
tree797d177106419c7342998cd1e7fbb542d164303d /gdb/ultra3-nat.c
parentc24ce5e2323d93477d3503beccb88e3054bbda39 (diff)
downloadgdb-987622b523bff105af2ebdfb33ef7c4c99b03def.zip
gdb-987622b523bff105af2ebdfb33ef7c4c99b03def.tar.gz
gdb-987622b523bff105af2ebdfb33ef7c4c99b03def.tar.bz2
* Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
(MMALLOC_SRC): Define. (MMALLOC_CFLAGS): Use. (ser-mac.o): Add rule. * dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET with SEEK_SET in all calls to bfd_seek. * scm-tags.h (scm_tags): Remove excess comma.
Diffstat (limited to 'gdb/ultra3-nat.c')
-rw-r--r--gdb/ultra3-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ultra3-nat.c b/gdb/ultra3-nat.c
index ddf02dd..d63614b 100644
--- a/gdb/ultra3-nat.c
+++ b/gdb/ultra3-nat.c
@@ -250,7 +250,7 @@ fetch_core_registers ()
for (regno = 0 ; regno < NUM_REGS; regno++) {
if (!CANNOT_FETCH_REGISTER(regno)) {
- val = bfd_seek (core_bfd, (file_ptr) register_addr (regno, 0), L_SET);
+ val = bfd_seek (core_bfd, (file_ptr) register_addr (regno, 0), SEEK_SET);
if (val < 0 || (val = bfd_read (buf, sizeof buf, 1, core_bfd)) < 0) {
char * buffer = (char *) alloca (strlen (reg_names[regno]) + 35);
strcpy (buffer, "Reading core register ");