This is the mail archive of the gdb@sourceware.org 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: simulator runtime sanity checks


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?



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