aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
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".