Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: william@nscs.fast.net, kevinb@redhat.com
Cc: ac131313@ges.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5
Date: Fri, 16 Aug 2002 17:08:00 -0000	[thread overview]
Message-ID: <1020817000824.ZM32705@localhost.localdomain> (raw)
In-Reply-To: william@nscs.fast.net "Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5" (Aug 16,  6:18pm)

I've just committed the change below to the 5.2 branch (just in case
it becomes necessary to release a 5.2.2 version of GDB).

Thanks, William!

Kevin

2002-08-16  William Bader  <william@nscs.fast.net>

	* i386-tdep.c (get_longjmp_target): Dynamically allocate ``buf''.

Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.52
diff -u -p -r1.52 i386-tdep.c
--- i386-tdep.c	19 Feb 2002 18:42:27 -0000	1.52
+++ i386-tdep.c	16 Aug 2002 23:53:07 -0000
@@ -858,7 +858,7 @@ i386_pop_frame (void)
 int
 get_longjmp_target (CORE_ADDR *pc)
 {
-  char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT];
+  char *buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT);
   CORE_ADDR sp, jb_addr;
 
   sp = read_register (SP_REGNUM);


      parent reply	other threads:[~2002-08-17  0:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16 14:50 William Bader
2002-08-16 15:08 ` Kevin Buettner
2002-08-16 15:19   ` william
2002-08-16 15:50     ` Kevin Buettner
2002-08-16 17:08     ` Kevin Buettner [this message]

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=1020817000824.ZM32705@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=william@nscs.fast.net \
    /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