aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-14 06:07:42 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-14 06:07:42 +0000
commitb60c417a185258335c81f3d531cc0bba01763a52 (patch)
tree2c95321b5eb77ad915ed8ca4180c490db936c8b1 /gdb/inferior.h
parent1fe44d798603c762f0c3570717a7741d82d9de9b (diff)
downloadfsf-binutils-gdb-b60c417a185258335c81f3d531cc0bba01763a52.zip
fsf-binutils-gdb-b60c417a185258335c81f3d531cc0bba01763a52.tar.gz
fsf-binutils-gdb-b60c417a185258335c81f3d531cc0bba01763a52.tar.bz2
2005-05-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (pseudo_register_read, pseudo_register_write) (value_to_register, register_to_value, pointer_to_address) (address_to_pointer, return_value, extract_return_value) (store_return_value): Instead of a void pointer, use gdb_byte. * gdbarch.h, gdbarch.c: Regenerate. * inferior.h (unsigned_address_to_pointer) (signed_pointer_to_address, address_to_signed_pointer) (unsigned_pointer_to_address): Update. * arch-utils.h (legacy_return_value): * arch-utils.c (legacy_extract_return_value) (legacy_return_value): Update. * findvar.c (unsigned_pointer_to_address) (signed_pointer_to_address, unsigned_address_to_pointer) (address_to_signed_pointer): Update.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index bb0023a..4fbfcde 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -177,13 +177,13 @@ extern void generic_target_write_pc (CORE_ADDR, ptid_t);
extern CORE_ADDR read_sp (void);
-extern CORE_ADDR unsigned_pointer_to_address (struct type *type, const void *buf);
-
-extern void unsigned_address_to_pointer (struct type *type, void *buf,
+extern CORE_ADDR unsigned_pointer_to_address (struct type *type,
+ const gdb_byte *buf);
+extern void unsigned_address_to_pointer (struct type *type, gdb_byte *buf,
CORE_ADDR addr);
extern CORE_ADDR signed_pointer_to_address (struct type *type,
- const void *buf);
-extern void address_to_signed_pointer (struct type *type, void *buf,
+ const gdb_byte *buf);
+extern void address_to_signed_pointer (struct type *type, gdb_byte *buf,
CORE_ADDR addr);
extern void wait_for_inferior (void);