2011-05-24 Pedro Alves <pedro@codesourcery.com>
gdb/ * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting shared library event breakpoint if there's no execution. gdb/testsuite/ * gdb.trace/tfile.exp: Add test that opening the basic.tf trace file doesn't error, using MI.
This commit is contained in:
parent
77bc418a4b
commit
c91c8c1612
@ -1,3 +1,8 @@
|
|||||||
|
2011-05-24 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting
|
||||||
|
shared library event breakpoint if there's no execution.
|
||||||
|
|
||||||
2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||||
|
|
||||||
* breakpont.c (remove_hw_watchpoints): Remove unused function.
|
* breakpont.c (remove_hw_watchpoints): Remove unused function.
|
||||||
|
@ -2188,6 +2188,11 @@ svr4_solib_create_inferior_hook (int from_tty)
|
|||||||
/* Relocate the main executable if necessary. */
|
/* Relocate the main executable if necessary. */
|
||||||
svr4_relocate_main_executable ();
|
svr4_relocate_main_executable ();
|
||||||
|
|
||||||
|
/* No point setting a breakpoint in the dynamic linker if we can't
|
||||||
|
hit it (e.g., a core file, or a trace file). */
|
||||||
|
if (!target_has_execution)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!svr4_have_link_map_offsets ())
|
if (!svr4_have_link_map_offsets ())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2011-05-24 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.trace/tfile.exp: Add test that opening the basic.tf trace
|
||||||
|
file doesn't error, using MI.
|
||||||
|
|
||||||
2011-05-23 Tom Tromey <tromey@redhat.com>
|
2011-05-23 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* gdb.base/charset.exp (string_display): Add tests to assign to
|
* gdb.base/charset.exp (string_display): Add tests to assign to
|
||||||
|
@ -116,3 +116,8 @@ Collected 0 trace frame.*
|
|||||||
Trace buffer has 256 bytes of 4096 bytes free \\(93% full\\).*
|
Trace buffer has 256 bytes of 4096 bytes free \\(93% full\\).*
|
||||||
Not looking at any trace frame.*" \
|
Not looking at any trace frame.*" \
|
||||||
"tstatus on error trace file"
|
"tstatus on error trace file"
|
||||||
|
|
||||||
|
# Make sure we can reopen without error.
|
||||||
|
gdb_test \
|
||||||
|
"interpreter-exec mi \"-target-select tfile basic.tf\"" \
|
||||||
|
"\\^connected.*"
|
||||||
|
Loading…
Reference in New Issue
Block a user