mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 20:14:06 +08:00
Error while loading core file on mips-irix.
* solib-irix.c (irix_solib_create_inferior_hook): Do nothing if debugging from a core file.
This commit is contained in:
parent
b2391021b6
commit
11377e6835
@ -1,3 +1,9 @@
|
||||
2010-01-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Error while loading core file on mips-irix.
|
||||
* solib-irix.c (irix_solib_create_inferior_hook): Do nothing
|
||||
if debugging from a core file.
|
||||
|
||||
2010-01-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
GDB hangs when attaching to process on mips-irix.
|
||||
|
@ -449,6 +449,11 @@ irix_solib_create_inferior_hook (int from_tty)
|
||||
if (inf->attach_flag)
|
||||
return;
|
||||
|
||||
/* Likewise when debugging from a core file, the shared libraries
|
||||
have already been mapped, so nothing more to do. */
|
||||
if (!target_can_run (¤t_target))
|
||||
return;
|
||||
|
||||
if (!enable_break ())
|
||||
{
|
||||
warning (_("shared library handler failed to enable breakpoint"));
|
||||
|
Loading…
Reference in New Issue
Block a user