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

Michael Snyder
2001-11-21T21:10:37Z

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.