This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]