diff options
author | Tom Tromey <tromey@redhat.com> | 2012-03-01 18:25:19 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-03-01 18:25:19 +0000 |
commit | 132c57b47776e318422661c6f9196dc92d96335a (patch) | |
tree | 8987ac9db9409ccd55da3ce9a7aa7c115d9efa37 /gdb/valprint.h | |
parent | e41eec6613d4f4410b58159f2b3d23f3414be8d5 (diff) | |
download | gdb-132c57b47776e318422661c6f9196dc92d96335a.zip gdb-132c57b47776e318422661c6f9196dc92d96335a.tar.gz gdb-132c57b47776e318422661c6f9196dc92d96335a.tar.bz2 |
* c-valprint.c (print_function_pointer_address): Move...
* valprint.c: ... here. Make non-static.
* m2-valprint.c (print_function_pointer_address): Remove.
* valprint.h (print_function_pointer_address): Declare.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r-- | gdb/valprint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index a34d09b..234a18a 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -148,6 +148,11 @@ extern void print_hex_chars (struct ui_file *, const gdb_byte *, extern void print_char_chars (struct ui_file *, struct type *, const gdb_byte *, unsigned int, enum bfd_endian); +extern void print_function_pointer_address (struct gdbarch *gdbarch, + CORE_ADDR address, + struct ui_file *stream, + int addressprint); + int read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit, enum bfd_endian byte_order, gdb_byte **buffer, int *bytes_read); |