<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches">
    <title>gmane.comp.gdb.patches</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87584"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87583"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87582"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87581"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87580"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87579"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87578"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87577"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87576"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87575"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87574"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87573"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87572"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87571"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87570"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87569"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87568"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87567"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87566"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gdb.patches/87565"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87584">
    <title>Re: [commit/windows] Add thread ID in SuspendThread error warning message.</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87584</link>
    <description>&lt;pre&gt;
That's interesting. I have the following patch in AdaCore's tree
which I have been uhming and ahming about. Would it apply to your
situation as well?

-                   warning (_("SuspendThread failed. (winerr %u)"),
-                            (unsigned) err);
-                   return NULL;
+                   /* If SuspendThread failed with error 5 (access
+                      denied), then ignore the error.  It's unclear
+                      where this comes from and how to prevent it.
+                      But in the meantime, ignoring it seems to allow
+                      us to inspect the thread (including fetching
+                      registers) without apparent ill effect.  */
+                   if (err != 5)
+                     {
+                       warning (_("SuspendThread (tid=0x%x) failed."
+                                  " (winerr %d)"),
+                                (unsigned) id, (unsigned) err);
+                       return NULL;
+                     }

I thi&lt;/pre&gt;</description>
    <dc:creator>Joel Brobecker</dc:creator>
    <dc:date>2013-06-18T23:43:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87583">
    <title>Re: [RFA/DWARF] do not use dwarf2_per_objfile in dwarf2_per_objfile_free.</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87583</link>
    <description>&lt;pre&gt;
Thanks, Tom. Applied.


I certainly could, if you'd like. I am a little afraid of what might
happen if I do, though ;-).

&lt;/pre&gt;</description>
    <dc:creator>Joel Brobecker</dc:creator>
    <dc:date>2013-06-18T23:37:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87582">
    <title>Re: [PATCH v3] gdb: clean up x86 cpuid implementations</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87582</link>
    <description>&lt;pre&gt;
And also sometimes ChangeLogs help review the change itself as well.

&lt;/pre&gt;</description>
    <dc:creator>Joel Brobecker</dc:creator>
    <dc:date>2013-06-18T21:34:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87581">
    <title>Re: [patch] ChangeLog width 74 -&gt; 80</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87581</link>
    <description>&lt;pre&gt;FWIW, I find 80 characters to be too long, and more difficult to read.
I thought 74 characters was a good compromise, so why not standardize
on that?

&lt;/pre&gt;</description>
    <dc:creator>Joel Brobecker</dc:creator>
    <dc:date>2013-06-18T21:09:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87580">
    <title>[PATCH, gdbsim] Avoid silly crash when no binary is loaded</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87580</link>
    <description>&lt;pre&gt;Hi,

This patch prevents the long-standing crash scenario where we start 
gdbsim and "run" without any binaries. Warnings are issued, but those 
don't prevent the simulator from proceeding with garbage data.

Replacing those warnings with error calls seems to be the most 
appropriate here.

Ok?

Luis
&lt;/pre&gt;</description>
    <dc:creator>Luis Machado</dc:creator>
    <dc:date>2013-06-18T20:49:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87579">
    <title>Re: [patch] Fix CTRL-C for remote.c (PR remote/15297)</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87579</link>
    <description>&lt;pre&gt;
Jan&amp;gt; http://sourceware.org/bugzilla/show_bug.cgi?id=15297

Jan&amp;gt; With "set debug remote 1" hitting CTRL-C usually gets ignored,
Jan&amp;gt; occasionally it even locks-up GDB by calling unsafe functions from
Jan&amp;gt; a signal handler.

FWIW I read through this and it seems ok to me.

I wonder if the changes to the serial code mean we can remove the
immediate_quit changes in remote.c.

Tom

&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T20:31:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87578">
    <title>Re: [PATCH] Fix PR cli/15603</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87578</link>
    <description>&lt;pre&gt;
Jan&amp;gt; Yes, I am fine with this patch.

Thanks Jan.
I am going to check it in now.

Tom

&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T19:51:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87577">
    <title>[PATCH 3/3] fix solib-som.c</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87577</link>
    <description>&lt;pre&gt;som_open_symbol_file_object was leaking a cleanup.

* solib-som.c (som_open_symbol_file_object): Call do_cleanups.
---
 gdb/solib-som.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gdb/solib-som.c b/gdb/solib-som.c
index f88b539..457e464 100644
--- a/gdb/solib-som.c
+++ b/gdb/solib-som.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -698,6 +698,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; som_open_symbol_file_object (void *from_ttyp)
   int errcode;
   int from_tty = *(int *)from_ttyp;
   gdb_byte buf[4];
+  struct cleanup *cleanup;
 
   if (symfile_objfile)
     if (!query (_("Attempt to reload symbols from process? ")))
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -727,10 +728,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; som_open_symbol_file_object (void *from_ttyp)
       return 0;
     }
 
-  make_cleanup (xfree, filename);
+  cleanup = make_cleanup (xfree, filename);
   /* Have a pathname: read the symbol file.  */
   symbol_file_add_main (filename, from_tty);
 
+  do_cleanups (cleanup);
   return 1;
 }
 
&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T19:44:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87576">
    <title>[PATCH 2/3] fix init_cutu_and_read_dies</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87576</link>
    <description>&lt;pre&gt;init_cutu_and_read_dies creates an outer cleanup and uses its
immediately nested inner cleanup conditionally.  This seems overly
complicated to me; simpler is to just deal with the outer cleanup and
drop the inner one.  That is what this patch implements.

* dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'.
Simplify cleanup handling.
---
 gdb/dwarf2read.c | 33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index bbb8584..484a307 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -4988,7 +4988,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; init_cutu_and_read_dies (struct dwarf2_per_cu_data *this_cu,
   struct die_info *comp_unit_die;
   int has_children;
   struct attribute *attr;
-  struct cleanup *cleanups, *free_cu_cleanup = NULL;
+  struct cleanup *cleanups;
   struct signatured_type *sig_type = NULL;
   struct dwarf2_section_info *abbrev_section;
   /* Non-zero if CU currently points to a DWO file and we need to
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -5047,7 +5047,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; in&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T19:44:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87575">
    <title>[PATCH 1/3] fix dwarf_decode_line_header</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87575</link>
    <description>&lt;pre&gt;dwarf_decode_line_header has one return that is missing a call to
do_cleanups.  This patch adds it.

This was found using the cleanup checker.

* dwarf2read.c (dwarf_decode_line_header): Call do_cleanups
on all return paths.
---
 gdb/dwarf2read.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 4cd0c0e..bbb8584 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -15655,6 +15655,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; dwarf_decode_line_header (unsigned int offset, struct dwarf2_cu *cu)
   if (line_ptr + lh-&amp;gt;total_length &amp;gt; (section-&amp;gt;buffer + section-&amp;gt;size))
     {
       dwarf2_statement_list_fits_in_line_number_section_complaint ();
+      do_cleanups (back_to);
       return 0;
     }
   lh-&amp;gt;statement_program_end = line_ptr + lh-&amp;gt;total_length;
&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T19:44:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87574">
    <title>[PATCH 0/3] a few more fixes from the cleanup checker</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87574</link>
    <description>&lt;pre&gt;This series is a few remaining buglets caught by the cleanup checker.

I built and regtested this series on x86-64 Fedora 18.

Tom

&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T19:44:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87573">
    <title>Re: [PATCH v2] Add convenience variable $_exitsignal</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87573</link>
    <description>&lt;pre&gt;

OK, patch updated, thanks.

&lt;/pre&gt;</description>
    <dc:creator>Sergio Durigan Junior</dc:creator>
    <dc:date>2013-06-18T19:15:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87572">
    <title>Re: [PATCH v2] Add convenience variable $_exitsignal</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87572</link>
    <description>&lt;pre&gt;
I'd use "resets", but otherwise this sounds fine, thanks.

&lt;/pre&gt;</description>
    <dc:creator>Eli Zaretskii</dc:creator>
    <dc:date>2013-06-18T19:07:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87571">
    <title>Re: [PATCH v2] Add convenience variable $_exitsignal</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87571</link>
    <description>&lt;pre&gt;

Yes.  I could say "sets $_exitcode to &amp;lt; at &amp;gt;code{void}" instead, WDYT?

&lt;/pre&gt;</description>
    <dc:creator>Sergio Durigan Junior</dc:creator>
    <dc:date>2013-06-18T19:02:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87570">
    <title>Re: [PATCH v2] Add convenience variable $_exitsignal</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87570</link>
    <description>&lt;pre&gt;
This is good, but I wonder whether the meaning of "clears $_exitcode"
will be sufficiently clear (pun intended) to the reader.  You mean to
say that the variable will be void, right?

Thanks.

&lt;/pre&gt;</description>
    <dc:creator>Eli Zaretskii</dc:creator>
    <dc:date>2013-06-18T18:55:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87569">
    <title>[PATCH v2] Add convenience variable $_exitsignal</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87569</link>
    <description>&lt;pre&gt;Hi,

This is the second version of the patch which adds the convenience
variable "$_exitsignal".  You can look at the first version here:

&amp;lt;http://sourceware.org/ml/gdb-patches/2013-06/msg00352.html&amp;gt;

I have made the proposed modifications suggested by Eli, Doug and
Pedro.

Doug, please take a look at tell me what you think.  Eli, I have
rewritten the doc entry for $_exitcode in order to make it explain which
variable is set and which is cleared depending on the situation.  And
Pedro, I've made the test more complete.

Hope it is fine now.  When talking to Pedro on IRC, he proposed that I
make $_exitcode a lazy variable.  I will do it after I get the $_signo
patch in (still working on it).

OK to apply?

&lt;/pre&gt;</description>
    <dc:creator>Sergio Durigan Junior</dc:creator>
    <dc:date>2013-06-18T18:46:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87568">
    <title>Re: RFC: fix ref counting in gdbpy_selected_inferior</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87568</link>
    <description>&lt;pre&gt;
Tom&amp;gt; gdbpy_selected_inferior is double-counting its returned object.
Tom&amp;gt; This is obvious when you realize that inferior_to_inferior_object
Tom&amp;gt; returns a new reference.
Tom&amp;gt; This patch fixes the problem by removing an incref.

Tom&amp;gt; Built and regtested on x86-64 Fedora 18.

Tom&amp;gt; * python/py-inferior.c (gdbpy_selected_inferior): Don't incref.

I'm checking this in now.

Tom

&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T18:42:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87567">
    <title>Re: RFC: another Python refcounting fix</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87567</link>
    <description>&lt;pre&gt;
Tom&amp;gt; I had a couple more refcounting fixes on my Python checker branch.
Tom&amp;gt; Here's the first one.  finish_python_initialization does not decref
Tom&amp;gt; 'pythondir' along all the exit paths.

Tom&amp;gt; Built and regtested on x86-64 Fedora 18.

Tom&amp;gt; * python/python.c (finish_python_initialization): Decref
Tom&amp;gt; 'pythondir' on failure path as well.

I'm checking this in now.

Tom

&lt;/pre&gt;</description>
    <dc:creator>Tom Tromey</dc:creator>
    <dc:date>2013-06-18T18:32:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87566">
    <title>Re: [PATCH v3] gdb: clean up x86 cpuid implementations</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87566</link>
    <description>&lt;pre&gt;
Well, that's not the project's policy.  ChangeLogs are supposed to
be reviewed too.

But let's stop this before it gets into a ChangeLog-are-useless
argument...  I know you write good ChangeLog entries.  ;-)

&lt;/pre&gt;</description>
    <dc:creator>Pedro Alves</dc:creator>
    <dc:date>2013-06-18T18:19:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87565">
    <title>Re: [PATCH v2] testsuite/gdb.base: Make skip test not rely on undefined behaviour.</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87565</link>
    <description>&lt;pre&gt;
Applied with this change, thanks!

--
Will Newton
Toolchain Working Group, Linaro

&lt;/pre&gt;</description>
    <dc:creator>Will Newton</dc:creator>
    <dc:date>2013-06-18T18:16:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gdb.patches/87564">
    <title>Re: [RFC] PR 15075 dprintf interferes with "next"</title>
    <link>http://permalink.gmane.org/gmane.comp.gdb.patches/87564</link>
    <description>&lt;pre&gt;

Context is split in multiple lines with '()'s, not ','s:

 (dprintf_create_breakpoints_sal)
 (dprintf_after_condition_true): New functions.



When I tried it last, I didn't find making the dprintf
explicitly silent necessary, given:

      /* Print nothing for this entry if we don't stop or don't
 print.  */
      if (!bs-&amp;gt;stop || !bs-&amp;gt;print)
bs-&amp;gt;print_it = print_it_noop;

So did it turn out really necessary for some reason?  Please
don't leave such changes between revisions unexplained.



(
IMO, we should stop adding these (like glibc has done so too):
http://sourceware.org/ml/gdb-patches/2013-05/msg00253.html
)


That's not exactly true.  It's supported, but testing is racy at the moment.
Write instead:

if [is_remote target] then {
   # Testing with remote/non-stop is racy at the moment.
   unsupported "Testing dprintf with remote/non-stop is not supported."
   return 0
}


Hmm, this still looks racy to me, even on native targets.
"continue &amp;amp;" produces a gdb prompt.  gdb_test_multiple
inside has a&lt;/pre&gt;</description>
    <dc:creator>Pedro Alves</dc:creator>
    <dc:date>2013-06-18T18:09:56</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.gdb.patches">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.gdb.patches</link>
  </textinput>
</rdf:RDF>
