This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] remove deprecated core support from QNX NTO
- From: Mark Kettenis <kettenis at gnu dot org>
- To: kewarken at qnx dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 23 Dec 2004 23:32:01 +0100 (CET)
- Subject: Re: [patch] remove deprecated core support from QNX NTO
- References: <41CAF4EC.3040804@qnx.com> <41CAFE17.4070605@qnx.com>
Date: Thu, 23 Dec 2004 12:19:19 -0500
From: Kris Warkentin <kewarken@qnx.com>
Kris Warkentin wrote:
>When I run an app, it's dumping core in i386_supply_gregset because
>tdep->regset is not initialized. Not quite sure what the proper way to
>do that is. Still investigating.
>
Got it working. I had to put a check in i386_nto_supply_gregset for
whether tdep->regset had been allocated or not. I've attached the new
patch which is a blend of your code and mine. Much cleaner and results
in a fair bit of code removal. I'll wait until you tell me I'm not
completely off base before I construct a ChangeLog.
Thanks for testing this. The solib changes really need to be
seperated out, but I'll take care of this, and check things in over
christmas.
Thanks again,
Mark