From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22136 invoked by alias); 23 Dec 2004 22:32:14 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22108 invoked from network); 23 Dec 2004 22:32:08 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 23 Dec 2004 22:32:08 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iBNMW1mQ010248; Thu, 23 Dec 2004 23:32:02 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iBNMW1Sc032598; Thu, 23 Dec 2004 23:32:01 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iBNMW1rU032595; Thu, 23 Dec 2004 23:32:01 +0100 (CET) Date: Thu, 23 Dec 2004 22:34:00 -0000 Message-Id: <200412232232.iBNMW1rU032595@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: kewarken@qnx.com CC: gdb-patches@sources.redhat.com In-reply-to: <41CAFE17.4070605@qnx.com> (message from Kris Warkentin on Thu, 23 Dec 2004 12:19:19 -0500) Subject: Re: [patch] remove deprecated core support from QNX NTO References: <41CAF4EC.3040804@qnx.com> <41CAFE17.4070605@qnx.com> X-SW-Source: 2004-12/txt/msg00432.txt.bz2 Date: Thu, 23 Dec 2004 12:19:19 -0500 From: Kris Warkentin 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