mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
Internal error while loading core on alpha-tru64.
* corelow.c (core_open): Delete unused local variables. Use inferior_appeared instead of add_inferior_silent.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2009-12-31 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
Internal error while loading core on alpha-tru64.
|
||||||
|
* corelow.c (core_open): Delete unused local variables.
|
||||||
|
Use inferior_appeared instead of add_inferior_silent.
|
||||||
|
|
||||||
2009-12-30 Stan Shebs <stan@codesourcery.com>
|
2009-12-30 Stan Shebs <stan@codesourcery.com>
|
||||||
|
|
||||||
* tracepoint.c (trace_status_command): Add some status output.
|
* tracepoint.c (trace_status_command): Add some status output.
|
||||||
@ -8,6 +14,11 @@
|
|||||||
* breakpoint.c (update_watchpoint): Change b->type to
|
* breakpoint.c (update_watchpoint): Change b->type to
|
||||||
bp_watchpoint before calling hw_watchpoint_used_count.
|
bp_watchpoint before calling hw_watchpoint_used_count.
|
||||||
|
|
||||||
|
2009-12-30 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
Fix build failure in inf-ptrace.c.
|
||||||
|
* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
|
||||||
|
|
||||||
2009-12-30 Joel Brobecker <brobecker@adacore.com>
|
2009-12-30 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* breakpoint.c (watchpoint_check): Expand the function description.
|
* breakpoint.c (watchpoint_check): Expand the function description.
|
||||||
|
@ -302,8 +302,6 @@ core_open (char *filename, int from_tty)
|
|||||||
bfd *temp_bfd;
|
bfd *temp_bfd;
|
||||||
int scratch_chan;
|
int scratch_chan;
|
||||||
int flags;
|
int flags;
|
||||||
int corelow_pid = CORELOW_PID;
|
|
||||||
struct inferior *inf;
|
|
||||||
|
|
||||||
target_preopen (from_tty);
|
target_preopen (from_tty);
|
||||||
if (!filename)
|
if (!filename)
|
||||||
@ -423,7 +421,7 @@ core_open (char *filename, int from_tty)
|
|||||||
struct thread_info *thread = first_thread_of_process (-1);
|
struct thread_info *thread = first_thread_of_process (-1);
|
||||||
if (thread == NULL)
|
if (thread == NULL)
|
||||||
{
|
{
|
||||||
add_inferior_silent (CORELOW_PID);
|
inferior_appeared (current_inferior (), CORELOW_PID);
|
||||||
inferior_ptid = pid_to_ptid (CORELOW_PID);
|
inferior_ptid = pid_to_ptid (CORELOW_PID);
|
||||||
add_thread_silent (inferior_ptid);
|
add_thread_silent (inferior_ptid);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user