[PATCH][gdb/testsuite] Add gdb.arch/ppc64-break-on-_exit.exp

Kevin Buettner kevinb@redhat.com
Wed Nov 10 23:50:07 GMT 2021


On Wed, 10 Nov 2021 11:57:27 +0100
Tom de Vries <tdevries@suse.de> wrote:

> > I think your new test is okay, though (of course) it would have been
> > nice to have a test which doesn't depend on particular OS instances.  
> 
> Well, how about this one?  Does it reproduce for you, also in source
> file mode ("if { 1 }" -> "if { 0 }" in the case-case) ?

I tried it both ways, using C source, and also using assembler on
two different versions of ppc64le Fedora, Fedora 35 and Fedora 32.

Testing showed one pass for each of the runs when using builds against
recent upstream sources (w/ your fix).  When tested against the
installed GDB (which does not have your recent ppc related fix), the
tests correctly showed 1 failure per run.

I like this test better!

Kevin



More information about the Gdb-patches mailing list