Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: gdb/m68klinux-tdep.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/m68klinux-nat.c ('k') | gdb/m88k-tdep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/m68klinux-tdep.c
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index d6dc3ee229495c6ca853241acf9e0137139b0dbf..e647fe72227fb36e0589f997fcd86893ac30fcd6 100644
--- a/gdb/m68klinux-tdep.c
+++ b/gdb/m68klinux-tdep.c
@@ -1,7 +1,6 @@
/* Motorola m68k target-dependent support for GNU/Linux.
- Copyright (C) 1996, 1998, 2000-2004, 2007-2012 Free Software
- Foundation, Inc.
+ Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -24,7 +23,7 @@
#include "floatformat.h"
#include "frame.h"
#include "target.h"
-#include "gdb_string.h"
+#include <string.h>
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
@@ -229,16 +228,10 @@ m68k_linux_get_sigtramp_info (struct frame_info *this_frame)
CORE_ADDR sp;
struct m68k_linux_sigtramp_info info;
+ /* Determine whether we are running on a uClinux or normal GNU/Linux
+ target so we can use the correct sigcontext layouts. */
if (target_is_uclinux == -1)
- {
- /* Determine whether we are running on a uClinux or normal GNU/Linux
- target so we can use the correct sigcontext layouts. */
- CORE_ADDR dummy;
-
- target_is_uclinux
- = (target_auxv_search (&current_target, AT_NULL, &dummy) > 0
- && target_auxv_search (&current_target, AT_PAGESZ, &dummy) == 0);
- }
+ target_is_uclinux = linux_is_uclinux ();
sp = get_frame_register_unsigned (this_frame, M68K_SP_REGNUM);
« no previous file with comments | « gdb/m68klinux-nat.c ('k') | gdb/m88k-tdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698