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?
Is there a way to configure dbx to treat a blank command as a repeat of the last command?
684 views Asked by WilliamKF At
2
There are 2 answers
0
Raam
On
Looks like you can use the $repeatmode for this. I got the following from the dbx-guide
Repeating Commands
You can execute any of the commands contained in the history list. Each
history command begins with an exclamation point (!):
!! Repeats the previous command. If the value of the dbx
variable $repeatmode is set to 1, then entering a carriage
return at an empty line is equivalent to executing !!. By
default, $repeatmode is set to 0.
There also seems to be another option 'gdb on' which makes dbx behave like gdb. I haven't tried either as I don't have access to dbx right now, so you can let me know if this works for you.
Related Questions in CONFIGURATION
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- I am trying to run java application in Eclipse, When I try to do Run > Run as > Java Application it starts to show little processing but nothing happe
- CISCO refuses to turn off spanning tree for specific vlans
- Resolve paths dynamically based on directory where test (or tested files) is located in Jest
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- jboss configuration via ipv6 version jboss-eap-7.4
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- Locally testing OS environmental variables in Ballerina
- Why is the build configuration always choosing production?
- App Configuration affecting VS Web Server Hosting
- IServiceCollectionConfigurator' does not contain a definition for 'UsingRabbitMq'
- Localhost Not Working After Creating Virtual Host in XAMPP
- Why am i unable to download MySql?
- Azure App Configuration - Replica for 429 HTTP responses
- TYPO3: tx-form custom fluid templates and class for submit button
Related Questions in GDB
- crash utility itself crashes while decoding kdump generated from null pointer dereference in kernel module
- How to compile the Linux kernel with -O0 for more detailed debug?
- Can GDB call user-defined signal handler and still break on the code which threw a signal?
- Executable under GDB invokes different embedded Python
- GDB or GDB-oneAPI freezing when displaying complex variables in VSCode
- gdb: incorrect exit code
- Assembly, gdb duplicate names
- Don't pause GDB on child process exit
- Breakpoints for assembly code in VSCode with GDB
- Why is there a difference in memory writes when my qemu runs directly and when debugging the img with GDB?
- Shell execution buffer overflow server directly hosted
- How to set breakpoints in Visual Studio Code for debugging kernel code running in QEMU?
- Retrieving Exit Code from a Program Run with GDB in GitLab CI/CD Pipeline
- How to resolve the shared library of a function in core file, using GDB - when no symbols are loaded?
- GDB 'gef>' spam when using `layout asm`
Related Questions in SOLARIS
- SolarIs 11 VM configure sftp. After restart ssh, the sshd_config file resets?
- How can i install python > 3.8 on solaris system?
- Solaris make failes with 'unknown'
- Unable to copy multiple files non-interactively with single command
- dbx can't find C source files
- Need to list data from a zip archive using unzip
- Where to properly get _LONGLONG_TYPE defined
- how to find file path where the function resides in solaris
- vncserver creating display as :<Displaynumber> instead of hostname:<Displaynumber>
- boost-iostreams 1.59 sparc-solaris crosscompilation fails
- Insert # at the start of a matching String
- How to run my python script when the sunOS is start booting
- libxercesc can not catch exception only on Solaris
- Is there a command line tool to connect Azure SQL MI on Solaris11
- RPC calls between C and Python, and vicecersa
Related Questions in REPEAT
- Why am I getting keyboard letter repeats with Chrome and not Firefox?
- Can I copy / mirror data AND formatting from one main sheet to a secondary sheet? If so, how?
- SQL repeat events with different start date and end date
- Array with repeating text
- Repeat while loop after a condition in PlantUML activity diagram
- Iteration in python taking acount the previous output values
- What is the best way to repeat the current iteration of a loop without going to the next iteration?
- Python - Print a line multiple times with a break after each line
- T5 model checkpoint is loaded, but it is repeatedly output during reasoning?
- Converting a list (with a repeated pattern) into data.frame in R
- How to not repeat a random number?
- How to create a sequence of cell text with repeat and increment at intervals from another cell in google sheets
- Configure a task to repeat on every change to upstream tasks
- Getting a pair of numbers sent from one excel sheet to another sheet with gaps in between
- Is there a way to refactor this try/except block to avoid DRY violation?
Related Questions in DBX
- dbx can't find C source files
- Setup E-mail notification on failure run with DBX deployment
- DBX `named_parameters` are not working correctly
- Databricks DBX and parameter substitition on deployment.yaml
- ERROR installing dbx - pip install dbx - pipenv error cffi
- dbx execute install from azure artifacts / private pypi
- AutoLoader with a lot of empty parquet files
- For AIX dbx, why is there a syntax error with "set edit emacs" in the .dbxinit command file?
- Unreadable instruction at address
- DBX: Unable to get conditional breakpoint to work
- Getting Last Day of Month (2 Months Ago) in ODBC
- Access violation at address 04FD6CC2 in module 'dbxora.dll'. Read of address 00000004
- Value of class variable mysteriously changing
- What does '.() at 0xdeadbeef' mean in a (core file) stacktrace generated by dbx on AIX?
- DBX Join two database together and filter out the result
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
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