This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [gdbserver] Do not crash on file load without inferior
- From: Pedro Alves <pedro at codesourcery dot com>
- To: Marc Khouzam <marc dot khouzam at ericsson dot com>
- Cc: "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>, "'Jan Kratochvil'" <jan dot kratochvil at redhat dot com>
- Date: Fri, 4 Mar 2011 21:32:52 +0000
- Subject: Re: [patch] [gdbserver] Do not crash on file load without inferior
- References: <20110224114001.GA24673@host1.dyn.jankratochvil.net> <201102241242.49342.pedro@codesourcery.com> <F7CE05678329534C957159168FA70DEC573322CFFF@EUSAACMS0703.eamcs.ericsson.se>
On Friday 04 March 2011 21:24:51, Marc Khouzam wrote:
> That sounds pretty bad.
>
> Any chance of getting a fix for this in the 7_2 branch?
> Which I gather would fix the problem Jan originally reported.
> Having to specify the 'file' before connecting to the target
> is a regression from previous versions of GDB and I was hoping
> not to have to special-case it in Eclipse :-)
Indeed. I'll try getting to it soon if Jan doesn't. It
should be a one liner patch to gdb.
--
Pedro Alves