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] Add proper handling for non-local references in nested functions


Joel,

On 09/03/2015 01:49 AM, Joel Brobecker wrote:
This patch is causing a crash on some platforms, as explained by
the revision log of the attached patch.

gdb/ChangeLog:
[...]

Thank you very much for the investigation and the fix!

As also mentioned in the revision log of the patch, we can probably
do some refactoring, or perhaps a different API in the vector that
just extracts the needed data (per_cu, at the moment) from symbol's
SYMBOL_LOCATION_BATON. Then, instead of calling the method to get
the function frame_base, you have a function that gets it by using
that different symbol_block_ops function.

I will give it a try and submit a patch but indeed, let's first do fix the crash first.

--
Pierre-Marie de Rodat


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