2012-10-26 Pedro Alves <palves@redhat.com>
* infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
This commit is contained in:
parent
31f7d8fd19
commit
fed708ed1e
|
@ -1,3 +1,8 @@
|
||||||
|
2012-10-26 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED
|
||||||
|
as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
|
||||||
|
|
||||||
2012-10-24 Tristan Gingold <gingold@adacore.com>
|
2012-10-24 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers):
|
* ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers):
|
||||||
|
|
|
@ -3424,7 +3424,12 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||||
case TARGET_WAITKIND_FORKED:
|
case TARGET_WAITKIND_FORKED:
|
||||||
case TARGET_WAITKIND_VFORKED:
|
case TARGET_WAITKIND_VFORKED:
|
||||||
if (debug_infrun)
|
if (debug_infrun)
|
||||||
fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_FORKED\n");
|
{
|
||||||
|
if (ecs->ws.kind == TARGET_WAITKIND_FORKED)
|
||||||
|
fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_FORKED\n");
|
||||||
|
else
|
||||||
|
fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_VFORKED\n");
|
||||||
|
}
|
||||||
|
|
||||||
/* Check whether the inferior is displaced stepping. */
|
/* Check whether the inferior is displaced stepping. */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue