mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 10:24:55 +00:00
2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
Bring mi-support in line with gdb.exp. * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start. (mi_gdb_start): New function.
This commit is contained in:
parent
e741f4d4e4
commit
79732189ea
@ -1,3 +1,9 @@
|
||||
2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
|
||||
|
||||
Bring mi-support in line with gdb.exp.
|
||||
* lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
|
||||
(mi_gdb_start): New function.
|
||||
|
||||
2008-03-28 Maciej W. Rozycki <macro@mips.com>
|
||||
|
||||
* gdb.mi/mi-var-cmd.exp: Fix a typo.
|
||||
|
@ -84,7 +84,7 @@ proc mi_uncatched_gdb_exit {} {
|
||||
}
|
||||
|
||||
#
|
||||
# mi_gdb_start [INFERIOR_PTY] -- start gdb running, default procedure
|
||||
# default_mi_gdb_start [INFERIOR_PTY] -- start gdb running, default procedure
|
||||
#
|
||||
# INFERIOR_PTY should be set to separate-inferior-tty to have the inferior work
|
||||
# with it's own PTY. If set to same-inferior-tty, the inferior shares GDB's PTY.
|
||||
@ -94,7 +94,7 @@ proc mi_uncatched_gdb_exit {} {
|
||||
# tests on different hosts all using the same server, things can
|
||||
# get really slow. Give gdb at least 3 minutes to start up.
|
||||
#
|
||||
proc mi_gdb_start { args } {
|
||||
proc default_mi_gdb_start { args } {
|
||||
global verbose
|
||||
global GDB
|
||||
global GDBFLAGS
|
||||
@ -230,6 +230,14 @@ proc mi_gdb_start { args } {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#
|
||||
# Overridable function. You can override this function in your
|
||||
# baseboard file.
|
||||
#
|
||||
proc mi_gdb_start { args } {
|
||||
return [default_mi_gdb_start $args]
|
||||
}
|
||||
|
||||
# Many of the tests depend on setting breakpoints at various places and
|
||||
# running until that breakpoint is reached. At times, we want to start
|
||||
# with a clean-slate with respect to breakpoints, so this utility proc
|
||||
|
Loading…
x
Reference in New Issue
Block a user