diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-12-09 17:57:18 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-12-09 19:50:14 +0800 |
commit | 5e8c1cf25beccac1d22d10dc866912394f42771b (patch) | |
tree | ee16b70f804484dc8e434e647e699ab50da2620f /binutils-2.25/include/gdb | |
parent | 8eebd7953384e6662ca926b003f2cdda8ccd3ee5 (diff) | |
download | toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.zip toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.tar.gz toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.tar.bz2 |
[2.25] sync to a30720e3e633f275250e26f85ccae5dbdddfb6c6
local patches will be re-applied later
commit a30720e3e633f275250e26f85ccae5dbdddfb6c6
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 19 10:30:16 2014 +1030
daily update
Change-Id: Ieb2a3f4dd2ecb289ac5305ff08d428b2847494ab
Diffstat (limited to 'binutils-2.25/include/gdb')
-rw-r--r-- | binutils-2.25/include/gdb/ChangeLog | 18 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/callback.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/fileio.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/gdb-index.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/remote-sim.h | 6 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/section-scripts.h | 50 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/signals.def | 16 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/signals.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-arm.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-bfin.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-cr16.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-d10v.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-frv.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-h8300.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-lm32.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-m32c.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-ppc.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-rl78.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-rx.h | 2 | ||||
-rw-r--r-- | binutils-2.25/include/gdb/sim-sh.h | 2 |
20 files changed, 94 insertions, 28 deletions
diff --git a/binutils-2.25/include/gdb/ChangeLog b/binutils-2.25/include/gdb/ChangeLog index 142f87a..135391d 100644 --- a/binutils-2.25/include/gdb/ChangeLog +++ b/binutils-2.25/include/gdb/ChangeLog @@ -1,3 +1,19 @@ +2014-03-10 Mike Frysinger <vapier@gentoo.org> + + * remote-sim.h (sim_do_command): Add const to cmd. + +2014-03-05 Alan Modra <amodra@gmail.com> + + Update copyright notice. + +2014-03-05 Mike Frysinger <vapier@gentoo.org> + + * remote-sim.h (sim_load): Add const to prog. + +2014-02-09 Doug Evans <xdje42@gmail.com> + + * section-scripts.h: New file. + 2013-03-15 Steve Ellcey <sellcey@mips.com> * gdb/remote-sim.h (sim_command_completer): Make char arguments const. @@ -258,7 +274,7 @@ Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke@superh.com> * signals.h: New file, from gdb/defs.h. -Copyright (C) 2002-2013 Free Software Foundation, Inc. +Copyright (C) 2002-2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/binutils-2.25/include/gdb/callback.h b/binutils-2.25/include/gdb/callback.h index f830398..bb1edac 100644 --- a/binutils-2.25/include/gdb/callback.h +++ b/binutils-2.25/include/gdb/callback.h @@ -1,5 +1,5 @@ /* Remote target system call callback support. - Copyright 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/fileio.h b/binutils-2.25/include/gdb/fileio.h index 73275d4..0bddb89 100644 --- a/binutils-2.25/include/gdb/fileio.h +++ b/binutils-2.25/include/gdb/fileio.h @@ -1,6 +1,6 @@ /* Hosted File I/O interface definitions, for GDB, the GNU Debugger. - Copyright 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/binutils-2.25/include/gdb/gdb-index.h b/binutils-2.25/include/gdb/gdb-index.h index b43c68f..a8d4f2f 100644 --- a/binutils-2.25/include/gdb/gdb-index.h +++ b/binutils-2.25/include/gdb/gdb-index.h @@ -1,5 +1,5 @@ /* Public attributes of the .gdb_index section. - Copyright 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/remote-sim.h b/binutils-2.25/include/gdb/remote-sim.h index 113030c..c335d4f 100644 --- a/binutils-2.25/include/gdb/remote-sim.h +++ b/binutils-2.25/include/gdb/remote-sim.h @@ -1,6 +1,6 @@ /* This file defines the interface between the simulator and gdb. - Copyright 1993-2013 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -140,7 +140,7 @@ void sim_close (SIM_DESC sd, int quitting); Such manipulation should probably (?) occure in sim_create_inferior. */ -SIM_RC sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty); +SIM_RC sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty); /* Prepare to run the simulated program. @@ -273,7 +273,7 @@ void sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc); Simulators should be prepared to deal with any combination of NULL or empty CMD. */ -void sim_do_command (SIM_DESC sd, char *cmd); +void sim_do_command (SIM_DESC sd, const char *cmd); /* Complete a command based on the available sim commands. Returns an array of possible matches. */ diff --git a/binutils-2.25/include/gdb/section-scripts.h b/binutils-2.25/include/gdb/section-scripts.h new file mode 100644 index 0000000..e788f33 --- /dev/null +++ b/binutils-2.25/include/gdb/section-scripts.h @@ -0,0 +1,50 @@ +/* Definition of kinds of records in section .debug_gdb_scripts. + + Copyright (C) 2014 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef GDB_SECTION_SCRIPTS_H +#define GDB_SECTION_SCRIPTS_H + +/* Each entry in section .debug_gdb_scripts begins with a byte that is used to + identify the entry. This byte is to use as we choose. + 0 is reserved so that it is never used (to catch errors). + It is recommended to avoid ASCII values 32-127 to help catch (most) cases + of forgetting to include this byte. + Other unused values needn't specify different scripting languages, + but we have no need for anything else at the moment. + + Future extension: Include the contents of the script in the section. + + These values are defined as macros so that they can be used in embedded + asms and assembler source files. */ + +/* Reserved. */ +#define SECTION_SCRIPT_ID_NEVER_USE 0 + +/* The record is a nul-terminated file name to load as a python file. */ +#define SECTION_SCRIPT_ID_PYTHON_FILE 1 + +/* Native GDB scripts are not currently supported in .debug_gdb_scripts, + but we reserve a value for it. */ +/*#define SECTION_SCRIPT_ID_GDB_FILE 2*/ + +/* The record is a nul-terminated file name to load as a guile(scheme) + file. */ +#define SECTION_SCRIPT_ID_SCHEME_FILE 3 + +#endif /* GDB_SECTION_SCRIPTS_H */ diff --git a/binutils-2.25/include/gdb/signals.def b/binutils-2.25/include/gdb/signals.def index 637d00d..7fa44d9 100644 --- a/binutils-2.25/include/gdb/signals.def +++ b/binutils-2.25/include/gdb/signals.def @@ -1,5 +1,5 @@ /* Target signal numbers for GDB and the GDB remote protocol. - Copyright 2010-2013 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -186,15 +186,15 @@ SET (GDB_SIGNAL_DEFAULT, 144, NULL, /* Mach exceptions. In versions of GDB before 5.2, these were just before GDB_SIGNAL_INFO if you were compiling on a Mach host (and missing otherwise). */ -SET (TARGET_EXC_BAD_ACCESS, 145, "EXC_BAD_ACCESS", "Could not access memory") -SET (TARGET_EXC_BAD_INSTRUCTION, 146, "EXC_BAD_INSTRUCTION", +SET (GDB_EXC_BAD_ACCESS, 145, "EXC_BAD_ACCESS", "Could not access memory") +SET (GDB_EXC_BAD_INSTRUCTION, 146, "EXC_BAD_INSTRUCTION", "Illegal instruction/operand") -SET (TARGET_EXC_ARITHMETIC, 147, "EXC_ARITHMETIC", "Arithmetic exception") -SET (TARGET_EXC_EMULATION, 148, "EXC_EMULATION", "Emulation instruction") -SET (TARGET_EXC_SOFTWARE, 149, "EXC_SOFTWARE", "Software generated exception") -SET (TARGET_EXC_BREAKPOINT, 150, "EXC_BREAKPOINT", "Breakpoint") +SET (GDB_EXC_ARITHMETIC, 147, "EXC_ARITHMETIC", "Arithmetic exception") +SET (GDB_EXC_EMULATION, 148, "EXC_EMULATION", "Emulation instruction") +SET (GDB_EXC_SOFTWARE, 149, "EXC_SOFTWARE", "Software generated exception") +SET (GDB_EXC_BREAKPOINT, 150, "EXC_BREAKPOINT", "Breakpoint") /* If you are adding a new signal, add it just above this comment. */ /* Last and unused enum value, for sizing arrays, etc. */ -SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_MAGIC") +SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_LAST") diff --git a/binutils-2.25/include/gdb/signals.h b/binutils-2.25/include/gdb/signals.h index 1ee2c16..70834d4 100644 --- a/binutils-2.25/include/gdb/signals.h +++ b/binutils-2.25/include/gdb/signals.h @@ -1,5 +1,5 @@ /* Target signal numbers for GDB and the GDB remote protocol. - Copyright 1986-2013 Free Software Foundation, Inc. + Copyright (C) 1986-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-arm.h b/binutils-2.25/include/gdb/sim-arm.h index cae062f..71353c3 100644 --- a/binutils-2.25/include/gdb/sim-arm.h +++ b/binutils-2.25/include/gdb/sim-arm.h @@ -1,6 +1,6 @@ /* This file defines the interface between the Arm simulator and GDB. - Copyright 2002-2013 Free Software Foundation, Inc. + Copyright (C) 2002-2014 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.25/include/gdb/sim-bfin.h b/binutils-2.25/include/gdb/sim-bfin.h index ef2a115..24e4039 100644 --- a/binutils-2.25/include/gdb/sim-bfin.h +++ b/binutils-2.25/include/gdb/sim-bfin.h @@ -1,6 +1,6 @@ /* This file defines the interface between the Blackfin simulator and GDB. - Copyright (C) 2005-2013 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. Contributed by Analog Devices. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-cr16.h b/binutils-2.25/include/gdb/sim-cr16.h index 1503657..28922b4 100644 --- a/binutils-2.25/include/gdb/sim-cr16.h +++ b/binutils-2.25/include/gdb/sim-cr16.h @@ -1,6 +1,6 @@ /* This file defines the interface between the cr16 simulator and gdb. - Copyright 2008-2013 Free Software Foundation, Inc. + Copyright (C) 2008-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-d10v.h b/binutils-2.25/include/gdb/sim-d10v.h index 12eaa63..e75be32 100644 --- a/binutils-2.25/include/gdb/sim-d10v.h +++ b/binutils-2.25/include/gdb/sim-d10v.h @@ -1,6 +1,6 @@ /* This file defines the interface between the d10v simulator and gdb. - Copyright 1999-2013 Free Software Foundation, Inc. + Copyright (C) 1999-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-frv.h b/binutils-2.25/include/gdb/sim-frv.h index bdb17f8..3e06874 100644 --- a/binutils-2.25/include/gdb/sim-frv.h +++ b/binutils-2.25/include/gdb/sim-frv.h @@ -1,6 +1,6 @@ /* This file defines the interface between the FR-V simulator and GDB. - Copyright 2003-2013 Free Software Foundation, Inc. + Copyright (C) 2003-2014 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.25/include/gdb/sim-h8300.h b/binutils-2.25/include/gdb/sim-h8300.h index 1649b52..9020cdb 100644 --- a/binutils-2.25/include/gdb/sim-h8300.h +++ b/binutils-2.25/include/gdb/sim-h8300.h @@ -1,5 +1,5 @@ /* This file defines the interface between the h8300 simulator and gdb. - Copyright (C) 2002-2013 Free Software Foundation, Inc. + Copyright (C) 2002-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-lm32.h b/binutils-2.25/include/gdb/sim-lm32.h index b04d8d6..c81caf2 100644 --- a/binutils-2.25/include/gdb/sim-lm32.h +++ b/binutils-2.25/include/gdb/sim-lm32.h @@ -1,7 +1,7 @@ /* This file defines the interface between the LM32 simulator and GDB. Contributed by Jon Beniston <jon@beniston.com> - Copyright (C) 2009-2013 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-m32c.h b/binutils-2.25/include/gdb/sim-m32c.h index 963ae04..a240b81 100644 --- a/binutils-2.25/include/gdb/sim-m32c.h +++ b/binutils-2.25/include/gdb/sim-m32c.h @@ -1,5 +1,5 @@ /* This file defines the interface between the m32c simulator and gdb. - Copyright (C) 2005-2013 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.25/include/gdb/sim-ppc.h b/binutils-2.25/include/gdb/sim-ppc.h index 188eb49..9aa0258 100644 --- a/binutils-2.25/include/gdb/sim-ppc.h +++ b/binutils-2.25/include/gdb/sim-ppc.h @@ -1,6 +1,6 @@ /* sim-ppc.h --- interface between PowerPC simulator and GDB. - Copyright 2004-2013 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.25/include/gdb/sim-rl78.h b/binutils-2.25/include/gdb/sim-rl78.h index c52a2a7..093058f 100644 --- a/binutils-2.25/include/gdb/sim-rl78.h +++ b/binutils-2.25/include/gdb/sim-rl78.h @@ -1,6 +1,6 @@ /* sim-rx.h --- interface between rl78 simulator and GDB. - Copyright 2011-2013 Free Software Foundation, Inc. + Copyright (C) 2011-2014 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.25/include/gdb/sim-rx.h b/binutils-2.25/include/gdb/sim-rx.h index c4d855f..2ea4a7a 100644 --- a/binutils-2.25/include/gdb/sim-rx.h +++ b/binutils-2.25/include/gdb/sim-rx.h @@ -1,6 +1,6 @@ /* sim-rx.h --- interface between RX simulator and GDB. - Copyright 2008-2013 Free Software Foundation, Inc. + Copyright (C) 2008-2014 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.25/include/gdb/sim-sh.h b/binutils-2.25/include/gdb/sim-sh.h index 4e37992..83307e9 100644 --- a/binutils-2.25/include/gdb/sim-sh.h +++ b/binutils-2.25/include/gdb/sim-sh.h @@ -1,5 +1,5 @@ /* This file defines the interface between the sh simulator and gdb. - Copyright (C) 2000-2013 Free Software Foundation, Inc. + Copyright (C) 2000-2014 Free Software Foundation, Inc. This file is part of GDB. |