aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-01 * dwarf2.c (read_attribute_value): Handle CU version 4Jakub Jelinek2-3/+25
for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc and DW_FORM_flag_present. For unknown form value return NULL. (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc like DW_FORM_block. (parse_comp_unit): Allow CU version 4.
2010-04-01 * gdb.trace/collection.exp (gdb_collect_args_test)Pedro Alves2-0/+36
(gdb_collect_argarray_test): XFAIL the tests that assume the argarray argument's elements are collected.
2010-04-01*** empty log message ***gdbadmin1-1/+1
2010-03-31daily updateAlan Modra1-1/+1
2010-03-31 * elf32-cris.c (cris_elf_relocate_section): Correct first argumentHans-Peter Nilsson2-2/+9
to _bfd_elf_get_dynamic_reloc_section. (elf_cris_discard_excess_dso_dynamics): Ditto.
2010-03-31 * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBHRichard Earnshaw2-6/+23
instructions. Use the PC+4 if the base of the TBB or TBH is the PC register.
2010-03-312010-03-31 Kai TIetz <kai.tietz@onevision.com>Kai Tietz2-1/+6
* ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc before string compare.
2010-03-31gdb/Jan Kratochvil5-2/+138
Fix crash on reading wrong function declaration DWARF. * dwarf2read.c (read_subroutine_type): New variable void_type. Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization more close to their use. gdb/testsuite/ * gdb.dwarf2/dw2-bad-parameter-type.exp, gdb.dwarf2/dw2-bad-parameter-type.S: New.
2010-03-312010-03-31 Stan Shebs <stan@codesourcery.com>Stan Shebs6-5/+62
* breakpoint.c (tracepoint_save_command): Include variables, conditionals, tracepoint types, and default-collect. * tracepoint.c (save_trace_state_variables): New function. * tracepoint.h (save_trace_state_variables): Declare it. * gdb.trace/save-trace.exp: Test save/restore of default-collect and tracepoint conditionals. (gdb_verify_tracepoints): Delete unused return.
2010-03-31 * ld/testsuite/ld-arm/script-type.sym: Fix test.Matthew Gretton-Dann2-8/+13
2010-03-312010-03-31 Kai TIetz <kai.tietz@onevision.com>Kai Tietz3-0/+75
* ld-pe/basefile1.s: New. * ld-pe/pe-compile.exp: Add base-file test.
2010-03-312010-03-31 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-6/+13
* coff-i386.c (in_reloc_p): Check also for R_SECREL32. * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL.
2010-03-31 * src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.Pierre Muller2-1/+5
2010-03-31 PR ld/11458Hans-Peter Nilsson3-0/+87
* ld-cris/pcrelcp-1.d, ld-cris/pcrelcp-1.s: New test.
2010-03-31 * lib/ld-lib.exp (run_dump_test): When checking linker message andHans-Peter Nilsson2-6/+19
return code, when success with no message is expected, don't continue if we have an abnormal exit with a message. Check output of inspection program and fail if it had output or an abnormal exit code. Include "warning" and "error" among the directives where multiples are allowed and append to previous values.
2010-03-31 * gdb.texinfo (TUI Commands): Mention that in some cases, thesePedro Alves2-0/+11
commands error out.
2010-03-31 * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimizedAlan Modra2-0/+17
TPREL16_HI and TPREL16_HA insns.
2010-03-312010-03-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold23-36/+877
* dcx.h: New file. * dsc.h: New file. * esdfm.h: New file. * esdfv.h: New file. * internal.h: New file. * lbr.h: New file. * prt.h: New file. * shl.h (struct vms_shl): Add comments. * esrf.h (ESRF__B_NAMLNG): New macro. * esdf.h (ESDF__B_NAMLNG): New macro. * emh.h: Add macros for fields maximum value. * eisd.h (EISD__M_PROTECT): Fix typo in comment. Add macros for offsets, version, section type and match control. Merge vms_eisd_ext into vms_eisd. * eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added. * eihs.h: Remove blank line. * eihd.h (struct vms_eihd): Add comments, add image subtype names. * eiha.h (struct vms_eiha): Add inishr and inishr_h fields. * eiaf.h (struct vms_eiaf): Fix base_va size. * egsy.h: Add comments. * egsd.h: Remove blank line. * egps.h: Add flag names. * eeom.h (EEOM__M_WKTFR): Added. * dst.h (DST__K_CXX): Added, and reident languages. (DST__K_SRC_INCRLNUM_B): Added. Indent and order pcline commands. Add record begin/end, enumerations, type specification, value specification, label, discontinue range definitions.
2010-03-312010-03-30 Doug Kwan <dougkwan@google.com>Doug Kwan2-0/+8
* arm.cc (Target_arm::using_thumb_only): Handle v6-M
2010-03-31Fix toplevel configure --enable-multilib handling.Ralf Wildenhues3-6/+24
/: PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate.
2010-03-31 PR ld/11458Hans-Peter Nilsson2-21/+65
* elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid assert of empty pcrel_relocs_copied on the direct symbol. Instead of moving the list from the indirect symbol to the direct symbol, merge into any existing list. (cris_elf_check_relocs): Store the original section in the pcrel_relocs_copied list, not the relocation section. (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find the relocation section, for reducing its size. Change the BFD_ASSERT into a check for the section being read-only, and only emit warnings and TEXTREL marker when there's an entry for a read-only section.
2010-03-31 * c-typeprint.c (c_type_print_args): Don't print "void"Keith Seitz3-6/+26
for java, regardless of whether it is TYPE_PROTOTYPED. Use the passed-in language instead of current_language. (c_type_print_varspec_suffix): Use current_language instead of assuming language_c. * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off any return type specifier from the physname.
2010-03-31 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor toKeith Seitz2-5/+8
appear in the output before main. Remove KFAIL for gdb/2215 aka bz 9320.
2010-03-31*** empty log message ***gdbadmin1-1/+1
2010-03-30sim: v850: fix build failure after watchpoint constificationMike Frysinger2-2/+7
2010-03-30Use memmove to copy overlap memory.H.J. Lu2-2/+8
2010-03-30 H.J. Lu <hongjiu.lu@intel.com> PR gas/11456 * input-scrub.c (input_scrub_next_buffer): Use memmove instead of memcpy to copy overlap memory.
2010-03-30 * ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): ApplyHans-Peter Nilsson2-3/+6
"file rootname", not "file tail", before applying runtest_file_p.
2010-03-30sim: use socklen_t with accept()Mike Frysinger5-14/+100
The accept() function takes a socklen_t, not an int. Using an int causes: dv-sockser.c: In function 'connected_p': dv-sockser.c:273: warning: pointer targets in passing argument 3 of 'accept' differ in signedness So use the same socklen_t detection code as gdb and convert the accept().
2010-03-30daily updateAlan Modra1-1/+1
2010-03-30 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is definedDoug Evans3-8/+12
by dejagnu. * gdb.arch/amd64-dword.exp: Ditto.
2010-03-30 * tui/tui-interp.c (tui_is_toplevel): New.Pedro Alves4-0/+33
(tui_init): Set it. (tui_allowed_p): New. * tui/tui.c (tui_enable): Check if the TUI is allowed before enabling it. * tui/tui.h (tui_allowed_p): Declare.
2010-03-30 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass textDoug Evans2-5/+11
match. (break printf): Ditto.
2010-03-30sim: fix printf format warning about non-string literalMike Frysinger3-2/+7
This is the normal "passing a buffer straight to printf makes GCC warn". While we know this particular case is fine, the trend in this source tree is to fix this anyways to avoid the warnings.
2010-03-30sim: constify watchpoint interrupt namesMike Frysinger3-5/+13
GCC issues warnings because const strings like "foo" are passed as char*. sim-watch.c: In function 'watchpoint_type_to_str': sim-watch.c:120: warning: return discards qualifiers from pointer target type
2010-03-30sim: change raddr to address_wordMike Frysinger2-2/+7
The sim read/write buffer functions deal with address_word's, not unsigned_words's, so make sure the local raddr variable matches accordingly.
2010-03-30sim: fix unused cpu_nr warningsMike Frysinger2-1/+6
The trace_option_handler() function only uses cpu_nr when the SIM_HAVE_ADDR_RANGE define is enabled. So move the decl down to where the code exists. Otherwise GCC warns: sim-trace.c: In function 'trace_option_handler': sim-trace.c:236: warning: unused variable 'cpu_nr'
2010-03-30sim: update device_error() prototypeMike Frysinger8-4/+20
The device_error() takes a printf style string, so update the prototype accordingly. The message should be const and it should use an attribute. This fixes gcc warnings like: sim-core.c: In function 'sim_core_map_attach': sim-core.c:200: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:237: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c: In function 'sim_core_attach': sim-core.c:304: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:314: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:335: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:348: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
2010-03-30sim: fix unused profile_print_addr_ranges warningMike Frysinger2-0/+7
The profile_print_addr_ranges() function is only used when SIM_HAVE_ADDR_RANGE is defined, so #ifdef it accordingly.
2010-03-30sim: tweak static order on hw_glue_portsMike Frysinger2-1/+5
GCC likes to warn when static comes after const: dv-glue.c:191: warning: 'static' is not at beginning of declaration
2010-03-30sim: convert old style function definitionsMike Frysinger5-26/+21
GCC currently emits warnings like: nrun.c: In function 'usage': nrun.c:223: warning: old-style function definition
2010-03-30Add org.gnu.gdb.i386.avx.H.J. Lu2-0/+15
2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx.
2010-03-302010-03-30 Ozkan Sezer <sezeroz@gmail.com>Tom Tromey2-0/+5
* serial.h: Include winsock2.h before windows.h.
2010-03-302010-03-30 Kai TIetz <kai.tietz@onevision.com>Kai Tietz2-1/+6
* binutils-all/objcopy.exp: Mark simple copy executable as failing for all *-*-mingw32* targets.
2010-03-30Add xmlRegisters= to qSupported packet.H.J. Lu7-61/+143
gdb/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention xmlRegisters= in qSupported packet. * i386-tdep.c: Include "remote.h". (_initialize_i386_tdep): Call register_remote_support_xml. * remote.c (remote_support_xml): New. (register_remote_support_xml): Likewise. (remote_query_supported_append): Likewise. (remote_query_supported): Support remote_support_xml. * remote.h (register_remote_support_xml): New. gdb/doc/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (General Query Packets): Add xmlRegisters.
2010-03-30* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.Andreas Schwab4-0/+16
* Makefile.in: Regenerate.
2010-03-302010-03-29 Stan Shebs <stan@codesourcery.com>Stan Shebs2-21/+6
* tracepoint.c (trace_find_line_command): Remove dead code.
2010-03-30*** empty log message ***gdbadmin1-1/+1
2010-03-292010-03-29 Stan Shebs <stan@codesourcery.com>Stan Shebs2-11/+52
Nathan Sidwell <nathan@codesourcery.com> * gdb.texinfo (GDB/MI Tracepoint Commands): Add notes about the GDBN equivalent. (Set Tracepoints): Remove mention that conditional tracepoints don't exist. (Tracepoint Actions): Clarify when while-stepping collection happens, note that while-stepping does not automatically collect $pc.
2010-03-292010-03-29 Stan Shebs <stan@codesourcery.com>Stan Shebs7-38/+315
* tracepoint.h (struct uploaded_string): New struct. (struct uploaded_tp): New fields for source strings. * breakpoint.c (this_utp, next_cmd): New globals. (read_uploaded_action): New function. (create_tracepoint_from_upload): Fill in more parts of a tracepoint. * tracepoint.c (encode_source_string): New function. (trace_save): Write out source strings, fix error checks. (parse_tracepoint_definition): Add source string parsing. * remote.c (PACKET_TracepointSource): New packet type. (remote_download_command_source): New function. (remote_download_tracepoint): Download source pieces also. (_initialize_remote): Add packet config command. * gdb.texinfo (Tracepoint Packets): Describe QTDPsrc. (General Query Packets): Describe TracepointSource.
2010-03-29daily updateAlan Modra1-1/+1