mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
* lib/gdb.exp (gdb_wrapper_init): Just because gdb_wrapper_file exists, this does not mean that the file should not be rebuilt. That is what gdb_wrapper_initialized is for. (default_gdb_init): Reset gdb_wrapper_initialized.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (gdb_wrapper_init): Just because
|
||||||
|
gdb_wrapper_file exists, this does not mean that the file
|
||||||
|
should not be rebuilt. That is what gdb_wrapper_initialized
|
||||||
|
is for.
|
||||||
|
(default_gdb_init): Reset gdb_wrapper_initialized.
|
||||||
|
|
||||||
2002-05-23 Michael Snyder <msnyder@redhat.com>
|
2002-05-23 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* gdb.base/all-bin.exp: Revise previous patch by just reducing
|
* gdb.base/all-bin.exp: Revise previous patch by just reducing
|
||||||
|
@ -1119,8 +1119,7 @@ proc gdb_wrapper_init { args } {
|
|||||||
if { $gdb_wrapper_initialized == 1 } { return; }
|
if { $gdb_wrapper_initialized == 1 } { return; }
|
||||||
|
|
||||||
if {[target_info exists needs_status_wrapper] && \
|
if {[target_info exists needs_status_wrapper] && \
|
||||||
[target_info needs_status_wrapper] != "0" && \
|
[target_info needs_status_wrapper] != "0"} {
|
||||||
![info exists gdb_wrapper_file]} {
|
|
||||||
set result [build_wrapper "testglue.o"];
|
set result [build_wrapper "testglue.o"];
|
||||||
if { $result != "" } {
|
if { $result != "" } {
|
||||||
set gdb_wrapper_file [lindex $result 0];
|
set gdb_wrapper_file [lindex $result 0];
|
||||||
@ -1390,8 +1389,14 @@ proc gdb_continue { function } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
proc default_gdb_init { args } {
|
proc default_gdb_init { args } {
|
||||||
|
global gdb_wrapper_initialized
|
||||||
|
|
||||||
gdb_clear_suppressed;
|
gdb_clear_suppressed;
|
||||||
|
|
||||||
|
# Make sure that the wrapper is rebuilt
|
||||||
|
# with the appropriate multilib option.
|
||||||
|
set gdb_wrapper_initialized 0
|
||||||
|
|
||||||
# Uh, this is lame. Really, really, really lame. But there's this *one*
|
# Uh, this is lame. Really, really, really lame. But there's this *one*
|
||||||
# testcase that will fail in random places if we don't increase this.
|
# testcase that will fail in random places if we don't increase this.
|
||||||
match_max -d 20000
|
match_max -d 20000
|
||||||
|
Reference in New Issue
Block a user