aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-03-29 bfd/Daniel Jacobowitz4-2/+16
* elf32-arm.c (using_thumb_only): Handle v6-M. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
2010-03-292010-03-29 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla3-0/+20
* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with gcc < 4.4. * gdb.cp/shadow.exp: Ditto.
2010-03-292010-03-29 Stan Shebs <stan@codesourcery.com>Stan Shebs2-2/+6
* tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to expression handler.
2010-03-292010-03-29 Stan Shebs <stan@codesourcery.com>Stan Shebs2-9/+33
* tracepoint.c (start_tracing): Check tracepoints before sending commands to target, don't start if all tracepoints disabled.
2010-03-29 * gdb.trace/collection.exp (run_trace_experiment): Make surePedro Alves2-3/+14
"tstart" is silent.
2010-03-29*** empty log message ***gdbadmin1-1/+1
2010-03-28 * gdb.trace/collection.exp (executable): New.Pedro Alves2-81/+83
(binfile): Use it. (fpreg, spreg, pcreg): New. (test_register): Use gdb_test_multiple. Pass /x to print. (prepare_for_trace_test): New. (run_trace_experiment): Use "continue", not gdb_run_cmd. (gdb_collect_args_test, gdb_collect_argstruct_test) (gdb_collect_argarray_test, gdb_collect_locals_test): Use prepare_for_trace_test. (gdb_collect_registers_test): Use prepare_for_trace_test. Use fpreg, spreg and pcreg. (gdb_collect_expression_test, gdb_collect_globals_test): Use prepare_for_trace_test. (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't try to detect tracing support here. Don't set breakpoints at `begin' or `end' here. <global scope>: Use clean_restart. Run to main before checking for tracing support. Check for for tracing support here.
2010-03-28daily updateAlan Modra1-1/+1
2010-03-28gdb/testsuite/Jan Kratochvil2-3/+8
* gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add " as $displacement" to "seen displacement message".
2010-03-28Whoops. Use tab, not spaces.Pedro Alves1-1/+1
2010-03-28 gdb/Pedro Alves4-30/+58
* cli/cli-script.c (process_next_line): Handle 'stepping'. gdb/testsuite/ * gdb.trace/while-dyn.exp (executable): New variable. (binfile): Use it. (test_while_stepping): New function. Move most tests here. Call it once for each of the while-stepping, stepping and ws aliases.
2010-03-28*** empty log message ***gdbadmin1-1/+1
2010-03-27daily updateAlan Modra1-1/+1
2010-03-27 * gdb.texinfo (ARM): Document arguments to "target sim".Eli Zaretskii2-2/+26
(Set Catchpoints): Use @dots{} instead of @r{...}.
2010-03-272010-03-26 Stan Shebs <stan@codesourcery.com>Stan Shebs2-0/+11
* tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode.
2010-03-27*** empty log message ***gdbadmin1-1/+1
2010-03-262010-03-26 Tom Tromey <tromey@redhat.com>Stan Shebs2-1/+9
* breakpoint.c (commands_command_1): Duplicate 'arg'.
2010-03-26daily updateAlan Modra1-1/+1
2010-03-26 * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.Ulrich Weigand5-144/+124
(skip_prologue_sal): Remove local definition. (resolve_sal_pc): Remove now unnecessary code. * linespec.c (minsym_found): Call skip_prologue_sal. * symtab.c (find_function_start_pc): Remove. (find_function_start_sal): Extract prologue skipping into ... (skip_prologue_sal): ... this new function. Handle code both with and without debug info. Respect SAL's explicit_pc and explicit_line flags. Inline old find_function_start_pc. * symtab.h (find_function_start_pc): Remove. (skip_prologue_sal): Add prototype.
2010-03-26 * dwarf2read.c (read_func_scope): Also scan specification DIEsUlrich Weigand2-0/+30
for DW_TAG_imported_module children.
2010-03-26ChangeLog:Ulrich Weigand5-24/+55
* dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by ignoring spurious DW_AT_name attributes for unnamed structs or unions. * completer.c (add_struct_fields): Fix inverted logic. testsuite/ChangeLog: * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions that do not provide the tagless_struct type name at all. (test_print_anon_union): Do not check value of uninitialized union member. Do not use cp_test_ptype_class, so we can accept "long" as well as "long int".
2010-03-26 * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.Ulrich Weigand2-0/+5
2010-03-26 * tracepoint.c (current_trace_status): Don't make sure error_descPedro Alves2-4/+13
is non-NULL here. (parse_trace_status): Release a previous error_desc string, and set it to NULL by default. If stop reason is tracepoint_error, make sure error_desc is not left NULL.
2010-03-26 gdb/Pedro Alves4-3/+46
* tracepoint.c (trace_save): Remove X from tracepoint error description. gdb/testsuite/ * gdb.trace/tfile.c (tohex, bin2hex): New. (write_error_trace_file): Hexify error description.
2010-03-26 gdb/Pedro Alves4-16/+14
* tracepoint.c (parse_trace_status): Don't allow plain strings in the terror description. Don't expect an X prefix. gdb/doc/ * gdb.texinfo (Tracepoint Packets): Remove mention that terror:string may be plain text, and drop mention of X prefix.
2010-03-26 * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative.Alan Modra5-11/+12
* bfd-in.h (elf_discarded_section): Clarify comment. * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. * bfd-in2.h: Regenerate.
2010-03-26 * gdb.texinfo (GDB/MI Tracepoint Commands): Add comma after @xref.Vladimir Prus2-1/+5
2010-03-262010-03-25 Doug Kwan <dougkwan@google.com>Doug Kwan2-4/+10
* gold/arm.cc (Arm_exidx_fixup::update_offset_map): Rearrange code to avoid a conversion warning on a 32-bit host.
2010-03-262010-03-25 Stan Shebs <stan@codesourcery.com>Stan Shebs8-24/+175
* tracepoint.h (trace_stop_reason): Add tracepoint_error. (struct trace_status): New field error_desc. * tracepoint.c (stop_reason_names): Add terror. (current_trace_status): Ensure non-NULL error description. (trace_status_command): Add error report. (trace_status_mi): Ditto. (trace_save): Add special case for error description. (parse_trace_status): Add case for errors. * gdb.texinfo (Tracepoint Packets): Document trace error status. * gdb.trace/tfile.c: Generate an additional trace file, improve portability. * gdb.trace/tfile.exp: Test trace file with an error stop, delete files in a better way.
2010-03-26 * binutils-all/ar.exp (unique_symbol): New test.Alan Modra2-8/+54
2010-03-26 * archive.c (_bfd_compute_and_write_armap): Allow symbols flaggedAlan Modra2-3/+9
as unique in the armap.
2010-03-26 PR ld/11375Alan Modra2-20/+20
* elf64-ppc.c (ppc64_elf_relocate_section): Always look up a possible stub on branches.
2010-03-26add pr refAlan Modra1-0/+1
2010-03-26*** empty log message ***gdbadmin1-1/+1
2010-03-25daily updateAlan Modra1-1/+1
2010-03-25 PR ld/11426Alan Modra2-46/+10
* configure.host (many linux targets <HOSTING_CRT0>): Remove edits. (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.