This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: simulator runtime sanity checks
- From: Michael Snyder <Michael dot Snyder at palmsource dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb at sourceware dot org, Jie Zhang <jzhang918 at gmail dot com>
- Date: Mon, 21 Aug 2006 10:43:46 -0700
- Subject: Re: simulator runtime sanity checks
- References: <200608210411.33493.vapier@gentoo.org>
On Mon, 2006-08-21 at 04:11 -0400, Mike Frysinger wrote:
> is this expected behavior ? or should the higher sim layers catch this ?
>
> happens with latest cvs HEAD and arm-elf-gdb as well ...
>
> $ bfin-elf-gdb
> (gdb) target sim
> Connected to the simulator.
> (gdb) run
> Starting program:
> warning: No executable file specified.
> warning: No program loaded.
> Segmentation fault
You told the simulator to run, with no loaded program,
and with memory basically in an un-initialized state.
I'd say the behavior was not surprising.
Which higher sim layer would you expect to catch this?