[RFA] Add ix86 target to asm-source.exp test

Michael Snyder msnyder@redhat.com
Thu Nov 8 15:21:00 GMT 2001


Pierre Muller wrote:
> 
> At 02:51 21/11/2001 , vous avez écrit:
> 
> >This is a minimal port of the asm-source test to the i[3456]86 target.
> >This runs successfully on a Linux x86 machine, but will probably need
> >some work to make it run on other ix86 platforms (esp. embedded).
> >         comment "exit (0)"
> >         .macro gdbasm_exit0
> >         hlt
> >         .endm
> 
>    Is it reasonable to include a priviledged instruction
> at that point ?
>    All depends if this code is possibly executed...

The code is not intended to be executed, I just put the
halt there to make sure that it would terminate if it 
ran away.  And in fact it does terminate, on Linux, with
a SEGV signal.



More information about the Gdb-patches mailing list