[PATCH 2/4] gdb, gdbserver: Add AMX registers.

Willgerodt, Felix felix.willgerodt@intel.com
Fri Jul 15 11:51:43 GMT 2022


> > > +gdb_test "continue" \
> > > +    ".*\\\[Inferior $decimal \\\(process $decimal\\\) exited normally\\]"
> >
> > gdb_continue_to_end
> 
> This one would be a good and obvious suggestion. But for me this
> makes the test fail with the native-gdbserver board.
> 
> (gdb) PASS: gdb.arch/amd64-amx.exp: set tilecfg: print $tilecfg
> continue^M
> Continuing.^M
> Remote connection closed^M
> (gdb) FAIL: gdb.arch/amd64-amx.exp: continue until exit
> 
> This seems like a bug with gdb_continue_to_end.
> I looked at the function and couldn't quickly figure out how to best
> address this.

Sorry, I didn't look closely enough yesterday. This also happens with my
previous test as well. So it is obviously not a bug with
gdb_continue_to_end.

I am still debugging this, I never saw this before a recent rebase.
It seems like gdbserver is exiting too early, I am not even hitting
the BPs for the second matrix branch. 

Regards,
Felix
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


More information about the Gdb-patches mailing list