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] frame-unwind, gnu-v2-abi, cp-support, cp-namespace, trad-frame, tramp-frame.c: remove unused vars.


Tom Tromey wrote:
Michael> - CORE_ADDR pc = get_frame_pc (this_frame);

I am not completely sure this is safe.  Maybe get_frame_pc can throw an
exception.

I thought about that, but if the function call is there solely because of some side effect it can have, that's pretty fishy too.

I'm willing to put it back if that's what is thought best...


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