diff options
author | Michael Snyder <msnyder@specifix.com> | 2000-04-27 15:33:01 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2000-04-27 15:33:01 +0000 |
commit | 17a304cef8a97b99d825e2488627034f0074cd1e (patch) | |
tree | b7097ad33e60fc237ad6d8e02fd8141fdf00bfa8 /gdb/findvar.c | |
parent | 04d9d094d02e638021528076f6b6ef56d0534f82 (diff) | |
download | gdb-17a304cef8a97b99d825e2488627034f0074cd1e.tar.gz |
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
* jv-valprint.c (java_val_print): Add arg declaration,
fix compiler warning.
* corelow.c (core_open): Call set_gdbarch_from_file so that
gdbarch becomes aware of the architecture encoded in the
corefile.
* findvar.c (write_register_gen): Export this useful interface.
* value.h (write_register_gen): Declare.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 3f3721f5bc5..5ee099ba946 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -42,9 +42,12 @@ const struct floatformat floatformat_unknown; #define CANNOT_STORE_REGISTER(regno) 0 #endif -static void write_register_gen PARAMS ((int, char *)); +void write_register_gen PARAMS ((int, char *)); -static int read_relative_register_raw_bytes_for_frame PARAMS ((int regnum, char *myaddr, struct frame_info * frame)); +static int +read_relative_register_raw_bytes_for_frame PARAMS ((int regnum, + char *myaddr, + struct frame_info *frame)); /* Basic byte-swapping routines. GDB has needed these for a long time... All extract a target-format integer at ADDR which is LEN bytes long. */ @@ -777,7 +780,7 @@ read_register_gen (regno, myaddr) /* Write register REGNO at MYADDR to the target. MYADDR points at REGISTER_RAW_BYTES(REGNO), which must be in target byte-order. */ -static void +void write_register_gen (regno, myaddr) int regno; char *myaddr; |