From: Michael Snyder <msnyder@cygnus.com>
To: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
Date: Tue, 14 Mar 2000 10:20:00 -0000 [thread overview]
Message-ID: <38CE8221.241F@cygnus.com> (raw)
In-Reply-To: <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
Peter.Schauer wrote:
>
> symfile.c:reread_symbols does not clear the new msymbol hash tables
> in the objfile, causing stale pointers and a GDB crash during the
> reread.exp test on Solaris.
>
> Here is a fix:
Great! I was just noticing that failure last night.
Thanks!
From dima@Chg.RU Tue Mar 14 10:32:00 2000
From: Dmitry Sivachenko <dima@Chg.RU>
To: gdb-patches@sourceware.cygnus.com
Subject: Patch to gdb.texinfo
Date: Tue, 14 Mar 2000 10:32:00 -0000
Message-id: <200003141832.VAA09006@netserv1.chg.ru>
X-SW-Source: 2000-03/msg00253.html
Content-length: 470
Hello!
This patch should fix formatting with makeinfo --html.
Patch was made against revision 1.1.1.14.
--dima
--- gdb.texinfo Tue Mar 14 18:24:59 2000
+++ gdb.1.1.1.14.texinfo Tue Mar 14 18:25:36 2000
@@ -114,7 +114,7 @@
@end titlepage
@page
-@ifinfo
+@ifnottex
@node Top
@top Debugging with @value{GDBN}
@@ -156,7 +156,7 @@
* Index:: Index
@end menu
-@end ifinfo
+@end ifnottex
@node Summary
@unnumbered Summary of @value{GDBN}
From dima@Chg.RU Tue Mar 14 11:30:00 2000
From: Dmitry Sivachenko <dima@Chg.RU>
To: gdb-patches@sourceware.cygnus.com
Subject: Yet another patch to gdb.texinfo
Date: Tue, 14 Mar 2000 11:30:00 -0000
Message-id: <200003141930.WAA10173@netserv1.chg.ru>
X-SW-Source: 2000-03/msg00254.html
Content-length: 722
I think this is better way to add new entry into dir-file:
Please apply this patch.
--dima
--- gdb.texinfo.old Tue Mar 14 19:21:28 2000
+++ gdb.texinfo Tue Mar 14 19:26:58 2000
@@ -32,17 +32,13 @@
@c THIS MANUAL REQUIRES TEXINFO-2 macros and info-makers to format properly.
-@ifinfo
@c This is a dir.info fragment to support semi-automated addition of
@c manuals to an info tree. zoo@cygnus.com is developing this facility.
-@format
-START-INFO-DIR-ENTRY
+@dircategory Programming & development tools.
+@direntry
* Gdb: (gdb). The @sc{gnu} debugger.
-END-INFO-DIR-ENTRY
-@end format
-@end ifinfo
-@c
-@c
+@end direntry
+
@ifinfo
This file documents the @sc{gnu} debugger @value{GDBN}.
From scottb@netwinder.org Tue Mar 14 12:14:00 2000
From: Scott Bambrough <scottb@netwinder.org>
To: gdb-patches@sourceware.cygnus.com
Cc: fnasser@cygnus.com, jingham@cygnus.com
Subject: Patch for arm_push_arguments
Date: Tue, 14 Mar 2000 12:14:00 -0000
Message-id: <38CE9C8B.3EC5B7F1@netwinder.org>
X-SW-Source: 2000-03/msg00255.html
Content-type: multipart/mixed; boundary="----------=_1583534345-29877-3"
This is a multi-part message in MIME format...
------------=_1583534345-29877-3
Content-length: 401
Hi guys,
* arm-tdep.c (arm_push_arguments): Correctly code for converting a
float argument from host format to a target double when preparing the
call frame for a function.
This works for me. Can you try it out. If it works, let me know and I'll check
it in.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
armgdb.diff
------------=_1583534345-29877-3
Content-Type: text/x-diff; charset=us-ascii; name="armgdb.diff"
Content-Disposition: inline; filename="armgdb.diff"
Content-Transfer-Encoding: base64
Content-Length: 4201
SW5kZXg6IGFybS10ZGVwLmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJD
UyBmaWxlOiAvY3ZzL3NyYy9zcmMvZ2RiL2FybS10ZGVwLmMsdg0KcmV0cmll
dmluZyByZXZpc2lvbiAxLjQNCmRpZmYgLXUgLXAgLXIxLjQgYXJtLXRkZXAu
Yw0KLS0tIGFybS10ZGVwLmMJ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b2RlIGJpdCBpcyBwZXJmZWN0
bHkgZmluZS4gRk4gKi8NCisNCiAgICAgICAvKiBJZiB0aGUgYXJndW1lbnQg
aXMgYSBwb2ludGVyIHRvIGEgZnVuY3Rpb24sIGFuZCBpdCBpcyBhIFRodW1i
DQogICAgICAgICAgZnVuY3Rpb24sIHNldCB0aGUgbG93IGJpdCBvZiB0aGUg
cG9pbnRlci4gICovDQogICAgICAgaWYgKFRZUEVfQ09ERV9QVFIgPT0gdHlw
ZWNvZGUNCkBAIC0xMjY2LDcgKzEyMzgsNyBAQCBhcm1fcHVzaF9hcmd1bWVu
dHMgKGludCBuYXJncywgdmFsdWVfcHRyDQogCSAgaWYgKGFybV9wY19pc190
aHVtYiAocmVndmFsKSkNCiAJICAgIHN0b3JlX2FkZHJlc3MgKHZhbCwgbGVu
LCBNQUtFX1RIVU1CX0FERFIgKHJlZ3ZhbCkpOw0KIAl9DQotI2VuZGlmDQor
DQogICAgICAgLyogQ29weSB0aGUgYXJndW1lbnQgdG8gZ2VuZXJhbCByZWdp
c3RlcnMgb3IgdGhlIHN0YWNrIGluDQogICAgICAgICAgcmVnaXN0ZXItc2l6
ZWQgcGllY2VzLiAgTGFyZ2UgYXJndW1lbnRzIGFyZSBzcGxpdCBiZXR3ZWVu
DQogICAgICAgICAgcmVnaXN0ZXJzIGFuZCBzdGFjay4gICovDQo=
------------=_1583534345-29877-3--
From fnasser@cygnus.com Tue Mar 14 12:35:00 2000
From: Fernando Nasser <fnasser@cygnus.com>
To: Scott Bambrough <scottb@netwinder.org>
Cc: gdb-patches@sourceware.cygnus.com, jingham@cygnus.com
Subject: Re: Patch for arm_push_arguments
Date: Tue, 14 Mar 2000 12:35:00 -0000
Message-id: <38CEA1FF.CEA9553@cygnus.com>
References: <38CE9C8B.3EC5B7F1@netwinder.org>
X-SW-Source: 2000-03/msg00256.html
Content-length: 712
Scott,
I have to try it on a few targets, so I need a few days. I will try to run all the tests this week though.
Thanks for doing this.
Fernando
Scott Bambrough wrote:
>
> Hi guys,
>
> * arm-tdep.c (arm_push_arguments): Correctly code for converting a
> float argument from host format to a target double when preparing the
> call frame for a function.
>
> This works for me. Can you try it out. If it works, let me know and I'll check
> it in.
>
> Scott
>
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
From jimb@zwingli.cygnus.com Tue Mar 14 12:38:00 2000
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
Date: Tue, 14 Mar 2000 12:38:00 -0000
Message-id: <npu2i99tjw.fsf@zwingli.cygnus.com>
References: <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
X-SW-Source: 2000-03/msg00257.html
Content-length: 296
> symfile.c:reread_symbols does not clear the new msymbol hash tables in the
> objfile, causing stale pointers and a GDB crash during the reread.exp
> test on Solaris.
>
> Here is a fix:
>
> * symfile.c (reread_symbols): Clear msymbol hash table.
You're absolutely right. Thanks very much.
From jimb@zwingli.cygnus.com Tue Mar 14 13:35:00 2000
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: RFA: solib.c: Clean fix to get rid of severe Solaris 2.7 sparc regressions
Date: Tue, 14 Mar 2000 13:35:00 -0000
Message-id: <nppusx9qxs.fsf@zwingli.cygnus.com>
References: <200003090940.KAA32291@reisser.regent.e-technik.tu-muenchen.de>
X-SW-Source: 2000-03/msg00258.html
Content-length: 593
Okay, I've got this merged with my changes.
> 2000-03-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
>
> * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
> from solib structures. Use it throughout solib.c, get rid of all
> CORE_ADDR casts.
> (struct so_list): Change type of lmaddr to CORE_ADDR.
> (first_link_map_member): Change return value type to CORE_ADDR,
> update callers.
> (solib_add_common_symbols): Change parameter type to CORE_ADDR,
> update callers.
> (open_symbol_file_object, find_solib): Change type of lm variable
> to CORE_ADDR.
WARNING: multiple messages have this Message-ID
From: Michael Snyder <msnyder@cygnus.com>
To: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <38CE8221.241F@cygnus.com> (raw)
Message-ID: <20000401000000.hGgNPFV0ruRVaQkZ8MtMvJpqvt66OR7zonj_Wqp5lCc@z> (raw)
In-Reply-To: <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
Peter.Schauer wrote:
>
> symfile.c:reread_symbols does not clear the new msymbol hash tables
> in the objfile, causing stale pointers and a GDB crash during the
> reread.exp test on Solaris.
>
> Here is a fix:
Great! I was just noticing that failure last night.
Thanks!
From ac131313@cygnus.com Sat Apr 01 00:00:00 2000
From: Andrew Cagney <ac131313@cygnus.com>
To: jtc@redback.com
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: RFA: i386/tm-nsbd.h, i386/nm-nbsd.h
Date: Sat, 01 Apr 2000 00:00:00 -0000
Message-id: <38D7F5FC.8D45CBAF@cygnus.com>
References: <5m66uggiur.fsf@jtc.redbacknetworks.com>
X-SW-Source: 2000-q1/msg00877.html
Content-length: 375
"J.T. Conklin" wrote:
>
> I submit the enclosed patch for approval. These changes enable
> floating point register support on NetBSD/i386.
>
> --jtc
>
> 2000-03-21 J.T. Conklin <jtc@redback.com>
>
> * i386/tm-nbsd.h (NUM_REGS): Removed.
> (HAVE_I387_REGS): Defined.
> * i386/nm-nbsd.h (FLOAT_INFO): Removed.
Approved (thanks).
Andrew
From rearnsha@arm.com Sat Apr 01 00:00:00 2000
From: Richard Earnshaw <rearnsha@arm.com>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: rearnsha@arm.com
Subject: Re: ARM patch -- extra info about cpsr register
Date: Sat, 01 Apr 2000 00:00:00 -0000
Message-id: <200003281047.LAA02722@cam-mail2.cambridge.arm.com>
References: <38DFB300.B82108A@cygnus.com>
X-SW-Source: 2000-q1/msg01082.html
Content-length: 1041
> Hi Richard,
>
> Thanks for the submission. However, we are using something else to show register bits nowadays. It uses the
> REGISTER_VIRTUAL_TYPE and we build a type for the register with bitfields so normal gdb processing (and the GUI) can
> show the bits and allow the user to set a specific bit by name (without having to know its position by heart).
>
> I am sorting out some details and tracking down a bug in gdb before making it available. My code is for another
> processor but it will be very easy to adapt it for ARM. If you fell like helping, as soon as I have a final version I
> can point you to the right pieces of code.
>
> Hope you are not too disappointed.
Not at all. It's not the implementation that's important; it's that the
information be decoded for the user. Mapping a hex number to a set of
mnemonics is something a computer is good and and a human is not. If
your version allows the user to set the register mnemonically as well,
then all the better.
Please keep me posted on your patch.
R.
next parent reply other threads:[~2000-03-14 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
2000-03-14 10:20 ` Michael Snyder [this message]
2000-04-01 0:00 ` Michael Snyder
2000-04-01 0:00 ` Michael Snyder
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=38CE8221.241F@cygnus.com \
--to=msnyder@cygnus.com \
--cc=Peter.Schauer@regent.e-technik.tu-muenchen.de \
--cc=gdb-patches@sourceware.cygnus.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