Fix Java PR gdb/1322 (was Re: [rfa/doc] Document pr gdb/1322 in PROBLEMS)

Michael Elizabeth Chastain mec@shout.net
Sun Aug 24 19:48:00 GMT 2003


drow> Could someone test that it fixes the Java problems on HEAD?

It works for me.  It passes the "continue to exit" test
in gdb.java/jmisc1.exp.  (That's the specific test for this bug).

I didn't do a full before-and-after with this patch, my system is busy
today.  But it looks like it could not possibly cause any regressions,
It's really just changing the order of two tests that already happen:
an fde==NULL test and the test inside the SECT_OFF_TEXT macro.

Recommended for approval in gdb HEAD.

Michael C

	* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
	available before calling SECT_OFF_TEXT.



More information about the Gdb-patches mailing list