This is the mail archive of the gdb@sourceware.cygnus.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]

Re: Using GDB with standalone assembly code questions


David J Croyle wrote:


> (gdb) step
> Single stepping until exit from function _start,
> which has no line number information.
> The program is not being run


FYI, several things to be careful about.

Use stepi not step.

You may need to do a:

	(gdb) break *_start
or is that break *&_start?
	(gdb) run

to get things started.

	Andrew

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