From 666e7e4121e43094aa8e9b280e0fe5db23b77256 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 27 Dec 1993 18:56:23 +0000 Subject: * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and TYPE_CODE_STRING a bit. --- gdb/ChangeLog | 3 +++ gdb/gdbtypes.h | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2260886..f5227aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Mon Dec 27 11:07:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and + TYPE_CODE_STRING a bit. + * m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs): Allow pea %fp; move.l %sp, %fp instead of link instruction to set up the new frame. diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 1a37b8e..bf21d90 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -91,8 +91,16 @@ enum type_code TYPE_CODE_SET, /* Pascal sets */ TYPE_CODE_RANGE, /* Range (integers within spec'd bounds) */ - TYPE_CODE_STRING, /* String types, distinct from array of char */ - TYPE_CODE_BITSTRING, /* String of bits, distinct from bool array */ + + /* A string type which is like an array of character but prints + differently (at least for CHILL). It does not contain a length + field as Pascal strings (for many Pascals, anyway) do; if we want + to deal with such strings, we should use a new type code. */ + TYPE_CODE_STRING, + + /* String of bits; like TYPE_CODE_SET but prints differently (at least + for CHILL). */ + TYPE_CODE_BITSTRING, /* Unknown type. The length field is valid if we were able to deduce that much about the type, or 0 if we don't even know that. */ -- cgit v1.1