public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-tromey-charset: fix bad ChangeLog edit Date: Wed, 14 Jan 2009 19:25:00 -0000 [thread overview] Message-ID: <20090114192508.13880.qmail@sourceware.org> (raw) The branch, archer-tromey-charset has been updated via 8d869ed23bf1e8b9d0abd0fa67bccbd0f075e32c (commit) from f18748f29aca635f08e689bb5230d7cdf451adab (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 8d869ed23bf1e8b9d0abd0fa67bccbd0f075e32c Author: Tom Tromey <tromey@redhat.com> Date: Wed Jan 14 12:21:48 2009 -0700 fix bad ChangeLog edit add PR numbers to ChangeLog fix regression introduced by dwarf2read change ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 8 ++++++-- gdb/eval.c | 12 +++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) First 500 lines of diff: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b42033b..247838c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,8 @@ -2009-01-13 Tom Tromey <tromey@redhat.com> +2009-01-14 Tom Tromey <tromey@redhat.com> Julian Brown <julian@codesourcery.com> + PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103, + PR i18n/9401, PR exp/9613: * dwarf2read.c (process_die) <DW_TAG_typedef>: Call read_type_die before calling new_symbol. * value.h (value_typed_string): Declare. @@ -72,7 +74,7 @@ target_char_to_host, target_char_to_control_char): Remove. (enum transliterations): New type. (convert_between_encodings): Declare. -1 (HOST_ESCAPE_CHAR): New define. + (HOST_ESCAPE_CHAR): New define. (host_letter_to_control_character, host_hex_value): Declare. * charset-list.h: New file. * c-valprint.c (textual_name): New function. @@ -190,6 +192,8 @@ * aclocal.m4, config.in, configure: Rebuild. * configure.ac: Call AM_LANGINFO_CODESET. * acinclude.m4: Include codeset.m4. + * eval.c (evaluate_subexp_standard) <OP_TYPE>: Strip a single + typedef. 2009-01-06 Jim Blandy <jimb@red-bean.com> diff --git a/gdb/eval.c b/gdb/eval.c index 78d03f5..804e9c4 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -2475,7 +2475,17 @@ evaluate_subexp_standard (struct type *expect_type, if (noside == EVAL_SKIP) goto nosideret; else if (noside == EVAL_AVOID_SIDE_EFFECTS) - return allocate_value (exp->elts[pc + 1].type); + { + struct type *type = exp->elts[pc + 1].type; + /* If this is a typedef, then find its immediate target. We + use check_typedef to resolve stubs, but we ignore its + result because we do not want to dig past all + typedefs. */ + check_typedef (type); + if (TYPE_CODE (type) == TYPE_CODE_TYPEDEF) + type = TYPE_TARGET_TYPE (type); + return allocate_value (type); + } else error (_("Attempt to use a type name as an expression")); hooks/post-receive -- Repository for Project Archer.
reply other threads:[~2009-01-14 19:25 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090114192508.13880.qmail@sourceware.org \ --to=tromey@sourceware.org \ --cc=archer-commits@sourceware.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).