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: Next over function and breakpoint setting


Daniel Jacobowitz wrote:

"The next line of code" is a very iffy concept. GDB doesn't analyze a line to figure out what it does, or where it might transfer control to... while possible, that would be a very different approach to debugging. So the only way we have to implement next is to step and see where we end up - and if we don't like it, go until we're somewhere else.

I guess I wasn't really asking a question - I was just confused by the way it was implemented since it wasn't what I had expected. Anyhow, thanks for clearing that up.


--
Orjan Friberg
Axis Communications


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