This is the mail archive of the gdb@sourceware.cygnus.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]

Re: Running the inferior from breakpoint commands


>>>>> "Eli" == Eli Zaretskii <eliz@delorie.com> writes:
Eli> What's the deal with breakpoint commands that run the debuggee?  Does
Eli> it work on Unix?

Eli> One of the tests in gdb.base/commands.exp sets a breakpoint with the
Eli> following command list:

Eli>   step
Eli>   step
Eli>   step
Eli>   step
Eli>   bt

Eli> The test script expects the steps to work except on HPPA, where only
Eli> the first step is supposed to do its thing.  What is special about
Eli> HPPA, and does this test work fully on other Unix systems?

Eli> The DJGPP version seems to behave like HPPA (I'm not sure whether this
Eli> is a compliment, and if so, to which of the two systems ;-).  However,
Eli> I stepped through the code that is involved, and I don't see anything
Eli> DJGPP-specific there.

It's been a while, but if I remember correctly, this test failed when
I ran the testsuite on NetBSD/i386.  It appeared that someone changed
the testsuite to match HPUX's behavior instead of letting the test fail.

        --jtc

-- 
J.T. Conklin
RedBack Networks

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