aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/unload.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-02-26 08:14:11 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-02-26 08:14:11 +0000
commit54e52265e21981a41ef297b0733bf2cb8eb9fc69 (patch)
treebad52cf32e5e62d00489b457a3d4df2c11ce1d84 /gdb/testsuite/gdb.base/unload.exp
parent5ee461eeda97efb928944b46920db71f495bf7f4 (diff)
downloadgdb-54e52265e21981a41ef297b0733bf2cb8eb9fc69.zip
gdb-54e52265e21981a41ef297b0733bf2cb8eb9fc69.tar.gz
gdb-54e52265e21981a41ef297b0733bf2cb8eb9fc69.tar.bz2
* breakpoint.c (print_one_breakpoint_location): Revert Enb field
to old format. Discard breakpoint address if shared library is unloaded. (breakpoint_1): Adjust formatting of table header accordingly.
Diffstat (limited to 'gdb/testsuite/gdb.base/unload.exp')
-rw-r--r--gdb/testsuite/gdb.base/unload.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp
index 55d5ff7..5ce1aaa 100644
--- a/gdb/testsuite/gdb.base/unload.exp
+++ b/gdb/testsuite/gdb.base/unload.exp
@@ -81,8 +81,8 @@ gdb_test_multiple "break shrfunc1" "set pending breakpoint" {
}
gdb_test "info break" \
- "Num Type\[ \]+Disp Enb Address\[ \]+What.*
-\[0-9\]+\[\t \]+breakpoint keep y\\(p\\).*PENDING.*shrfunc1.*" \
+ "Num Type\[ \]+Disp Enb Address\[ \]+What.*
+\[0-9\]+\[\t \]+breakpoint keep y.*PENDING.*shrfunc1.*" \
"single pending breakpoint info"
set unloadshr_line [gdb_get_line_number "unloadshr break" ${libsrcfile}]