This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] Unexpected automatic language switch - get_frame_language()


> >2003-12-09  J. Brobecker  <brobecker@gnat.com>
> >
> >        * frame.c (select_frame): Get the current frame PC using
> >        get_frame_address_in_block() instead of get_frame_pc().
> >        * stack.c (get_frame_language): Likewise.
> >
> >Tested on x86-linux, with no regression.
> >
> >OK to apply?
> 
> Yes, but just add a comment at each point reminding us why the PC is 
> wrong before committing.

Thanks. Here is the patch that I ended up committing. Let me know if
somebody would like the comments to be worded differently.

-- 
Joel

Attachment: addr_in_block.diff
Description: Text document


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