diff options
| author | Richard M. Stallman | 1995-10-31 00:55:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-31 00:55:50 +0000 |
| commit | 7faa0236fa7afe5d84719de4bed0bd7e1246f584 (patch) | |
| tree | 1a75d3004acf2c0e58ae7ce9281d00ac82ba25e2 /src | |
| parent | fb3fc9b81904633fc4445ff1d7ca3bd2e97515b2 (diff) | |
| download | emacs-7faa0236fa7afe5d84719de4bed0bd7e1246f584.tar.gz emacs-7faa0236fa7afe5d84719de4bed0bd7e1246f584.zip | |
Do `set main' to make gdb_valbits etc. available.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 9d2f4224c9a..87e3c2824d6 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | # Set up a mask to use. | 1 | # Set up a mask to use. |
| 2 | 2 | ||
| 3 | # Force loading of symbols, enough to give us gdb_valbits etc. | ||
| 4 | set main | ||
| 5 | |||
| 3 | # This should be EMACS_INT, but in some cases that is a macro. | 6 | # This should be EMACS_INT, but in some cases that is a macro. |
| 4 | # long ought to work in all cases right now. | 7 | # long ought to work in all cases right now. |
| 5 | set $valmask = ((long)1 << gdb_valbits) - 1 | 8 | set $valmask = ((long)1 << gdb_valbits) - 1 |