On Tuesday, November 16, 2010 11:10:43 Frank Ch. Eigler wrote: > vapier wrote: > > [...] > > > > if (sigrc != 0) > > > > - fprintf (stderr, "program stopped with signal %d.\n", sigrc); > > + fprintf (stderr, "program stopped with signal %d (%s).\n", sigrc, > > + strsignal (sigrc)); > > > > break; > > I don't know if we can assume that the target signal numbering matches > the host. Else I suspect we wouldn't have all those TARGET_SIGNAL_* > defs. for the platforms i care about, they are ;). but that's a fair point. i think the reason i did this is because the signal_map logic isnt really used anywhere that i can see. perhaps i should bite the bullet and add a target_strsignal() that operates on the callback maps ... i get the feeling that the sim history is something like: - there were no viable sims, so this one was started up ... it was a bit bare, but it worked for people's minimal needs - ibm threw a lot of money at developers who created a pretty full ppc sim as a semi-fork ... then over time, much of that work was merged back - qemu gathered steam and sucked up all the potential developers - many cool sim features remain stalled & under developed -mike