From 0e05dfcb73454a6a3531b92544a1eebd2910a98f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 1 Feb 2010 16:57:01 +0000 Subject: [PATCH] * gdbarch.sh: Set LANG and LC_ALL to C, not c. (remote_breakpoint_for_pc): Correct invalid_p check. * gdbarch.c: Regenerated. --- gdb/ChangeLog | 6 ++++++ gdb/gdbarch.c | 3 +-- gdb/gdbarch.sh | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6ce4ad7a26..1ae60d4ed9b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-02-01 Daniel Jacobowitz + + * 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 * arm-tdep.c (arm_find_mapping_symbol): New function, from diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index e0736761891..6448fc39908 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 6bcf473e130..e1d3ff5b331 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 -- 2.30.2