aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-07-12 12:11:44 +0000
committerMark Kettenis <kettenis@gnu.org>2005-07-12 12:11:44 +0000
commit22a44745e3c45871c3124196752c5b7bf0c593e3 (patch)
treee6c571992f26026173bad7ba624ffcc78e580a3f /gdb/arch-utils.c
parent2910ae96496ceef7c18aa1fc76378461a4d8f65b (diff)
downloadfsf-binutils-gdb-22a44745e3c45871c3124196752c5b7bf0c593e3.zip
fsf-binutils-gdb-22a44745e3c45871c3124196752c5b7bf0c593e3.tar.gz
fsf-binutils-gdb-22a44745e3c45871c3124196752c5b7bf0c593e3.tar.bz2
* objc-lang.c (print_object_command): Use gdb_byte for c.
* arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for registers.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 5a59637..1a38bec 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -1,7 +1,7 @@
/* Dynamic architecture support for GDB, the GNU debugger.
- Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
- Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -43,7 +43,7 @@ void
legacy_extract_return_value (struct type *type, struct regcache *regcache,
gdb_byte *valbuf)
{
- char *registers = deprecated_grub_regcache_for_registers (regcache);
+ gdb_byte *registers = deprecated_grub_regcache_for_registers (regcache);
gdb_byte *buf = valbuf;
DEPRECATED_EXTRACT_RETURN_VALUE (type, registers, buf); /* OK */
}