aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-17gdb/gdbserverYao Qi2-1/+6
* i386-low.c (i386_length_and_rw_bits): Move the comment to the right place.
2013-05-17*** empty log message ***gdbadmin1-1/+1
2013-05-17daily updateAlan Modra1-1/+1
2013-05-16gdb/Thomas Schwinge3-4/+24
2013-05-16 Yue Lu <hacklu.newborn@gmail.com> * configure.ac: Ensure MIG is available when building for GNU Hurd hosts. * configure: Regenerate.
2013-05-16 * doc/c-msp430.texi: Fix typo.Jan-Benedict Glaw2-2/+6
also: * ChangeLog: Fix entry.
2013-05-16bfd/Cary Coutant2-2/+7
* ecoff.c (ecoff_link_check_archive_element): Add initializers for external_ext_size and esize.
2013-05-16bfd/Tristan Gingold5-2/+18
2013-05-16 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. gas/ 2013-05-16 Tristan Gingold <gingold@adacore.com> * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC are also TOC symbols.
2013-05-162013-05-16 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* gas/ppc/ppc.exp: Do not run simpshft on aix.
2013-05-16 * config/tc-msp430.c: Make -mmcu recognise more part numbers.Nick Clifton6-293/+652
Add -mcpu command to specify core type. * doc/c-msp430.c: Update documentation. * gas/msp430/opcodes.s: Use correct value for .arch pseudo. * gas/msp430/msp430x.d: Use correct value for -mcpu option.
2013-05-16 * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR,Luis Machado2-22/+45
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.
2013-05-16gdb.ada/complete.exp: Fix FIXME.Pedro Alves2-5/+7
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.
2013-05-16[dwarf]: Add DW_LANG_UPC support in set_cu_language.Joel Brobecker2-0/+5
gdb/ChangeLog: * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
2013-05-16Missing do_cleanups in ada_make_symbol_completion_list.Joel Brobecker4-1/+28
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.
2013-05-16daily updateAlan Modra1-1/+1
2013-05-16*** empty log message ***gdbadmin1-1/+1
2013-05-15 * gdb.base/filesym.exp: New completer test.Keith Seitz2-0/+78
* gdb.base/filesym.c: New file.
2013-05-15sim: arm: add support for MOVW and MOVT instructionsMike Frysinger4-4/+71
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).
2013-05-15Remove my name from a couple tests.Pedro Alves3-5/+6
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.
2013-05-15binutils/Cary Coutant3-5/+133
* 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.
2013-05-15Remove forward enum declaration in utils.h.Joel Brobecker2-1/+6
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.
2013-05-15ppc-aix core file relocation.Joel Brobecker9-193/+435
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.
2013-05-15The "record goto" command scans its arguments for "begin", "start", or "end".Markus Metzger4-14/+72
Turn those into sub-commands. Document the "record goto" command.
2013-05-15* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.Andreas Schwab2-0/+5
2013-05-15gas/Saravanan Ekanathan3-2/+7
* i386-gen.c (cpu_flag_init): Add CpuFSGSBase in CPU_BDVER3_FLAGS. * i386-init.h: Regenerated.
2013-05-15*** empty log message ***gdbadmin1-1/+1
2013-05-15daily updateAlan Modra1-1/+1
2013-05-14gdb/Jan Kratochvil2-0/+9
* linespec.c (convert_linespec_to_sals): New comment for SOURCE_FILENAME assignment.
2013-05-14gdb/Jan Kratochvil2-1/+9
* cleanups.c (restore_my_cleanups): Replace gdb_assert by internal_warning.
2013-05-14 * eval.c (parse_and_eval_long): Make 'exp' const.Tom Tromey3-2/+7
* value.h (parse_and_eval_long): Update.
2013-05-14 * ui-file.c (gdb_fopen): Make arguments const.Tom Tromey3-2/+7
* ui-file.h (gdb_fopen): Make arguments const.
2013-05-14 * remote.c (remote_set_trace_notes): Make arguments const.Tom Tromey4-3/+11
* target.c (update_current_target): Update cast. * target.h (to_set_trace_notes): Make arguments const.
2013-05-14 * go32-nat.c (go32_terminal_info): Make 'args' const.Tom Tromey6-9/+17
* 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.
2013-05-14 * gcore.c (create_gcore_bfd): Make 'filename' const.Tom Tromey6-7/+17
* 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.
2013-05-14daily updateAlan Modra1-1/+1
2013-05-14*** empty log message ***gdbadmin1-1/+1
2013-05-13Corrected the changelog entry in the previous commit.Yufeng Zhang2-7/+7
2013-05-13gas/Yufeng Zhang8-7/+27
* 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].
2013-05-13 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte addressTom Tromey2-3/+10
size and change type sizes to 4 bytes.
2013-05-13gold/Cary Coutant7-36/+33
* 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.
2013-05-13fix PR number in ChangeLogTom Tromey1-1/+1
2013-05-13 PR gdb/15538:Tom Tromey2-2/+9
* dwarf2read.c (dwarf2_record_block_ranges): Ensure that the ranges section has been read.
2013-05-13 PR exp/15364:Tom Tromey6-8/+34
* 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.
2013-05-13 * v850.igen (LDSR): Accept but ignore a selID parameter.Nick Clifton2-3/+9
2013-05-13Float parameter passing in funcall on ppc-aix & ppc-lynx178.Joel Brobecker3-9/+28
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.
2013-05-13* History saving should stay disabled for test cases *Muhammad Bilal3-0/+9
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.
2013-05-13*** empty log message ***gdbadmin1-1/+1
2013-05-13daily updateAlan Modra1-1/+1
2013-05-12daily updateAlan Modra1-1/+1
2013-05-12*** empty log message ***gdbadmin1-1/+1
2013-05-11daily updateAlan Modra1-1/+1