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 24700]


On Thu, 2007-03-01 at 17:03 -0500, Daniel Jacobowitz wrote:
> On Thu, Mar 01, 2007 at 06:56:40PM -0300, Thiago Jung Bauermann wrote:
> > In the testcase mentioned here, GDB wants to allocate memory in the
> > inferior so that it can set the string's value. It's GDB that's calling
> > malloc and not the inferior, so the inferior's PC is not anywhere near
> > malloc (unless we're lucky), as far as I know...
> 
> That doesn't have anything to do with my question :-)  find_pc_section
> does the PC -> section mapping pretty much the way the new code you've
> duplicated does it.

Whooops, mislead by the function name. :-)
Now I see what you mean. We'll try this alternative then.
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


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