public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer: Merge commit 'origin/archer-jankratochvil-expr' into archer
@ 2009-03-05 22:25 jkratoch
0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-03-05 22:25 UTC (permalink / raw)
To: archer-commits
The branch, archer has been updated
via 422ac7ad7d21e7848decc6244a742f0786bd326a (commit)
via b4558a84eef66bc3cc05581f4a501fb03732fdcd (commit)
from 337f0763307e136ea5897beddc64d0cf75eb85f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 422ac7ad7d21e7848decc6244a742f0786bd326a
Merge: 337f0763307e136ea5897beddc64d0cf75eb85f6 b4558a84eef66bc3cc05581f4a501fb03732fdcd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Mar 5 23:24:52 2009 +0100
Merge commit 'origin/archer-jankratochvil-expr' into archer
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2read.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f9d1c41..c811b8a 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3110,7 +3110,7 @@ dwarf2_full_name (struct die_info *die, struct dwarf2_cu *cu)
}
/* read the given die's decl_line number. Return -1 if in case of an error */
-static const int dwarf2_read_decl_line (struct die_info *die, struct dwarf2_cu *cu){
+static int dwarf2_read_decl_line (struct die_info *die, struct dwarf2_cu *cu){
struct attribute *line_attr;
line_attr = dwarf2_attr (die, DW_AT_decl_line, cu);
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [SCM] archer: Merge commit 'origin/archer-jankratochvil-expr' into archer
@ 2009-03-15 18:25 jkratoch
0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-03-15 18:25 UTC (permalink / raw)
To: archer-commits
The branch, archer has been updated
via f2a07ac5bb676a5272544caa0d20610fce1c8d7d (commit)
via 080bd8d32716a948a67f28e8bc12f0a0f3370931 (commit)
via 281278326412f9d6a3fabb8adc1d419fd7ddc7d7 (commit)
via 9e42aad941db9ee30a36cb0cc288789cbbff0836 (commit)
via 12fab790f9fd169f857fbffcf66241e913d1f473 (commit)
from fd1a379f54b2a5df830f510c735bc45c8aec572b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit f2a07ac5bb676a5272544caa0d20610fce1c8d7d
Merge: 080bd8d32716a948a67f28e8bc12f0a0f3370931 281278326412f9d6a3fabb8adc1d419fd7ddc7d7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Mar 15 19:17:33 2009 +0100
Merge commit 'origin/archer-jankratochvil-expr' into archer
commit 080bd8d32716a948a67f28e8bc12f0a0f3370931
Merge: fd1a379f54b2a5df830f510c735bc45c8aec572b 12fab790f9fd169f857fbffcf66241e913d1f473
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Mar 15 19:17:25 2009 +0100
Merge commit 'origin/archer-jankratochvil-misc' into archer
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2read.c | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-strp.S | 18 +++++++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f3225ce..0b1504a 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -8926,7 +8926,7 @@ static char *
dwarf2_canonicalize_name (char *name, struct dwarf2_cu *cu,
struct obstack *obstack)
{
- if (cu->language == language_cplus)
+ if (name && cu->language == language_cplus)
{
char *canon_name = cp_canonicalize_string (name);
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-strp.S b/gdb/testsuite/gdb.dwarf2/dw2-strp.S
index a1602a5..293cc1b 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-strp.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-strp.S
@@ -28,7 +28,8 @@
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lproducer /* DW_AT_producer */
- .byte 1 /* DW_AT_language (C) */
+ /* Use C++ to exploit a bug in parsing DW_AT_name "". */
+ .byte 4 /* DW_AT_language (C++) - */
.Larray_type:
.uleb128 2 /* Abbrev: DW_TAG_array_type */
@@ -60,6 +61,10 @@
.Lconst_type:
.uleb128 6 /* Abbrev: DW_TAG_const_type */
.4byte .Larray_type-.Lcu1_begin/* DW_AT_type */
+
+ .uleb128 7 /* Abbrev: DW_TAG_variable (name "") */
+ .4byte .Lemptyname /* DW_AT_name */
+
.byte 0 /* End of children of CU */
.Lcu1_end:
@@ -126,6 +131,15 @@
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
+
+ .uleb128 7 /* Abbrev code */
+ .uleb128 0x34 /* DW_TAG_variable */
+ .byte 0x0 /* DW_children_no */
+ .uleb128 0x3 /* DW_AT_name */
+ .uleb128 0xe /* DW_FORM_strp */
+ .byte 0x0 /* Terminator */
+ .byte 0x0 /* Terminator */
+
.byte 0x0 /* Terminator */
/* String table */
@@ -140,3 +154,5 @@
.string "a_string"
.Lvarcontents:
.string "hello world!\n"
+.Lemptyname:
+ .string ""
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [SCM] archer: Merge commit 'origin/archer-jankratochvil-expr' into archer
@ 2009-03-15 15:51 jkratoch
0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-03-15 15:51 UTC (permalink / raw)
To: archer-commits
The branch, archer has been updated
via fd1a379f54b2a5df830f510c735bc45c8aec572b (commit)
via c6fc5bffe34df39ac2660a22d4052bb2f7e2cd59 (commit)
via 0921a1a56ed6e933ef371b36c1b5e9f195fdfd87 (commit)
from e693789fcf8112062744f2ce94ad204c0fed4bfe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit fd1a379f54b2a5df830f510c735bc45c8aec572b
Merge: e693789fcf8112062744f2ce94ad204c0fed4bfe c6fc5bffe34df39ac2660a22d4052bb2f7e2cd59
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Mar 15 16:50:25 2009 +0100
Merge commit 'origin/archer-jankratochvil-expr' into archer
-----------------------------------------------------------------------
Summary of changes:
gdb/symtab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 07082ec..00967eb 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1251,7 +1251,7 @@ lookup_symbol_in_language (const char *name, const struct block *block,
if (demangled_name)
{
modified_name = demangled_name;
- needtofreename = 1;
+ make_cleanup (xfree, demangled_name);
}
}
}
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-15 18:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 22:25 [SCM] archer: Merge commit 'origin/archer-jankratochvil-expr' into archer jkratoch
2009-03-15 15:51 jkratoch
2009-03-15 18:25 jkratoch
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).