This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add ix86 target to asm-source.exp test
- From: Michael Snyder <msnyder at redhat dot com>
- To: Pierre Muller <muller at cerbere dot u-strasbg dot fr>
- Cc: Michael Snyder <msnyder at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Wed, 21 Nov 2001 08:57:48 -0800
- Subject: Re: [RFA] Add ix86 target to asm-source.exp test
- References: <4.2.0.58.20011121123209.01841fa0@ics.u-strasbg.fr>
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.