This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Entry point update with "run" command
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 01 May 2008 13:19:24 -0300
- Subject: Re: [RFC] Entry point update with "run" command
- References: <1209052694.18229.6.camel@gargoyle.br.ibm.com> <20080426132225.GA16017@host0.dyn.jankratochvil.net>
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
The attached patch doesn't fix things in case displaced stepping is
being used since the entry point is not updated.
Regards,
Luis
On Sat, 2008-04-26 at 15:22 +0200, Jan Kratochvil wrote:
> + if (exec_bfd != NULL && strcmp (bfd_get_filename
> (objfile->obfd),
> + bfd_get_filename
> (exec_bfd)) == 0)
> + {
> + exec_ops.to_open (bfd_get_filename (objfile->obfd),
> 0);
> + }
> +