From: Michael Snyder <msnyder@redhat.com>
To: Pierre Muller <muller@cerbere.u-strasbg.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Support TYPE_CODE_(BIT)STRING in pascal_type_print_base
Date: Thu, 02 May 2002 11:06:00 -0000 [thread overview]
Message-ID: <3CD17D44.DCCC8AD@redhat.com> (raw)
In-Reply-To: <4.2.0.58.20020502132416.013c0b30@ics.u-strasbg.fr>
Pierre Muller wrote:
>
> This patch is here mainly to avoid getting error
> reports for GPC string types.
This seems completely reasonable. Approved.
>
> 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * p-typeprint.c (pascal_type_print_base): Add support
> for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
>
> Index: p-typeprint.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/p-typeprint.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 p-typeprint.c
> --- p-typeprint.c 20 Jan 2002 19:42:04 -0000 1.8
> +++ p-typeprint.c 2 May 2002 11:28:23 -0000
> @@ -788,6 +788,14 @@ pascal_type_print_base (struct type *typ
> show - 1, level);
> break;
>
> + case TYPE_CODE_BITSTRING:
> + fputs_filtered ("BitString", stream);
> + break;
> +
> + case TYPE_CODE_STRING:
> + fputs_filtered ("String", stream);
> + break;
> +
> default:
> /* Handle types not explicitly handled by the other cases,
> such as fundamental types. For these, just print whatever
>
> Pierre Muller
> Institut Charles Sadron
> 6,rue Boussingault
> F 67083 STRASBOURG CEDEX (France)
> mailto:muller@ics.u-strasbg.fr
> Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
prev parent reply other threads:[~2002-05-02 18:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 4:32 Pierre Muller
2002-05-02 11:06 ` Michael Snyder [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CD17D44.DCCC8AD@redhat.com \
--to=msnyder@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=muller@cerbere.u-strasbg.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox