diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-04-21 19:58:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-04-21 19:58:35 +0000 |
commit | ab89facf70f7cddc4ef019ef5c249c0e6fd983f0 (patch) | |
tree | 2ef4787c7a739edc75f41e2187f610e30ef96de3 | |
parent | 82a4efa15c51958ff400c4204fe54472403d1f42 (diff) | |
download | gdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.zip gdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.tar.gz gdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.tar.bz2 |
* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
type const.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76bb45c..74d3ba9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-21 Andrew Cagney <ac131313@redhat.com> + + * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return + type const. + 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> * alphafbsd-tdep.c: Update copyright years. Include diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 3474d1f..1854710 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2111,7 +2111,7 @@ static const char arm_default_thumb_be_breakpoint[] = THUMB_BE_BREAKPOINT; memory. It is nice that this is the same size as a handle - otherwise remote-rdp will have to change. */ -unsigned char * +static const unsigned char * arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) { struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); |