In gdb, if I just hit return, it repeats the last command. Is there a way to configure Sun/Oracle/Solaris dbx to do likewise?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get that behavior by enabling “gdb mode” in dbx.
Here is the help for gdb mode from the latest dbx.
(dbx) help gdb gdb (command) gdb on | off Use `gdb on' to enter the gdb command mode under which dbx will understand and accept gdb commands. To exit the gdb command mode and return to the dbx command mode, enter "gdb off". Please note that the dbx commands will not be accepted while in gdb command mode and vice versa. All debugging settings such as breakpoints are preserved across different command modes. The following gdb commands are not supported in the current release: - commands - define - handle - hbreak - interrupt - maintenance - printf - rbreak - return - signal - tcatch - until