diff options
| author | Eli Zaretskii | 2009-12-26 15:56:43 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-12-26 15:56:43 +0000 |
| commit | 2d20eee3179ef18a29a371bd3539e9df3392c8c7 (patch) | |
| tree | 79b98058c8b3dffee52101d4090aac8be9ec9b6f /src | |
| parent | 5b28ce35e3ae2f024b79621577ed996f36c14d9e (diff) | |
| download | emacs-2d20eee3179ef18a29a371bd3539e9df3392c8c7.tar.gz emacs-2d20eee3179ef18a29a371bd3539e9df3392c8c7.zip | |
(pitx) Fix last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 12 | ||||
| -rw-r--r-- | src/ChangeLog | 1 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 949dfbfd480..e8a64f5dfe4 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -222,7 +222,8 @@ define pitx | |||
| 222 | if ($it->sp != 0) | 222 | if ($it->sp != 0) |
| 223 | printf " sp=%d", $it->sp | 223 | printf " sp=%d", $it->sp |
| 224 | end | 224 | end |
| 225 | if ($it->what == 0) # IT_CHARACTER | 225 | # IT_CHARACTER |
| 226 | if ($it->what == 0) | ||
| 226 | if ($it->len == 1 && $it->c >= ' ' && it->c < 255) | 227 | if ($it->len == 1 && $it->c >= ' ' && it->c < 255) |
| 227 | printf " ch='%c'", $it->c | 228 | printf " ch='%c'", $it->c |
| 228 | else | 229 | else |
| @@ -256,13 +257,16 @@ define pitx | |||
| 256 | output $it->what | 257 | output $it->what |
| 257 | end | 258 | end |
| 258 | end | 259 | end |
| 259 | if ($it->method != 0) # GET_FROM_BUFFER | 260 | if ($it->method != 0) |
| 261 | # !GET_FROM_BUFFER | ||
| 260 | printf " next=" | 262 | printf " next=" |
| 261 | pitmethod $it->method | 263 | pitmethod $it->method |
| 262 | if ($it->method == 2) # GET_FROM_STRING | 264 | if ($it->method == 2) |
| 265 | # GET_FROM_STRING | ||
| 263 | printf "[%d]", $it->current.string_pos.charpos | 266 | printf "[%d]", $it->current.string_pos.charpos |
| 264 | end | 267 | end |
| 265 | if ($it->method == 4) # GET_FROM_IMAGE | 268 | if ($it->method == 4) |
| 269 | # GET_FROM_IMAGE | ||
| 266 | printf "[%d]", $it->image_id | 270 | printf "[%d]", $it->image_id |
| 267 | end | 271 | end |
| 268 | end | 272 | end |
diff --git a/src/ChangeLog b/src/ChangeLog index 18a1a1cee3e..eab6e169659 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | * .gdbinit (pgx): Fix display of composite glyphs. Display | 3 | * .gdbinit (pgx): Fix display of composite glyphs. Display |
| 4 | cmp.from and cmp.to as well. | 4 | cmp.from and cmp.to as well. |
| 5 | (pitx) Fix last change. | ||
| 5 | 6 | ||
| 6 | 2009-12-19 Eli Zaretskii <eliz@gnu.org> | 7 | 2009-12-19 Eli Zaretskii <eliz@gnu.org> |
| 7 | 8 | ||