diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbarch.c | 3 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6ce4ad..1ae60d4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> + * gdbarch.sh: Set LANG and LC_ALL to C, not c. + (remote_breakpoint_for_pc): Correct invalid_p check. + * gdbarch.c: Regenerated. + +2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> + * arm-tdep.c (arm_find_mapping_symbol): New function, from arm_pc_is_thumb. (arm_pc_is_thumb): Use arm_find_mapping_symbol. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index e073676..6448fc3 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -596,8 +596,7 @@ verify_gdbarch (struct gdbarch *gdbarch) fprintf_unfiltered (log, "\n\tinner_than"); if (gdbarch->breakpoint_from_pc == 0) fprintf_unfiltered (log, "\n\tbreakpoint_from_pc"); - if (gdbarch->remote_breakpoint_from_pc == default_remote_breakpoint_from_pc) - fprintf_unfiltered (log, "\n\tremote_breakpoint_from_pc"); + /* Skip verify of remote_breakpoint_from_pc, invalid_p == 0 */ /* Skip verify of adjust_breakpoint_address, has predicate */ /* Skip verify of memory_insert_breakpoint, invalid_p == 0 */ /* Skip verify of memory_remove_breakpoint, invalid_p == 0 */ diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 6bcf473..e1d3ff5 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -22,8 +22,8 @@ # Make certain that the script is not running in an internationalized # environment. -LANG=c ; export LANG -LC_ALL=c ; export LC_ALL +LANG=C ; export LANG +LC_ALL=C ; export LC_ALL compare_new () @@ -489,7 +489,7 @@ m:const gdb_byte *:breakpoint_from_pc:CORE_ADDR *pcptr, int *lenptr:pcptr, lenpt # Return the adjusted address and kind to use for Z0/Z1 packets. # KIND is usually the memory length of the breakpoint, but may have a # different target-specific meaning. -m:void:remote_breakpoint_from_pc:CORE_ADDR *pcptr, int *kindptr:pcptr, kindptr::default_remote_breakpoint_from_pc: +m:void:remote_breakpoint_from_pc:CORE_ADDR *pcptr, int *kindptr:pcptr, kindptr:0:default_remote_breakpoint_from_pc::0 M:CORE_ADDR:adjust_breakpoint_address:CORE_ADDR bpaddr:bpaddr m:int:memory_insert_breakpoint:struct bp_target_info *bp_tgt:bp_tgt:0:default_memory_insert_breakpoint::0 m:int:memory_remove_breakpoint:struct bp_target_info *bp_tgt:bp_tgt:0:default_memory_remove_breakpoint::0 |