Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] Failed to build xstormy16-elf-gdb
@ 2007-01-22  9:51 Masaki Muranaka
  2007-01-23  9:27 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Masaki Muranaka @ 2007-01-22  9:51 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

Hello,

I've failed to build xstormy16-elf-gdb from CVS mainline.
Here is a fix.

2007-01-22  Masaki MURANAKA  <monaka@monami-software.com>

         * xstormy16-tdep.c (xstormy16_skip_prologue): Separate
         code from a declaration.


--
Masaki Muranaka
Monami software


[-- Attachment #2: xstormy16-tdep.c.diff --]
[-- Type: application/octet-stream, Size: 830 bytes --]

Index: xstormy16-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/xstormy16-tdep.c,v
retrieving revision 1.91
diff -u -p -r1.91 xstormy16-tdep.c
--- xstormy16-tdep.c	9 Jan 2007 17:58:59 -0000	1.91
+++ xstormy16-tdep.c	22 Jan 2007 09:47:29 -0000
@@ -416,11 +416,12 @@ xstormy16_skip_prologue (CORE_ADDR pc)
       struct symtab_and_line sal;
       struct symbol *sym;
       struct xstormy16_frame_cache cache;
+      CORE_ADDR plag_end;
 
       memset (&cache, 0, sizeof cache);
 
       /* Don't trust line number debug info in frameless functions. */
-      CORE_ADDR plg_end = xstormy16_analyze_prologue (func_addr, func_end,
+      plg_end = xstormy16_analyze_prologue (func_addr, func_end,
 						      &cache, NULL);
       if (!cache.uses_fp)
         return plg_end;

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] Failed to build xstormy16-elf-gdb
  2007-01-22  9:51 [patch] Failed to build xstormy16-elf-gdb Masaki Muranaka
@ 2007-01-23  9:27 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2007-01-23  9:27 UTC (permalink / raw)
  To: gdb-patches

[Sent again.  For some reason this mail doesn't show up in the ML archive]

On Jan 22 18:50, Masaki Muranaka wrote:
>         * xstormy16-tdep.c (xstormy16_skip_prologue): Separate
>         code from a declaration.

Applied with minor formatting change.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-23  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-22  9:51 [patch] Failed to build xstormy16-elf-gdb Masaki Muranaka
2007-01-23  9:27 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox