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

commands after finish


Hi,
 Is there a way to specify commands when finish stops at the return
address? for example:

break function1
finish
end

Q1: Is there a way to specify commands when fucntion1 returns after finish
command?
Q2: If function1 calls another function then the finish command for
function won't take effect. Am I right?

Thanks
Smita


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