From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa] Allow breakpoing to be added after inferior has started Date: Tue, 25 May 2004 18:17:00 -0000 Message-id: <40B38DC8.30601@gnu.org> References: <20040522023133.GG7207@tausq.org> X-SW-Source: 2004-05/msg00713.html The shlib-call.exp test fails on hppa (also ia64) because it tries to add a breakpoint before the inferior is started, so there's no where to put the breakpoint. gdb can handle this case if we allow pending breakpoints in the test. this only works on x86 and some other architectures because they put instructions into the plt; but some architectures put addresses in the plt. ok to commit? This is sounding a lot like PIE (position independant executable): where it isn't possible to determine a breakpoint's true (re-located) location until after the inferior has started. Can you describe the problem in more detail? Andrew 2004-05-21 Randolph Chung * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior has started.