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] Fix problems with finishing a dummy function call on simulators.


On 06/09/2015 03:13 PM, Pedro Alves wrote:
On 06/09/2015 07:10 PM, Luis Machado wrote:

Not exactly sure what to do here.  Maybe we should stop considering
permanent and non-permanent breakpoints at the same address as
duplicates.  That should result in GDB inserting the non-permanent
one, I think.  Or we could get stop marking permanent breakpoints
as always inserted, and let normal breakpoints insert on top of
permanent breakpoints normally.  See also:
   https://sourceware.org/ml/gdb-patches/2015-03/msg00174.html

That sounds a bit hacky.

Can you clarify?  There are two suggestions above, in addition
to a url showing even more ideas.  So I don't know what you're
referring to.  :-)

Both the above and the mail sound like workaround ideas. You mentioned even more special casing in the mail. It is the amount of special casing that i'm afraid of.

Having more special cases feel like they defeat the purpose of having those permanent breakpoints if we have to IF our way through them. Am i missing something?


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