From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com
Subject: [intercu] Cosmetic matching for multiple-processing patch
Date: Sun, 14 Mar 2004 21:11:00 -0000 [thread overview]
Message-ID: <20040314211133.GB21027@nevyn.them.org> (raw)
This patch brings the intercu branch up-to-date with the edited
function names and comments, to simplify my next merge.
Committed to the intercu branch.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2004-03-14 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (read_structure_type): Renamed from
read_structure_scope.
(process_enumeration_scope): Renamed from read_enumeration_scope.
(add_partial_structure, process_die, new_symbol)
(read_type_die): Update calls and comments.
Index: gdb/dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.135.2.34
diff -u -p -r1.135.2.34 dwarf2read.c
--- gdb/dwarf2read.c 25 Feb 2004 03:45:12 -0000 1.135.2.34
+++ gdb/dwarf2read.c 14 Mar 2004 20:43:59 -0000
@@ -855,7 +855,7 @@ static void dwarf2_add_member_fn (struct
static void dwarf2_attach_fn_fields_to_type (struct field_info *,
struct type *, struct dwarf2_cu *);
-static void read_structure_scope (struct die_info *, struct dwarf2_cu *);
+static void read_structure_type (struct die_info *, struct dwarf2_cu *);
static void process_structure_scope (struct die_info *, struct dwarf2_cu *);
@@ -868,7 +868,7 @@ static const char *namespace_name (struc
static void read_enumeration_type (struct die_info *, struct dwarf2_cu *);
-static void read_enumeration_scope (struct die_info *, struct dwarf2_cu *);
+static void process_enumeration_scope (struct die_info *, struct dwarf2_cu *);
static struct type *dwarf_base_type (int, int, struct dwarf2_cu *);
@@ -2043,7 +2043,7 @@ add_partial_structure (struct partial_di
what template types look like, because the demangler
frequently doesn't give the same name as the debug info. We
could fix this by only using the demangled name to get the
- prefix (but see comment in read_structure_scope). */
+ prefix (but see comment in read_structure_type). */
struct partial_die_info *child_pdi = struct_pdi->die_child;
@@ -2595,17 +2595,17 @@ process_die (struct die_info *die, struc
case DW_TAG_class_type:
case DW_TAG_structure_type:
case DW_TAG_union_type:
- read_structure_scope (die, cu);
+ read_structure_type (die, cu);
process_structure_scope (die, cu);
break;
case DW_TAG_enumeration_type:
read_enumeration_type (die, cu);
- read_enumeration_scope (die, cu);
+ process_enumeration_scope (die, cu);
break;
- /* FIXME: These initialize die->type, but do not create a symbol
- or process any children. Therefore it doesn't do anything that
- won't be done on-demand by read_type_die. */
+ /* FIXME drow/2004-03-14: These initialize die->type, but do not create
+ a symbol or process any children. Therefore it doesn't do anything
+ that won't be done on-demand by read_type_die. */
case DW_TAG_subroutine_type:
read_subroutine_type (die, cu);
break;
@@ -3641,7 +3641,7 @@ dwarf2_attach_fn_fields_to_type (struct
suppresses creating a symbol table entry itself). */
static void
-read_structure_scope (struct die_info *die, struct dwarf2_cu *cu)
+read_structure_type (struct die_info *die, struct dwarf2_cu *cu)
{
struct objfile *objfile = cu->objfile;
struct type *type;
@@ -3963,7 +3963,7 @@ read_enumeration_type (struct die_info *
NOTE: We reverse the order of the element list. */
static void
-read_enumeration_scope (struct die_info *die, struct dwarf2_cu *cu)
+process_enumeration_scope (struct die_info *die, struct dwarf2_cu *cu)
{
struct objfile *objfile = cu->objfile;
struct die_info *child_die;
@@ -6706,7 +6706,7 @@ new_symbol (struct die_info *die, struct
/* Make sure that the symbol includes appropriate enclosing
classes/namespaces in its name. These are calculated in
- read_structure_scope, and the correct name is saved in
+ read_structure_type, and the correct name is saved in
the type. */
if (cu->language == language_cplus)
@@ -7048,7 +7048,7 @@ read_type_die (struct die_info *die, str
case DW_TAG_class_type:
case DW_TAG_structure_type:
case DW_TAG_union_type:
- read_structure_scope (die, cu);
+ read_structure_type (die, cu);
break;
case DW_TAG_enumeration_type:
read_enumeration_type (die, cu);
WARNING: multiple messages have this Message-ID
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com
Subject: [intercu] Cosmetic matching for multiple-processing patch
Date: Fri, 19 Mar 2004 00:09:00 -0000 [thread overview]
Message-ID: <20040314211133.GB21027@nevyn.them.org> (raw)
Message-ID: <20040319000900.YYr6dpV6NpX7jKj1wGkMUEj9EY58mNx2yN3mb5qgl8A@z> (raw)
This patch brings the intercu branch up-to-date with the edited
function names and comments, to simplify my next merge.
Committed to the intercu branch.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2004-03-14 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (read_structure_type): Renamed from
read_structure_scope.
(process_enumeration_scope): Renamed from read_enumeration_scope.
(add_partial_structure, process_die, new_symbol)
(read_type_die): Update calls and comments.
Index: gdb/dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.135.2.34
diff -u -p -r1.135.2.34 dwarf2read.c
--- gdb/dwarf2read.c 25 Feb 2004 03:45:12 -0000 1.135.2.34
+++ gdb/dwarf2read.c 14 Mar 2004 20:43:59 -0000
@@ -855,7 +855,7 @@ static void dwarf2_add_member_fn (struct
static void dwarf2_attach_fn_fields_to_type (struct field_info *,
struct type *, struct dwarf2_cu *);
-static void read_structure_scope (struct die_info *, struct dwarf2_cu *);
+static void read_structure_type (struct die_info *, struct dwarf2_cu *);
static void process_structure_scope (struct die_info *, struct dwarf2_cu *);
@@ -868,7 +868,7 @@ static const char *namespace_name (struc
static void read_enumeration_type (struct die_info *, struct dwarf2_cu *);
-static void read_enumeration_scope (struct die_info *, struct dwarf2_cu *);
+static void process_enumeration_scope (struct die_info *, struct dwarf2_cu *);
static struct type *dwarf_base_type (int, int, struct dwarf2_cu *);
@@ -2043,7 +2043,7 @@ add_partial_structure (struct partial_di
what template types look like, because the demangler
frequently doesn't give the same name as the debug info. We
could fix this by only using the demangled name to get the
- prefix (but see comment in read_structure_scope). */
+ prefix (but see comment in read_structure_type). */
struct partial_die_info *child_pdi = struct_pdi->die_child;
@@ -2595,17 +2595,17 @@ process_die (struct die_info *die, struc
case DW_TAG_class_type:
case DW_TAG_structure_type:
case DW_TAG_union_type:
- read_structure_scope (die, cu);
+ read_structure_type (die, cu);
process_structure_scope (die, cu);
break;
case DW_TAG_enumeration_type:
read_enumeration_type (die, cu);
- read_enumeration_scope (die, cu);
+ process_enumeration_scope (die, cu);
break;
- /* FIXME: These initialize die->type, but do not create a symbol
- or process any children. Therefore it doesn't do anything that
- won't be done on-demand by read_type_die. */
+ /* FIXME drow/2004-03-14: These initialize die->type, but do not create
+ a symbol or process any children. Therefore it doesn't do anything
+ that won't be done on-demand by read_type_die. */
case DW_TAG_subroutine_type:
read_subroutine_type (die, cu);
break;
@@ -3641,7 +3641,7 @@ dwarf2_attach_fn_fields_to_type (struct
suppresses creating a symbol table entry itself). */
static void
-read_structure_scope (struct die_info *die, struct dwarf2_cu *cu)
+read_structure_type (struct die_info *die, struct dwarf2_cu *cu)
{
struct objfile *objfile = cu->objfile;
struct type *type;
@@ -3963,7 +3963,7 @@ read_enumeration_type (struct die_info *
NOTE: We reverse the order of the element list. */
static void
-read_enumeration_scope (struct die_info *die, struct dwarf2_cu *cu)
+process_enumeration_scope (struct die_info *die, struct dwarf2_cu *cu)
{
struct objfile *objfile = cu->objfile;
struct die_info *child_die;
@@ -6706,7 +6706,7 @@ new_symbol (struct die_info *die, struct
/* Make sure that the symbol includes appropriate enclosing
classes/namespaces in its name. These are calculated in
- read_structure_scope, and the correct name is saved in
+ read_structure_type, and the correct name is saved in
the type. */
if (cu->language == language_cplus)
@@ -7048,7 +7048,7 @@ read_type_die (struct die_info *die, str
case DW_TAG_class_type:
case DW_TAG_structure_type:
case DW_TAG_union_type:
- read_structure_scope (die, cu);
+ read_structure_type (die, cu);
break;
case DW_TAG_enumeration_type:
read_enumeration_type (die, cu);
next reply other threads:[~2004-03-14 21:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-14 21:11 Daniel Jacobowitz [this message]
2004-03-19 0:09 ` Daniel Jacobowitz
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=20040314211133.GB21027@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
/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