This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb: Don't skip prologue for explicit line breakpoints in assembler


On 7/1/19 6:12 PM, Andrew Burgess wrote:
>> Did you check whether we're already setting explicit_line when
>> parsing "b -line N", i.e., when using the explicit locations syntax?
> In current HEAD explicit_line will only get set for the clear, edit,
> list, and 'info line' commands.  Any variation of setting breakpoints
> will never set explicit_line.

OK, but I was also curious to know whether your patch already handles that
case, or whether we need to set explicit_line somewhere else too.
Maybe it already works if we end up in decode_digits_ordinary too
with the explicit syntax.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]