aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-12 PR binutils/6483Nick Clifton6-13/+34
* objdump.c (dump_bfd): If the -g option found no STABS or IEEE debug information to display, try dumping DWARF information instead. * rddbg.c (read_debugging_info): Add a parameter to suppress the display of a warning message when no debug information is found. * budbg.h (read_debugging_info): Update prototype. * objcopy.c (copy_object): Continue to allow read_debugging_info to produce warning messages. * doc/binutils.texi (--debugging): Document new behaviour of the -g/--debugging option.
2008-06-12 * ldlang.c (print_output_section_statement): If the output sectionNick Clifton5-1/+43
statement has an update_dot_tree expression, apply it to print_dot. (print_input_section): Do not update print_dot if it would move print_dot backwards. (lang_do_assignments_1): If the output section statement has an update_dot_tree expression apply it to dot. * ld-scripts/overlay-size.t (end_of_bss_overlays): Define. (end_of_text_overlays): Define. (end_of_data_overlays): Define. * ld-scripts/overlay-size-map.d: Add expected values for end_of_bss_overlays, end_of_text_overlays and end_of_data_overlays.
2008-06-12*** empty log message ***gdbadmin1-1/+1
2008-06-12daily updateAlan Modra1-1/+1
2008-06-11 * gdbarch.sh (gdbarch_skip_main_prologue): New.Pierre Muller8-0/+102
* gdbarch.h, gdbarch.c: Regenerate. * i386-tdep.h (i386_skip_main_prologue): Declare. * i386-tdep.c (i386_skip_main_prologue): New. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Register i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch callback. * symtab.c (find_function_start_sal): When pc points at the "main" function, call gdbarch_skip_main_prologue.
2008-06-11 * value.c (value_primitive_field): Fetch lazy register values.Daniel Jacobowitz2-2/+16
2008-06-11Fix date in changelog entryVladimir Prus1-1/+1
2008-06-11 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.Vladimir Prus2-11/+6
2008-06-11 * NEWS: Mention support removal of undocumented S AA p PID stopPedro Alves3-6/+13
reply packet. * remote.c (remote_wait): Remove undocumented S AA p PID support.
2008-06-11merge from gccDJ Delorie14-13/+93
2008-06-11daily updateAlan Modra1-1/+1
2008-06-11*** empty log message ***gdbadmin1-1/+1
2008-06-102008-06-10 Stan Shebs <stan@codesourcery.com>Stan Shebs2-3/+7
* MAINTAINERS: Update my affiliation and address.
2008-06-10(print_gdb_version): Don't print final newline.Andreas Schwab2-1/+5
2008-06-10 Implement *running.Vladimir Prus20-34/+176
* Makefile.in: Update dependencies. * gdbthread.h (struct thread_info): New field running_. (set_running, is_running): New. * thread.c (set_running, is_running): New. * inferior.h (suppress_normal_stop_observer): Rename to... (suppress_run_stop_observers): ..this. * infcmd.c (suppress_normal_stop_observer): Rename to... (suppress_run_stop_observers): ..this. (finish_command_continuation, finish_command): Adjust. * infcall.c (call_function_by_hand): Adjust. * infrun.c (normal_stop): Call set_running. * target.c (target_resume): New. Call set_running. * target.h (target_resume): Convert from macro to a function. * mi/mi-interp.c (mi_on_resume): New. (mi_interpreter_init): Register mi_on_resume.
2008-06-10 Use observers to report stop events in MI.Vladimir Prus9-89/+114
* mi/mi-interp.c (mi_on_normal_stop): New. (mi_interpreter_init): Register mi_on_normal_stop. (mi_interpreter_exec_continuation): Remove. (mi_cmd_interpreter_exec): Don't register the above. * mi/mi-main.c (captured_mi_execute_command): Don't care about sync_execution. (mi_execute_async_cli_command): Don't install continuation. Don't print *stopped. (mi_exec_async_cli_cmd_continuation): Remove.
2008-06-10 Suppress normal stop observer when it's problematic.Vladimir Prus5-2/+34
* inferior.h (suppress_normal_stop_observer): New. * infcall.c (call_function_by_hand): Disable stop events when doing function calls. * infmcd.c (suppress_normal_stop_observer): New. (finish_command_continuation): Call normal_stop observer explicitly. (finish_command): Disable stop events inside proceed. * infrun.c (normal_stop): Don't call normal stop observer if suppressed of if multi-step is in progress.
2008-06-10 Remove stale code.Vladimir Prus2-6/+9
* infrun.c (finish_command): Don't pass cleanup to continuation. (finish_command_continuation): Don't grab cleanup from the passed data, as we don't use, and cannot, use it anyway.
2008-06-10 Introduce common cleanup for restoring integers.Vladimir Prus4-11/+69
* defs.h (make_cleanup_restore_integer): New declaration. (struct cleanup): New field free_arg. (make_my_cleanup_2): New. * utils.c (restore_integer_closure, restore_integer) (make_cleanup_restore_integer): New. (make_my_cleanup): Initialize the free_arg field and renamed to make_my_cleanup_2. (do_my_cleanups): Call free_arg. (discard_cleanups): Call free_arg. * breakpoint.c (restore_always_inserted_mode): Remove. (update_breakpoints_after_exec): Use make_cleanup_restore_integer.
2008-06-10 * MAINTAINERS: Remove myself as m68k maintainer.Ben Elliston2-1/+4
2008-06-10daily updateAlan Modra1-1/+1
2008-06-10*** empty log message ***gdbadmin1-1/+1
2008-06-092008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>Michael Snyder2-1/+5
* sis.c: Correct spelling error.
2008-06-09 * ld-sh/arch/arch_expected.txt: Regenerate.Kaz Kojima2-25/+29
2008-06-09 * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.Kaz Kojima2-1/+5
2008-06-09 * remote.c (remote_wait): Include beginning of malformed packetDoug Evans2-2/+9
in error output.
2008-06-09gdbTom Tromey5-7/+55
* completer.c (complete_line): Don't special-case expression_completer. (expression_completer): Only pass last word to location_completer. * c-exp.y (yylex): Check 'token', not 'operator'. gdb/testsuite * gdb.base/completion.exp: New tests for field name completion with spaces, and field name completion with '->'.
2008-06-09 * testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, andIan Lance Taylor2-0/+39
<exception>. (throwing, orig_terminate): New static variables. (terminate_handler): New static function. (t2): Set terminate handler.
2008-06-09/gas:Eric B. Weddington3-2/+6
2008-06-09 Eric B. Weddington <eric.weddington@atmel.com> * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device. * doc/c-avr.texi: Likewise.
2008-06-092008-06-09 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+7
bfd/ * elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared libraries.
2008-06-09 * configure.ac (build_warnings): Add -Wno-format for mingw.Daniel Jacobowitz3-0/+17
* configure: Regenerated.
2008-06-09 * ld-arm/mixed-lib.d: Loosen pattern.Daniel Jacobowitz2-1/+5
2008-06-092008-06-03 Christophe Lyon <christophe.lyon@st.com>Daniel Jacobowitz5-5/+39
bfd/ * elf32-arm.c (arm_stub_is_thumb): Define. (elf32_arm_final_link_relocate): Handle near mode switching stubs. ld/testsuite/ * ld-arm/farcall-thumb-thumb-m.d: Fix branch type. * ld-arm/farcall-thumb-arm.d: Likewise.
2008-06-09 * common.h: Change registry@caldera.com to registry@sco.com.Joseph Myers2-2/+6
2008-06-09daily updateAlan Modra1-1/+1
2008-06-09*** empty log message ***gdbadmin1-1/+1
2008-06-08 * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.Joseph Myers6-8/+38
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define. (all prefix="build-"): Pass them to build-system sub-makes. * Makefile.in: Regenerate. config: * config/mh-mingw (LDFLAGS): Define.
2008-06-08*** empty log message ***gdbadmin1-1/+1
2008-06-08daily updateAlan Modra1-1/+1
2008-06-07 * NEWS: Make indentation consistent. Move exec tracing entry outDaniel Jacobowitz2-8/+13
of remote packet list.
2008-06-07 * elf32-spu.c (spu_elf_auto_overlay): Add valid area below spAlan Modra2-1/+6
to stack calculation.
2008-06-07 * NEWS: Mention archive:path patterns.Alan Modra6-126/+177
* ld.texinfo: Likewise. * ldlang.c: Formatting throughout. (archive_path): Only assume "[A-Za-z]:" is a dos drive. (input_statement_is_archive_path): New function, extracted from.. (walk_wild): ..here. (walk_wild_consider_section): Match archive:path here too. (init_map_userdata, sort_def_symbol): Convert to ISO C. * ldmain.c (main): Set link_info.path_separator. * emultempl/spuelf.em (choose_target): Don't set it here.
2008-06-07sim:Joseph Myers52-52/+3348
2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * cris/configure: Regenerate. sim/common: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * aclocal.m4: Include ../../config/acx.m4. * common.m4: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Make-common.in (LIB_OBJS): Add version.o. (version.c, version.o): New rules. * run.c: Include version.h. (usage): Add help parameter. Print output either to stdout or stderr depending on that parameter. (print_version): New. (main): Check for --help and --version. * run-sim.h (sim_target_display_usage): Add help parameter. * version.h: New. sim/arm: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. * wrapper.c (sim_target_display_usage): Add help parameter. sim/cr16: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/d10v: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/erc32: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/frv: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/h8300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/iq2000: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32c: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32r: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m68hc11: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mcore: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mips: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mn10300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/ppc: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerated. * Makefile.in (LIB_OBJ): Add version.o. (version.c, version.o): New rules. * psim.c (psim_usage): Add help parameter. Print the bug URL. Exit with code 0 for help. (psim_options): Update calls to psim_usage. Handle --help and --version. * psim.h (psim_usage): Update prototype. * main.c (main): Update psim_usage call. sim/sh: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/sh64: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/v850: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate.
2008-06-07daily updateAlan Modra1-1/+1
2008-06-07*** empty log message ***gdbadmin1-1/+1
2008-06-062008-06-06 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+16
bfd/ * elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.
2008-06-06 * Makefile.in (gdbreplay.o): New rule.Daniel Jacobowitz2-0/+5
2008-06-06gdbTom Tromey18-30/+451
* value.h (evaluate_subexpression_type, extract_field_op): Declare. * printcmd.c (_initialize_printcmd): Use expression_completer for 'p', 'inspect', 'call'. * parser-defs.h (parse_field_expression): Declare. * parse.c: Include exceptions.h. (in_parse_field, expout_last_struct): New globals. (mark_struct_expression): New function. (prefixify_expression): Return int. (prefixify_subexp): Return int. Use expout_last_struct. (parse_exp_1): Update. (parse_exp_in_context): Add 'out_subexp' argument. Handle in_parse_field. (parse_field_expression): New function. * expression.h (parse_field_expression): Declare. (in_parse_field): Likewise. * eval.c (evaluate_subexpression_type): New function. (extract_field_op): Likewise. * completer.h (expression_completer): Declare. * completer.c (expression_completer): New function. (count_struct_fields, add_struct_fields): New functions. * c-exp.y (yyparse): Redefine. (COMPLETE): New token. (exp): New productions. (saw_name_at_eof, last_was_structop): New globals. (yylex): Return COMPLETE when needed. Recognize in_parse_field. (c_parse): New function. * breakpoint.c (_initialize_breakpoint): Use expression_completer for watch, awatch, and rwatch. * Makefile.in (parse.o): Depend on exceptions_h. gdb/testsuite * gdb.base/break1.c (struct some_struct): New struct. (values): New global. * gdb.base/completion.exp: Add field name completion test. gdb/doc * gdb.texinfo (Completion): Add field name example.
2008-06-06 * gdbreplay.c (gdbreplay_version): Say gdbreplay in versionJoseph Myers2-2/+7
message, not gdbserver.
2008-06-06Oops, missed some warnings.DJ Delorie5-1/+9
* mem.h (m32c_sim_restore_console): New.