diff options
| author | Eli Zaretskii | 2010-04-24 10:36:27 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-04-24 10:36:27 +0300 |
| commit | 2d4018aa48efa359bcc5cce63d9335204ce53ff9 (patch) | |
| tree | b6c21c1442d0244aa50144cbdc5987caf9ecd586 | |
| parent | cbcfee6ef444ccb578b31417a836e9de98d566ba (diff) | |
| download | emacs-2d4018aa48efa359bcc5cce63d9335204ce53ff9.tar.gz emacs-2d4018aa48efa359bcc5cce63d9335204ce53ff9.zip | |
Fix GDB startup with src/.gdbinit.
.gdbinit: Add a "set Fmake_symbol" line to force GDB load the
definition of "struct Lisp_Symbol".
| -rw-r--r-- | src/.gdbinit | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 32b3827b22d..5ecdaa4a572 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | 21 | ||
| 22 | # Force loading of symbols, enough to give us gdb_valbits etc. | 22 | # Force loading of symbols, enough to give us gdb_valbits etc. |
| 23 | set main | 23 | set main |
| 24 | # With some compilers, we need this to give us struct Lisp_Symbol etc.: | ||
| 25 | set Fmake_symbol | ||
| 24 | 26 | ||
| 25 | # Find lwlib source files too. | 27 | # Find lwlib source files too. |
| 26 | dir ../lwlib | 28 | dir ../lwlib |
diff --git a/src/ChangeLog b/src/ChangeLog index e1b07d50a3b..033a32a0a58 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-04-24 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * .gdbinit: Add a "set Fmake_symbol" line to force GDB load the | ||
| 4 | definition of "struct Lisp_Symbol". | ||
| 5 | |||
| 1 | 2010-04-24 Glenn Morris <rgm@gnu.org> | 6 | 2010-04-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (CRT_DIR): New variable, set by configure. | 8 | * Makefile.in (CRT_DIR): New variable, set by configure. |