Catch up to recentish kgdb changes:
- Use ptid_get_pid() rather than ptid_get_tid() (part of the changes to let 'tid' work for remote kgdb). - Add a stub kgdb_trgt_new_objfile() hook. Silence from: obrien, mips@
This commit is contained in:
parent
643d58f9c0
commit
ad335b4edf
@ -54,7 +54,7 @@ kgdb_trgt_fetch_registers(int regno __unused)
|
||||
struct kthr *kt;
|
||||
struct pcb pcb;
|
||||
|
||||
kt = kgdb_thr_lookup_tid(ptid_get_tid(inferior_ptid));
|
||||
kt = kgdb_thr_lookup_tid(ptid_get_pid(inferior_ptid));
|
||||
if (kt == NULL)
|
||||
return;
|
||||
if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
|
||||
@ -82,6 +82,11 @@ kgdb_trgt_store_registers(int regno __unused)
|
||||
fprintf_unfiltered(gdb_stderr, "XXX: %s\n", __func__);
|
||||
}
|
||||
|
||||
void
|
||||
kgdb_trgt_new_objfile(struct objfile *objfile)
|
||||
{
|
||||
}
|
||||
|
||||
struct kgdb_frame_cache {
|
||||
CORE_ADDR pc;
|
||||
CORE_ADDR sp;
|
||||
|
Loading…
Reference in New Issue
Block a user