binutils-gdb.git
11 years ago * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR,
Luis Machado [Thu, 16 May 2013 10:31:49 +0000 (10:31 +0000)]
* linux-low.c: Move definition checks upwards for PT_TEXT_ADDR,
PT_DATA_ADDR and PT_TEXT_END_ADDR.  Update comments.
(linux_read_offsets): Remove PT_TEXT_ADDR, PT_DATA_ADDR and
PT_TEXT_END_ADDR guards.  Update comments.
(linux_target_op) <read_offsets>: Conditionally define to
linux_read_offsets if the target is UCLIBC and if it defines
PT_TEXT_ADDR, PT_DATA_ADDR and PT_TEXT_END_ADDR.

11 years agogdb.ada/complete.exp: Fix FIXME.
Pedro Alves [Thu, 16 May 2013 10:13:33 +0000 (10:13 +0000)]
gdb.ada/complete.exp: Fix FIXME.

2013-05-16  Pedro Alves  <palves@redhat.com>

* gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
comment.  Use gdb_test_no_output.

11 years ago[dwarf]: Add DW_LANG_UPC support in set_cu_language.
Joel Brobecker [Thu, 16 May 2013 07:39:43 +0000 (07:39 +0000)]
[dwarf]: Add DW_LANG_UPC support in set_cu_language.

gdb/ChangeLog:

        * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.

11 years agoMissing do_cleanups in ada_make_symbol_completion_list.
Joel Brobecker [Thu, 16 May 2013 07:02:43 +0000 (07:02 +0000)]
Missing do_cleanups in ada_make_symbol_completion_list.

This results in an internal-warning when trying the completion
when in Ada mode:

    (gdb) b simple<TAB>
    /[...]/cleanups.c:265: internal-warning: restore_my_cleanups has found a stale cleanup
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Quit this debugging session? (y or n)

gdb/ChangeLog:

        * ada-lang.c (ada_make_symbol_completion_list): Make sure
        all cleanups are done before returning from this function.

gdb/testsuite/ChangeLog:

        * gdb.ada/complete.exp: Add test verifying completion using
        the "tab" key.

11 years agodaily update
Alan Modra [Thu, 16 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Thu, 16 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years ago * gdb.base/filesym.exp: New completer test.
Keith Seitz [Wed, 15 May 2013 21:21:05 +0000 (21:21 +0000)]
* gdb.base/filesym.exp: New completer test.
* gdb.base/filesym.c: New file.

11 years agosim: arm: add support for MOVW and MOVT instructions
Mike Frysinger [Wed, 15 May 2013 17:49:44 +0000 (17:49 +0000)]
sim: arm: add support for MOVW and MOVT instructions

From: Jayant R. Sonar <Jayant.Sonar@kpitcummins.com>

This patch adds simulator support for handling the armv7 instructions
'movw (immediate)' and 'movt'.

Compiler frequently use these instructions to load the 32bit addresses of
global variables, string pointers etc. into the general registers.

In absence of support of these instructions:
1. GDB run simulator fails to print even simple "hello world" string
   on console.
2. Loading of global variable addresses into the registers fail causing
   arithmetic operation failures.

Patch has been regression tested for arm-none-eabi (-march=armv7-a).

11 years agoRemove my name from a couple tests.
Pedro Alves [Wed, 15 May 2013 17:33:04 +0000 (17:33 +0000)]
Remove my name from a couple tests.

Tested on x86_64 Fedora 17.

gdb/testsuite/
2013-05-15  Pedro Alves  <palves@redhat.com>

* gdb.base/fixsection.c: Remove attribution.
* gdb.base/watch-read.exp: Ditto.

11 years agobinutils/
Cary Coutant [Wed, 15 May 2013 16:36:38 +0000 (16:36 +0000)]
binutils/
* dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
don't increment PTR.
(decode_location_expression): DW_OP_const2u should read 2 bytes.
(display_debug_lines_decoded): Adjust formatting.
* elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
7-byte reads.
(byte_get_big_endian): Likewise.
(byte_get_signed): Likewise.

11 years agoRemove forward enum declaration in utils.h.
Joel Brobecker [Wed, 15 May 2013 12:49:05 +0000 (12:49 +0000)]
Remove forward enum declaration in utils.h.

These forward declarations are a GNU extension, and they trigger
a build warning when the compiler does not support it.

gdb/ChangeLog:

        * utils.h: #include "exceptions.h".
        (enum errors): Remove partial declaration.

11 years agoppc-aix core file relocation.
Joel Brobecker [Wed, 15 May 2013 12:26:14 +0000 (12:26 +0000)]
ppc-aix core file relocation.

The current code attempts to provide relocation support when debugging
core files via the rs6000_xfer_partial method of the rs6000-nat
target_ops vector. However, this target_ops vector does not get pushed
on the target stack at all when debugging core files, thus bypassing
completely that part of the code.

This patch fixes the problem by extending corelow's core_xfer_partial
into handling the TARGET_OBJECT_LIBRARIES_AIX object.

gdb/ChangeLog:

* gdbarch.sh (core_xfer_shared_libraries_aix): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX
handling.

* rs6000-aix-tdep.h: New file.
* Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h.
* rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and
"xml-utils.h".
(struct field_info, struct ld_info_desc): New types.
(ld_info32_desc, ld_info64_desc): New static constants.
(struct ld_info): New type.
(rs6000_aix_extract_ld_info): New function.
(rs6000_aix_shared_library_to_xml): Likewise.
(rs6000_aix_ld_info_to_xml): Likewise.
(rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
(rs6000_aix_init_osabi): Add call to
set_gdbarch_core_xfer_shared_libraries_aix.
* rs6000-nat.c: Add "rs6000-aix-tdep.h" include.
Remove "xml-utils.h" include.
(LdInfo): Delete typedef.
(ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME):
Delete macros.
(rs6000_ptrace_ldinfo): Change return type to gdb_byte *.
Adjust code accordingly.
(rs6000_core_ldinfo): Delete, folded into
rs6000_aix_core_xfer_shared_libraries_aix.
(rs6000_xfer_shared_library): Delete.
(rs6000_xfer_shared_libraries): Reimplement.

11 years agoThe "record goto" command scans its arguments for "begin", "start", or "end".
Markus Metzger [Wed, 15 May 2013 07:04:12 +0000 (07:04 +0000)]
The "record goto" command scans its arguments for "begin", "start", or "end".
Turn those into sub-commands.

Document the "record goto" command.

11 years ago* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.
Andreas Schwab [Wed, 15 May 2013 06:51:19 +0000 (06:51 +0000)]
* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.

11 years agogas/
Saravanan Ekanathan [Wed, 15 May 2013 05:06:23 +0000 (05:06 +0000)]
gas/
* i386-gen.c (cpu_flag_init): Add CpuFSGSBase in CPU_BDVER3_FLAGS.
* i386-init.h: Regenerated.

11 years ago*** empty log message ***
gdbadmin [Wed, 15 May 2013 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

11 years agodaily update
Alan Modra [Wed, 15 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years agogdb/
Jan Kratochvil [Tue, 14 May 2013 20:41:45 +0000 (20:41 +0000)]
gdb/
* linespec.c (convert_linespec_to_sals): New comment for
SOURCE_FILENAME assignment.

11 years agogdb/
Jan Kratochvil [Tue, 14 May 2013 20:39:12 +0000 (20:39 +0000)]
gdb/
* cleanups.c (restore_my_cleanups): Replace gdb_assert by
internal_warning.

11 years ago * eval.c (parse_and_eval_long): Make 'exp' const.
Tom Tromey [Tue, 14 May 2013 20:37:57 +0000 (20:37 +0000)]
* eval.c (parse_and_eval_long): Make 'exp' const.
* value.h (parse_and_eval_long): Update.

11 years ago * ui-file.c (gdb_fopen): Make arguments const.
Tom Tromey [Tue, 14 May 2013 20:35:24 +0000 (20:35 +0000)]
* ui-file.c (gdb_fopen): Make arguments const.
* ui-file.h (gdb_fopen): Make arguments const.

11 years ago * remote.c (remote_set_trace_notes): Make arguments const.
Tom Tromey [Tue, 14 May 2013 20:33:36 +0000 (20:33 +0000)]
* remote.c (remote_set_trace_notes): Make arguments const.
* target.c (update_current_target): Update cast.
* target.h (to_set_trace_notes): Make arguments const.

11 years ago * go32-nat.c (go32_terminal_info): Make 'args' const.
Tom Tromey [Tue, 14 May 2013 20:32:15 +0000 (20:32 +0000)]
* go32-nat.c (go32_terminal_info): Make 'args' const.
* inferior.h (child_terminal_info): Update.
* inflow.c (child_terminal_info): Make 'args' const.
* target.c (default_terminal_info): Make 'args' const.
(debug_to_terminal_save_ours): Likewise.
* target.h (struct target_ops) <to_terminal_info>: Make argument
const.

11 years ago * gcore.c (create_gcore_bfd): Make 'filename' const.
Tom Tromey [Tue, 14 May 2013 20:30:48 +0000 (20:30 +0000)]
* gcore.c (create_gcore_bfd): Make 'filename' const.
* gcore.h (create_gcore_bfd): Make 'filename' const.
* record-full.c (record_full_save): Make 'recfilename' const.
* target.c (target_save_record): Make 'filename' const.
* target.h (struct target_ops) <to_save_record>: Make 'filename'
const.
(target_save_record): Likewise.

11 years agodaily update
Alan Modra [Tue, 14 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 14 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years agoCorrected the changelog entry in the previous commit.
Yufeng Zhang [Mon, 13 May 2013 22:33:54 +0000 (22:33 +0000)]
Corrected the changelog entry in the previous commit.

11 years agogas/
Yufeng Zhang [Mon, 13 May 2013 22:28:27 +0000 (22:28 +0000)]
gas/

* testsuite/gas/aarch64/diagnostic.s: Update.
* testsuite/gas/aarch64/diagnostic.l: Ditto.
* testsuite/gas/aarch64/movi.s: Add new tests.
* testsuite/gas/aarch64/movi.d: Update.

opcodes/

* aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion.
* aarch64-opc.c (operand_general_constraint_met_p): Relax the range
check from [0, 255] to [-128, 255].

11 years ago * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
Tom Tromey [Mon, 13 May 2013 19:32:17 +0000 (19:32 +0000)]
* gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
size and change type sizes to 4 bytes.

11 years agogold/
Cary Coutant [Mon, 13 May 2013 17:35:22 +0000 (17:35 +0000)]
gold/
     * configure.ac: Export DEFAULT_TARGET.
     * configure: Regenerate.
     * Makefile.in: Regenerate.
     * testsuite/Makefile.am: Add .EXPORT_ALL_VARIABLES.
     * testsuite/Makefile.in: Regenerate.
     * testsuite/debug_msg.sh: Delete duplicate tests.
     Don't check undef_int error message match for powerpc where the
     source file and line number aren't available.

11 years agofix PR number in ChangeLog
Tom Tromey [Mon, 13 May 2013 16:57:20 +0000 (16:57 +0000)]
fix PR number in ChangeLog

11 years ago PR gdb/15538:
Tom Tromey [Mon, 13 May 2013 16:56:09 +0000 (16:56 +0000)]
PR gdb/15538:
* dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
ranges section has been read.

11 years ago PR exp/15364:
Tom Tromey [Mon, 13 May 2013 16:51:52 +0000 (16:51 +0000)]
PR exp/15364:
* eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
STRUCTOP_PTR>: Return a not_lval value for
EVAL_AVOID_SIDE_EFFECTS.
* opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
for EVAL_AVOID_SIDE_EFFECTS.
gdb/testsuite
* gdb.base/exprs.exp (test_expr): Add regression test.
* gdb.base/exprs.c (null_t_struct): New global.

11 years ago * v850.igen (LDSR): Accept but ignore a selID parameter.
Nick Clifton [Mon, 13 May 2013 10:52:52 +0000 (10:52 +0000)]
* v850.igen (LDSR): Accept but ignore a selID parameter.

11 years agoFloat parameter passing in funcall on ppc-aix & ppc-lynx178.
Joel Brobecker [Mon, 13 May 2013 10:27:35 +0000 (10:27 +0000)]
Float parameter passing in funcall on ppc-aix & ppc-lynx178.

Given the following code:

    float global_float = 0.0;

    void
    set_float (float f)
    {
      global_float = f;
    }

GDB incorrectly calls set_float if the set_float function is marked
as prototyped:

    (gdb) call set_float (5.0)
    (gdb) print global_float
    $1 = 2048

What happens, when the function is marked as prototyped, is that
GDB finds that the argument is a float, casts the value given in
the expression to a float, and then gives that float to ppc-aix/
ppc-lynx178's push_dummy_call gdbarch routine. The latter then blindly
copies it as is in the first floating-point register, instead of
making sure that it has the proper format first.

gdb/ChangeLog:

        * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
        floating point registers to register type before storing
        value.
        * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
        Likewise.

11 years ago* History saving should stay disabled for test cases *
Muhammad Bilal [Mon, 13 May 2013 08:49:23 +0000 (08:49 +0000)]
* History saving should stay disabled for test cases *

I saw some test cases in gdb.base/default.exp and gdb.base/setshow.exp
are enabling the history saving.
Hence .gdb_history file is modified with history information even
though, by default, we have History saving disabled.
So we should modify GDB test cases so that history saving should stay
off for all test cases.

ChangeLog:

2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>

       * gdb.base/default.exp: Disable history saving.
       * gdb.base/setshow.exp: Likewise.

11 years ago*** empty log message ***
gdbadmin [Mon, 13 May 2013 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

11 years agodaily update
Alan Modra [Mon, 13 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 12 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Sun, 12 May 2013 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

11 years agodaily update
Alan Modra [Sat, 11 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Sat, 11 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years agogold/
Roland McGrath [Fri, 10 May 2013 22:33:35 +0000 (22:33 +0000)]
gold/
* options.h (General_options): Add --rosegment-gap option.
* options.cc (finalize): --rosegment-gap implies --rosegment.
* layout.cc (set_segment_offsets): Let user option override
target->rosegment_gap().

11 years agogold/
Roland McGrath [Fri, 10 May 2013 20:35:47 +0000 (20:35 +0000)]
gold/
* options.h (General_options): Remove leading space from help
messages for -nostdlib and --rosegment.

11 years ago2013-05-10 Joel Brobecker <brobecker@adacore.com>
Tom Tromey [Fri, 10 May 2013 17:01:00 +0000 (17:01 +0000)]
2013-05-10  Joel Brobecker  <brobecker@adacore.com>
    Tom Tromey  <tromey@redhat.com>

* common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
New functions.
* common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
Declare.
* darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec.
(darwin_ptrace_him): Use unmark_fd_no_cloexec.
* inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec.
(inf_ttrace_prepare): Use mark_fd_no_cloexec.

11 years agogdb
Tom Tromey [Fri, 10 May 2013 16:10:40 +0000 (16:10 +0000)]
gdb
Freddie Chopin  <freddie_chopin@op.pl>
PR build/15414:
* configure: Rebuild.
* configure.ac (build_warnings): Do not use -Wformat-nonliteral
with -Wno-format.
sim/common
* acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use
-Wformat-nonliteral with -Wno-format.
sim/bfin
* configure: Rebuild.
sim/cr16
* configure: Rebuild.
sim/cris
* configure: Rebuild.
sim/d10v
* configure: Rebuild.
sim/igen
* configure: Rebuild.
sim/m68hc11
* configure: Rebuild.
sim/mips
* configure: Rebuild.
sim/mn10300
* configure: Rebuild.
sim/v850
* configure: Rebuild.

11 years agoFix typo in "show remote traceframe-info-packet"
Pedro Alves [Fri, 10 May 2013 14:31:05 +0000 (14:31 +0000)]
Fix typo in "show remote traceframe-info-packet"

I noticed:

  (gdb) show remote traceframe-info-packet
  Support for the `qXfer:trace-frame-info:read' packet is auto-detected, currently unknown.
                         ^^^^^^^^^^^

The packet is actually qXfer:traceframe-info:read.

gdb/
2013-05-10  Pedro Alves  <palves@redhat.com>

* remote.c (_initialize_remote): Fix spelling of
qXfer:traceframe-info:read packet in packet config command.

11 years agoPR remote/15455 - QTro remote packet broken
Pedro Alves [Fri, 10 May 2013 13:59:45 +0000 (13:59 +0000)]
PR remote/15455 - QTro remote packet broken

In the function remote_trace_set_readonly_regions in gdb/remote.c, the
local variable 'offset' does not account for "QTro" at the start of
the packet with the result that if there are any read-only regions,
the packet is sent -- but without the "QTro" -- causing the remote
stub to report that the packet is unsupported:

  Sending packet: $:0000000000400200,(...),00000000004560a4#ab...Packet received:

vs the expected:

  Sending packet: $QTro:0000000000400200,(...),00000000004560a4#31...Packet received: OK

We don't see the problem when testing with GDBserver, as that supports
qXfer:trace-frame-info:read, meaning GDBserver never needs to read
from the read-only sections directly itself.  This commit adds a test
that explicitly disables qXfer:trace-frame-info:read.

gdb/
2013-05-10  David Taylor  <dtaylor@emc.com>

PR remote/15455

* remote.c (remote_trace_set_readonly_regions): Do not overwrite
"QTro" at start of packet.

gdb/testsuite/
2013-05-10  Pedro Alves  <palves@redhat.com>

PR remote/15455

* gdb.trace/qtro.c: New file.
* gdb.trace/qtro.exp: New file.

11 years agoRemove FIXME in solib-aix.c:solib_aix_relocate_section_addresses
Joel Brobecker [Fri, 10 May 2013 13:25:28 +0000 (13:25 +0000)]
Remove FIXME in solib-aix.c:solib_aix_relocate_section_addresses

This issue should now be fixed thanks to a change in bfd removing
the SEC_ALLOC flag from all sections that do not get mapped to
memory.

gdb/ChangeLog:

        * solib-aix.c (solib_aix_relocate_section_addresses):
        Remove FIXME comment.

11 years agoXCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections.
Joel Brobecker [Fri, 10 May 2013 13:08:24 +0000 (13:08 +0000)]
XCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections.

The .except, .loader and .typchk are not mapped to memory,
so do not set their SEC_ALLOC flag.

bfd/ChangeLog:

        * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling
        of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections.

ld/testsuite/ChangeLog:

        * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd,
        ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags
        for section .loader.

11 years agoAIX: wrong address for shared object's .bss section
Joel Brobecker [Fri, 10 May 2013 12:55:13 +0000 (12:55 +0000)]
AIX: wrong address for shared object's .bss section

gdb/ChangeLog:

        * solib-aix.c (solib_aix_relocate_section_addresses):
        For the .bss section action, apply the same offset as
        the .data section.

11 years agomove sparc-sol-thread.c back into sol-thread.c.
Joel Brobecker [Fri, 10 May 2013 12:10:20 +0000 (12:10 +0000)]
move sparc-sol-thread.c back into sol-thread.c.

The routines in sparc-sol-thread used to be SPARC-specific (and
documented as such in the ptrace man page), and therefore hosting them
in a sparc-specific file made sense.  However, newer versions of
Solaris now use those callbacks (Solaris 10 Update 10, apparently),
and thus the note about these callbacks being specific to SPARC
was removed.

So this patch deletes sparc-sol-thread.c and moves the code back
inside sol-thread.c.

gdb/ChangeLog:

        PR tdep/15420:
        * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
        New functions, directly copied from sparc-sol-thread.c.
        * sparc-sol-thread.c: Delete.
        * configure.ac: Remove code handling sparc-solaris-thread.c.
        * configure: Regenerate.

11 years ago2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Fri, 10 May 2013 10:26:03 +0000 (10:26 +0000)]
2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>

* stack.c (backtrace_command_1): Add "no-filters", and Python frame
filter logic.
(backtrace_command): Add "no-filters" option parsing.
(_initialize_stack): Alter help to reflect "no-filters" option.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
(SUBDIR_PYTHON_SRCS): Add py-framefilter.c
(py-frame.o): Add target
* data-directory/Makefile.in (PYTHON_DIR): Add Python frame
filter files.
* python/python.h: Add new frame filter constants, and flag enum.
(apply_frame_filter): Add definition.
* python/python.c (apply_frame_filter): New non-Python
enabled function.
* python/py-utils.c (py_xdecref): New function.
(make_cleanup_py_xdecref): Ditto.
* python/py-objfile.c: Declare frame_filters dictionary.
(objfpy_dealloc): Add frame_filters dealloc.
(objfpy_new): Initialize frame_filters attribute.
(objfile_to_objfile_object): Ditto.
(objfpy_get_frame_filters): New function.
(objfpy_set_frame_filters): New function.
* python/py-progspace.c: Declare frame_filters dictionary.
(pspy_dealloc): Add frame_filters dealloc.
(pspy_new): Initialize frame_filters attribute.
(pspacee_to_pspace_object): Ditto.
(pspy_get_frame_filters): New function.
(pspy_set_frame_filters): New function.
* python/py-framefilter.c: New file.
* python/lib/gdb/command/frame_filters.py: New file.
* python/lib/gdb/frames.py: New file.
* python/lib/gdb/__init__.py: Initialize global frame_filters
dictionary
* python/lib/gdb/FrameDecorator.py: New file.
* python/lib/gdb/FrameIterator.py: New file.
* mi/mi-cmds.c (mi_cmds): Add frame filters command.
* mi/mi-cmds.h: Declare.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
--no-frame-filter logic, and Python frame filter logic.
(stack_enable_frame_filters): New function.
(parse_no_frame_option): Ditto.
(mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
filter logic.
(mi_cmd_stack_list_locals): Ditto.
(mi_cmd_stack_list_args): Ditto.
(mi_cmd_stack_list_variables): Ditto.
* NEWS: Add frame filter note.

2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-framefilter.py: New File.
* gdb.python/py-framefilter-mi.exp: Ditto.
* gdb.python/py-framefilter.c: Ditto.
* gdb.python/py-framefilter-mi.exp: Ditto.
* gdb.python/py-framefilter-mi.c: Ditto,
* gdb.python/py-framefilter-gdb.py.in: Ditto.

2013-05-10 Phil Muldoon  <pmuldoon@redhat.com>

* gdb.texinfo (Backtrace): Add "no-filter" argument.
(Python API): Add Frame Filters API, Frame Wrapper API,
Writing a Frame Filter/Wrapper, Managing Management of Frame
Filters chapter entries.
(Frame Filters API): New Node.
(Frame Wrapper API): New Node.
(Writing a Frame Filter): New Node.
(Managing Frame Filters): New Node.
(Progspaces In Python): Add note about frame_filters attribute.
(Objfiles in Python): Ditto.
(GDB/MI Stack Manipulation): Add -enable-frame-filters command,
@anchors and --no-frame-filters option to -stack-list-variables,
-stack-list-frames, -stack-list-locals and -stack-list-arguments
commands.

11 years agomerge from gcc
DJ Delorie [Fri, 10 May 2013 03:03:04 +0000 (03:03 +0000)]
merge from gcc

11 years agobinutils/ChangeLog:
Andrew Pinski [Fri, 10 May 2013 01:08:48 +0000 (01:08 +0000)]
binutils/ChangeLog:
* doc/binutils.texi: Document -Mvirt disassembler option.

gas/ChangeLog:
* config/tc-mips.c (struct mips_set_options): New ase_virt field.
(mips_opts): Update for the new field.
(file_ase_virt): New variable.
(ISA_SUPPORTS_VIRT_ASE): New macro.
(ISA_SUPPORTS_VIRT64_ASE): New macro.
(MIPS_CPU_ASE_VIRT): New define.
(is_opcode_valid): Handle ase_virt.
(macro_build): Handle "+J".
(validate_mips_insn): Likewise.
(mips_ip): Likewise.
(enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
(md_longopts): Add mvirt and mnovirt
(md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
(mips_after_parse_args): Handle ase_virt field.
(s_mipsset): Handle "virt" and "novirt".
(mips_elf_final_processing): Add a comment about virt ASE might need a new flag.
(md_show_usage): Print out the usage of -mvirt and mno-virt options.
* doc/c-mips.texi: Document -mvirt and -mno-virt.
Document ".set virt" and ".set novirt".

gas/testsuite/ChangeLog:
* gas/mips/mips.exp: Run virt and virt64 testcases.
* gas/mips/virt.d: New file.
* gas/mips/virt.s: New file.
* gas/mips/virt64.d: New file.
* gas/mips/virt64.s: New file.

include/opcode/ChangeLog:
* mips.h (OP_MASK_CODE10): Correct definition.
(OP_SH_CODE10): Likewise.
Add a comment that "+J" is used now for OP_*CODE10.
(INSN_ASE_MASK): Update.
(INSN_VIRT): New macro.
(INSN_VIRT64): New macro

opcodes/ChangeLog:
* mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2 .
Add INSN_VIRT and INSN_VIRT64 to mips64r2.
(parse_mips_dis_option): Handle the virt option.
(print_insn_args): Handle "+J".
(print_mips_disassembler_options): Print out message about virt64.
* mips-opc.c (IVIRT): New define.
(IVIRT64): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions.
Move rfe to the bottom as it conflicts with tlbgp.

11 years agodaily update
Alan Modra [Fri, 10 May 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Fri, 10 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years ago * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
Doug Evans [Thu, 9 May 2013 18:03:28 +0000 (18:03 +0000)]
* symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
All callers updated.
(syms_from_objfile): Ditto.  Make static.
(symbol_file_add_with_addrs): Renamed from
symbol_file_add_with_addrs_or_offsets.  Delete args offsets,
num_offsets.  All callers updated.
* symfile.h (syms_from_objfile): Delete.

11 years ago * symfile.c (decrement_reading_symtab): Add assert.
Doug Evans [Thu, 9 May 2013 17:24:55 +0000 (17:24 +0000)]
* symfile.c (decrement_reading_symtab): Add assert.
(increment_reading_symtab): Ditto.

11 years agoUse fputc in place of putc to avoid -Wunused-value warning (AIX).
Joel Brobecker [Thu, 9 May 2013 06:58:16 +0000 (06:58 +0000)]
Use fputc in place of putc to avoid -Wunused-value warning (AIX).

Currently, bfd does not compile with -Wunused-value because
the following code:

        val = putc ('\n', f);

gets expanded into some code that triggers a warning:

        warning: value computed is not used [-Wunused-value]

This is because putc is implemented as a macro...

>#define putc(__x, __p)  (((!((__p)->_flag & 0xC000)) && \
>                        ((__p)->_flag = ((__p)->_flag  & 0x3FFF) | 0x8000)),\
>                        (--(__p)->_cnt < 0 ? \
>                        __flsbuf((unsigned char) (__x), (__p)) : \
>                        (int) (*(__p)->_ptr++ = (unsigned char) (__x))))

It's the first part, before the coma operator, which triggers
the unused-value warning.

This patch fixes the issue by simply avoiding the macro and using
fputc instead.

bfd/ChangeLog:

        * bfd.c (_bfd_default_error_handler): Replace use of putc
        by fputc.  Add comment explaining why.

11 years agosource.c: Use fgetc instead of getc.
Joel Brobecker [Thu, 9 May 2013 06:52:21 +0000 (06:52 +0000)]
source.c: Use fgetc instead of getc.

On AIX, getc is a macro which triggers an -Wunused-value warning.

gdb/ChangeLog:

        * source.c (forward_search_command): Replace call to getc
        by call to fgetc.
        (reverse_search_command): Likewise.

11 years ago * ppc-opc.c (extract_vlesi): Properly sign extend.
Alan Modra [Thu, 9 May 2013 04:32:55 +0000 (04:32 +0000)]
* ppc-opc.c (extract_vlesi): Properly sign extend.
(extract_vlensi): Likewise.  Comment reason for setting invalid.

11 years ago * config/tc-ppc.c (md_apply_fix): Sign extend fieldval under
Alan Modra [Thu, 9 May 2013 04:01:53 +0000 (04:01 +0000)]
* config/tc-ppc.c (md_apply_fix): Sign extend fieldval under
control of operand flag bits.

11 years ago*** empty log message ***
gdbadmin [Thu, 9 May 2013 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

11 years agodaily update
Alan Modra [Thu, 9 May 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years ago * elflink.c (elf_link_add_object_symbols): Don't omit reading
Alan Modra [Wed, 8 May 2013 23:31:38 +0000 (23:31 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't omit reading
of symbols when hashes already exist.

11 years ago * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
Doug Evans [Wed, 8 May 2013 22:38:19 +0000 (22:38 +0000)]
* psymtab.c (expand_symtabs_matching_via_partial): Fix file name
matching test.

11 years ago * gdb.base/solib-search.exp: Set test name for "set
Tom Tromey [Wed, 8 May 2013 18:56:02 +0000 (18:56 +0000)]
* gdb.base/solib-search.exp: Set test name for "set
solib-search-path" test.

11 years ago2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
Hafiz Abid Qadeer [Wed, 8 May 2013 16:15:02 +0000 (16:15 +0000)]
2013-05-08  Hafiz Abid Qadeer  <abidh@codesourcery.com>

* gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
(set_a_tracepoint): Set tracepoint before prologue.
(run_trace_experiment): Test setup_tracepoints and 'break end'
in it.
(trace_buffer_normal): Remove.
(gdb_trace_circular_tests): Remove.  Move tests to...
(top level): ...here.  Call 'runto_main' before checking for
trace support.  Use commands to check the support for circular
trace buffer and changing of trace buffer size.  Add test
to calculate size of single frame.  Use this size to
calculate the size of trace buffer.  Use 'tfind pc func9'
instead of 'tfind 9'.  Use 'with_test_prefix'.

11 years agoAvoid duplicating text in sol-thread.c:info_cb
Joel Brobecker [Wed, 8 May 2013 06:25:21 +0000 (06:25 +0000)]
Avoid duplicating text in sol-thread.c:info_cb

This is a minor cleanup that helps avoiding duplicating the output
of a command when handling alternative situations.

gdb/ChangeLog:

        * sol-thread.c (info_cb): Factorize the code a little.

11 years agoImprove output of "maintenance info sol-threads" command.
Joel Brobecker [Wed, 8 May 2013 06:23:50 +0000 (06:23 +0000)]
Improve output of "maintenance info sol-threads" command.

This patch does the following:
  - Puts the startfunc and "Sleep func" info on the same line;
  - Renames "Sleep func" into "sleepfunc" to be consistent with
    "startfunc"
  - Avoids the use of a '-' as a separate before the "sleepfunc"
    output, because the '-' looks odd and out of place when the
    "startfunc" field is not printed (ti.ti_startfunc is nul).
  - Use a '=' instead of ':' and avoids the space between
    the name of the value and its value, mostly to help group
    the value with its name.

For the record, this is how the new outout now looks like:

    (gdb) maintenance info sol-threads
    user   thread #1, lwp 1, (active)
    system thread #2, lwp 2, (active)
    system thread #3, lwp 0, (asleep)    sleepfunc=0xff32d9e0
    user   thread #4, lwp 4, (asleep)    startfunc=[...].task_wrapper   sleepfunc=0xff3290f0
    system thread #5, lwp 7, (active)    startfunc=_co_timerset
    user   thread #6, lwp 8, (active)    startfunc=[...].task_wrapper

gdb/ChangeLog:

        * sol-thread.c (info_cb): Rework the output of the "maintenance
        info sol-threads" command a bit.

11 years agoti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb
Joel Brobecker [Wed, 8 May 2013 06:19:32 +0000 (06:19 +0000)]
ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb

gdb/ChangeLog:

        * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
        Replace ti.ti_startfunc by ti.ti_pc.

Probably OK to commit without approval, so will likely do so in the
next few days.

11 years agoDummy implementation of solib_aix_free_library_list if libexpat missing.
Joel Brobecker [Wed, 8 May 2013 06:10:03 +0000 (06:10 +0000)]
Dummy implementation of solib_aix_free_library_list if libexpat missing.

gdb/ChangeLog:

        * solib-aix.c (solib_aix_free_library_list): New function
        for the case where HAVE_LIBEXPAT is not defined.

11 years ago[doco] Document the XML format used for AIX shared lib support.
Joel Brobecker [Wed, 8 May 2013 05:50:47 +0000 (05:50 +0000)]
[doco] Document the XML format used for AIX shared lib support.

gdb/doc/ChangeLog:

        * gdbint.texinfo (Native Debugging): Add "AIX Shared Library
        Support" subsection documenting the XML format used to transfer
        shared library info on AIX.

11 years agoDocument set/show debug aix-solib.
Joel Brobecker [Wed, 8 May 2013 05:40:44 +0000 (05:40 +0000)]
Document set/show debug aix-solib.

gdb/doc/ChangeLog:

        * gdb.texinfo (Debugging Output): Add documentation of
        "set debug aix-solib" and "show debug aix-solib" commands.

11 years agodaily update
Alan Modra [Wed, 8 May 2013 00:00:06 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Wed, 8 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years ago * lib/selftest-support.exp: New file.
Tom Tromey [Tue, 7 May 2013 18:06:16 +0000 (18:06 +0000)]
* lib/selftest-support.exp: New file.
* gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
do_self_tests.
(setup_test, find_gdb): Remove.
* gdb.gdb/observer.exp: Load selftest-support.exp.  Use
do_self_tests.
(setup_test, find_gdb): Remove.
(test_observer): Don't call setup_test.  Remove argument.
* gdb.gdb/selftest.exp: Load selftest-support.exp.
(find_gdb): Remove.
* gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
do_self_tests.
(setup_test, find_gdb): Remove.
(test_with_self): Don't call setup_test.  Remove argument.

11 years agoMerge gdb.arch/system-gcore.exp into gdb.base/gcore.exp
Pedro Alves [Tue, 7 May 2013 17:51:42 +0000 (17:51 +0000)]
Merge gdb.arch/system-gcore.exp into gdb.base/gcore.exp

The test case gdb.arch/system-gcore.exp is almost an identical copy of
gdb.base/gcore.exp.  The only functional change is the additional
comparison of the "info reg system" command output.

It should be safe to perform this comparison on all architectures.
Thus the patch removes the arch-specific version and adds "info reg
system" to the common gcore test case instead.

Tested on i686-linux and s390x-linux.

gdb/testsuite/Changelog:
2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>

* gdb.arch/system-gcore.exp: Remove.
* gdb.arch/gcore.c: Remove.
* gdb.base/gcore.exp: Add "info reg system".

11 years agogdb/
Sergio Durigan Junior [Tue, 7 May 2013 17:04:29 +0000 (17:04 +0000)]
gdb/
2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>

PR breakpoints/15413:
* breakpoint.c (condition_completer): Simplify the code to
disconsider multiple locations of breakpoints when completing the
"condition" command.

gdb/testsuite/
2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>

PR breakpoints/15413:
* gdb.base/pending.exp: Add test for completion of the "condition"
command for pending breakpoints.
* gdb.linespec/linespec.ex: Add test for completion of the
"condition" command when dealing with multiple locations.

11 years agobfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs.
Will Newton [Tue, 7 May 2013 17:03:52 +0000 (17:03 +0000)]
bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs.

bfd/ChangeLog:

2013-05-07  Will Newton  <will.newton@linaro.org>

* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
plt_header_size argument for ports where it differs from
plt_entry_size.
* elf-bfd.h: Likewise.
* elf32-i386.c: Pass plt_header_size to
_bfd_elf_allocate_ifunc_dyn_relocs.
* elf64-x86-64.c: Likewise.

11 years agobfd/elf-ifunc.c: Remove unused function _bfd_elf_create_ifunc_dyn_reloc.
Will Newton [Tue, 7 May 2013 17:01:12 +0000 (17:01 +0000)]
bfd/elf-ifunc.c: Remove unused function _bfd_elf_create_ifunc_dyn_reloc.

bfd/ChangeLog:

2013-05-07  Will Newton  <will.newton@linaro.org>

        * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
function.
* elf-bfd.h: Likewise.

11 years ago * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
Pierre Muller [Tue, 7 May 2013 13:04:58 +0000 (13:04 +0000)]
* common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
instead of <sys/wait.h>.

11 years ago * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
Pierre Muller [Tue, 7 May 2013 13:02:19 +0000 (13:02 +0000)]
* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
trailing new line from warning message.

11 years ago * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
Pierre Muller [Tue, 7 May 2013 13:00:07 +0000 (13:00 +0000)]
* contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
(PC_SOLIB): Change type from ari_deprecate to ari_regression.

11 years agoAdd missing ChangeLog entries...
Joel Brobecker [Tue, 7 May 2013 12:40:08 +0000 (12:40 +0000)]
Add missing ChangeLog entries...

... for the following commits:

2013-05-07  Joel Brobecker  <brobecker@adacore.com>

       * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
       error message (ARI fix).

2013-05-07  Joel Brobecker  <brobecker@adacore.com>

       * features/library-list-aix.dtd: Replace library-list by
       library-list-aix.
       * rs6000-nat.c: Replace library-list by library-list-aix
       throughout.
       * solib-aix.c: Likewise.

2013-05-07  Joel Brobecker  <brobecker@adacore.com>

       * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
       Renames TARGET_OBJECT_AIX_LIBRARIES.
       * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
       TARGET_OBJECT_LIBRARIES_AIX throughout.
       * solib-aix.c: Likwise.

There were added, but accidently not checked in.

11 years agors6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message.
Joel Brobecker [Tue, 7 May 2013 12:36:13 +0000 (12:36 +0000)]
rs6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message.

gdb/ChangeLog:

        * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
        error message (ARI fix).

11 years agoAIX: Change XML to use library-list-aix instead of library-list.
Joel Brobecker [Tue, 7 May 2013 09:50:49 +0000 (09:50 +0000)]
AIX: Change XML to use library-list-aix instead of library-list.

This is more consistent with what we do with other similar XML lists,
and avoids a potential confusion with the library-list XML list.

gdb/ChangeLog:

        * features/library-list-aix.dtd: Replace library-list by
        library-list-aix.
        * rs6000-nat.c: Replace library-list by library-list-aix
        throughout.
        * solib-aix.c: Likewise.

11 years agoRename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX
Joel Brobecker [Tue, 7 May 2013 09:50:41 +0000 (09:50 +0000)]
Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX

More consistent with the name of other similar object names.

gdb/ChangeLog:

* target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
Renames TARGET_OBJECT_AIX_LIBRARIES.
* rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
TARGET_OBJECT_LIBRARIES_AIX throughout.
* solib-aix.c: Likwise.

11 years agogdb/
Yao Qi [Tue, 7 May 2013 09:26:09 +0000 (09:26 +0000)]
gdb/
* solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
(get_dsbt_info, enable_break, dsbt_clear_solib): Update.

11 years agogdb/
Yao Qi [Tue, 7 May 2013 09:23:28 +0000 (09:23 +0000)]
gdb/
* solib-dsbt.c (enable_break): Declare.
(dsbt_current_sos): Remove call to enable_break2.
(enable_break2): Rename to enable_break.  Set solib breakpoint
on '_dl_debug_state'.
(enable_break): Remove.

11 years ago gdb/
Luis Machado [Tue, 7 May 2013 07:43:33 +0000 (07:43 +0000)]
gdb/
* ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
debug state prior to replicating existing hardware watchpoints or
breakpoints.

gdb/testsuite/
* gdb.threads/wp-replication.c: New file.
* gdb.threads/wp-replication.exp: New file.

11 years agogdb/
Jan Kratochvil [Tue, 7 May 2013 01:38:04 +0000 (01:38 +0000)]
gdb/
* gcore.c (gcore_create_callback): Ignore sections with
separate_debug_objfile_backlink != NULL.

11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 7 May 2013 01:12:41 +0000 (01:12 +0000)]
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.xml/tdesc-regs.exp: Add case for nios2.

11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 7 May 2013 01:11:16 +0000 (01:11 +0000)]
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    Andrew Jenner  <andrew@codesourcery.com>

gdb/gdbserver/
* Makefile.in (SFILES): Add linux-nios2-low.c.
(clean): Add action to delete nios2-linux.c.
(nios2-linux.c): New rule.
* configure.srv: Add nios2*-*-linux*.
* linux-nios2-low.c: New.

11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 7 May 2013 01:09:29 +0000 (01:09 +0000)]
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    Andrew Jenner  <andrew@codesourcery.com>
    Chung-Lin Tang  <cltang@codesourcery.com>
    Julian Brown  <julian@codesourcery.com>

Based on the nios2-elf port from Altera Corporation.

gdb/
* Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
nios2-linux-tdep.o.
(HFILES_NO_SRCDIR): Add nios2-tdep.h.
(ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
* configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
* nios2-tdep.h: New.
* nios2-tdep.c: New.
* nios2-linux-tdep.c: New.
* features/Makefile (WHICH): Add nios2-linux.
(nios2-linux-expedite): Set.
* features/nios2-cpu.xml: New.
* features/nios2.xml: New.
* features/nios2-linux.xml: New.
* features/nios2.c: New (autogenerated).
* features/nios2-linux.c: New (autogenerated).
* regformats/nios2-linux.dat: New (autogenerated).
* NEWS (Changes since GDB 7.6): Add new Nios II targets
and commands.

gdb/doc/
* gdb.texinfo (Nios II): New section.
(Nios II Features): New section.

11 years ago * symfile.c: Whitespace cleanup.
Doug Evans [Tue, 7 May 2013 00:02:12 +0000 (00:02 +0000)]
* symfile.c: Whitespace cleanup.

11 years agodaily update
Alan Modra [Tue, 7 May 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 7 May 2013 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

11 years ago * config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro.
Alan Modra [Mon, 6 May 2013 23:36:48 +0000 (23:36 +0000)]
* config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro.
(PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): Likewise.
(PPC_VLE_HI16A, PPC_VLE_HI16D): Likewise.
(PPC_VLE_HA16A, PPC_VLE_HA16D): Likewise.
(md_apply_fix): Set fx_no_overflow for assorted relocations.
Shift and sign-extend fieldval for use by some VLE reloc
operand->insert functions.