This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make only user-specified executable filenames sticky
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches <gdb-patches at sourceware dot org>, Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Date: Tue, 12 May 2015 14:48:42 +0100
- Subject: Re: [PATCH] Make only user-specified executable filenames sticky
- Authentication-results: sourceware.org; auth=none
- References: <20150505151448 dot GA1417 at blade dot nx> <1430907977-30605-1-git-send-email-gbenson at redhat dot com> <CADPb22SDB9qV1BgP2JmCxsu-E8QXDj1SLnCjBjGWn+g+1M7V7A at mail dot gmail dot com> <5551D7AD dot 8080500 at redhat dot com> <20150512111338 dot GA14968 at blade dot nx> <5551E0FF dot 8060408 at redhat dot com>
Pedro Alves wrote:
> On 05/12/2015 12:13 PM, Gary Benson wrote:
> > Pedro Alves wrote:
> > > We don't have a command to get out of:
> > >
> > > "file wrong_program; attach PID"
> >
> > file wrong_program; file; attach PID
>
> That's different from what I was saying. That is, a command
> to fix things up _after_ the attach.
Ah, ok, sorry.
A different question: is there any reason that we should not
*always* set the executable file from whatever the running
program is?
Cheers,
Gary
--
http://gbenson.net/