diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-20 03:03:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-20 03:03:40 +0000 |
commit | 3a42e9d0622736d6ad84c37a2d4f4f54a0c30469 (patch) | |
tree | 46b6e47111b8b25da564e47bbe2cac0b0d8bdaa3 /gdb/ultra3-nat.c | |
parent | 6bac1f11325a9debaf36f471dec1f93b839001b7 (diff) | |
download | gdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.zip gdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.tar.gz gdb-3a42e9d0622736d6ad84c37a2d4f4f54a0c30469.tar.bz2 |
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.
Diffstat (limited to 'gdb/ultra3-nat.c')
-rw-r--r-- | gdb/ultra3-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ultra3-nat.c b/gdb/ultra3-nat.c index 3b73680..e38a42f 100644 --- a/gdb/ultra3-nat.c +++ b/gdb/ultra3-nat.c @@ -273,7 +273,7 @@ /* OBSOLETE if (!CANNOT_FETCH_REGISTER (regno)) */ /* OBSOLETE { */ /* OBSOLETE val = bfd_seek (core_bfd, (file_ptr) register_addr (regno, 0), SEEK_SET); */ -/* OBSOLETE if (val < 0 || (val = bfd_read (buf, sizeof buf, 1, core_bfd)) < 0) */ +/* OBSOLETE if (val != 0 || (val = bfd_bread (buf, sizeof buf, core_bfd)) != sizeof buf) */ /* OBSOLETE { */ /* OBSOLETE char *buffer = (char *) alloca (strlen (REGISTER_NAME (regno)) + 35); */ /* OBSOLETE strcpy (buffer, "Reading core register "); */ |