diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-12-23 22:24:51 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-12-23 22:24:51 +0000 |
commit | 859825b8578d03e0fd93ec5946297c6c8bc2e637 (patch) | |
tree | de48e7a914ac2b25d9e031de6bba6eee255c4b57 /bfd | |
parent | f747b78daab5cdb984599facaff322ee9cdfa49b (diff) | |
download | gdb-859825b8578d03e0fd93ec5946297c6c8bc2e637.zip gdb-859825b8578d03e0fd93ec5946297c6c8bc2e637.tar.gz gdb-859825b8578d03e0fd93ec5946297c6c8bc2e637.tar.bz2 |
gdb/
* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
(print_breakpoint_location): New comment. Check LOC->SHLIB_DISABLED.
Check LOC validity before printing it. Use LOC instead of B->LOC.
Swap the if conditionals order.
gdb/testsuite/
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label. New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it. Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions