mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Respond to qOffsets gdb packet (for debugging bFLT binaries).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1986 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e6de1bad46
commit
978efd6aac
4 changed files with 21 additions and 0 deletions
|
@ -783,6 +783,9 @@ int load_flt_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
|
|||
info->start_brk = libinfo[0].start_brk;
|
||||
info->start_stack = sp;
|
||||
info->entry = start_addr;
|
||||
info->code_offset = info->start_code;
|
||||
info->data_offset = info->start_data - libinfo[0].text_len;
|
||||
|
||||
DBG_FLT("start_thread(entry=0x%x, start_stack=0x%x)\n",
|
||||
(int)info->entry, (int)info->start_stack);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue