/[emacs]/emacs/src/.gdbinit
ViewVC logotype

Diff of /emacs/src/.gdbinit

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.63 by kfstorm, Fri Feb 18 22:21:36 2005 UTC revision 1.64 by kfstorm, Mon May 16 20:51:05 2005 UTC
# Line 112  define pitx Line 112  define pitx
112    if ($it->start.pos.charpos != $it->start.pos.bytepos)    if ($it->start.pos.charpos != $it->start.pos.bytepos)
113      printf "[%d]", $it->start.pos.bytepos      printf "[%d]", $it->start.pos.bytepos
114    end    end
115    printf " stop=%d ", $it->stop_charpos    printf " end=%d", $it->end_charpos
116    output $it->what    printf " stop=%d", $it->stop_charpos
117      printf " face=%d", $it->face_id
118      if ($it->multibyte_p)
119        printf " MB"
120      end
121      if ($it->header_line_p)
122        printf " HL"
123      end
124      if ($it->n_overlay_strings > 0)
125        printf " nov=%d"
126      end
127      if ($it->sp != 0)
128        printf " sp=%d", $it->sp
129      end
130    if ($it->what == IT_CHARACTER)    if ($it->what == IT_CHARACTER)
131      if ($it->len == 1 && $it->c >= ' ' && it->c < 255)      if ($it->len == 1 && $it->c >= ' ' && it->c < 255)
132        printf "['%c']", $it->c        printf "ch='%c'", $it->c
133      else      else
134        printf "[%d,%d]", $it->c, $it->len        printf "ch=[%d,%d]", $it->c, $it->len
135        end
136      else
137        if ($it->what == IT_IMAGE)
138          printf "IMAGE=%d", $it->image_id
139        else
140          output $it->what
141      end      end
142    end    end
143    printf " next="    if ($it->method != GET_FROM_BUFFER)
144    output $it->method      printf " next="
145        output $it->method
146      end
147    printf "\n"    printf "\n"
148      if ($it->region_beg_charpos >= 0)
149        printf "reg=%d-%d ", $it->region_beg_charpos, $it->region_end_charpos
150      end
151    printf "vpos=%d hpos=%d", $it->vpos, $it->hpos,    printf "vpos=%d hpos=%d", $it->vpos, $it->hpos,
152    printf " y=%d lvy=%d", $it->current_y, $it->last_visible_y    printf " y=%d lvy=%d", $it->current_y, $it->last_visible_y
153    printf " x=%d lvx=%d", $it->current_x, $it->last_visible_x    printf " x=%d vx=%d-%d", $it->current_x, $it->first_visible_x, $it->last_visible_x
154    printf " a+d=%d+%d=%d", $it->ascent, $it->descent, $it->ascent+$it->descent    printf " a+d=%d+%d=%d", $it->ascent, $it->descent, $it->ascent+$it->descent
155    printf " max=%d+%d=%d", $it->max_ascent, $it->max_descent, $it->max_ascent+$it->max_descent    printf " max=%d+%d=%d", $it->max_ascent, $it->max_descent, $it->max_ascent+$it->max_descent
156    printf "\n"    printf "\n"

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26