1. 06 Apr, 2010 9 commits
  2. 05 Apr, 2010 14 commits
    • Pierre Muller's avatar
      * gdb/stabsread.c (define_symbol): Add support for char · ec8a089a
      Pierre Muller authored
      	and string constants.
      
      	* gdb/testsuite/gdb.stabs/aout.sed: Convert all backslash to double backslash
      	within one line, unless it is followed by a double quote.
      	* gdb/testsuite/gdb.stabs/hppa.sed: Idem.
      	* gdb/testsuite/gdb.stabs/weird.def: Add char and String constants
      	* gdb/testsuite/gdb.stabs/weird.exp: Check for correct parsing of
      	chhar and string constants.
      	* gdb/testsuite/gdb.stabs/xcoff.sed: Ignore escaped quote quotes
      	in .stabs to .stabx substitution.
      ec8a089a
    • Pierre Muller's avatar
      Remove remaining "%ll" uses. · 2244ba2e
      Pierre Muller authored
      	* go32-nat.c (go32_pte_for_address): Replace "0x%llx" using
      	hex_string call.
      	* rs6000-nat.c (rs6000_ptrace64): Idem.
      	* solib-pa64.c (pa64_current_sos): Idem.
      	* solib-spu.c (spu_current_sos): Idem.
      	* linux-nat.c (linux_nat_find_memory_regions): Replace "%lld" using
      	plongest call.
      	* nto-procfs.c (procfs_meminfo): Replace "0x%016llx" using
      	phex (VAR, 8) call.
      	* sh64-tdep.c (sh64_show_media_regs): Idem.
      2244ba2e
    • Stan Shebs's avatar
      2010-04-05 Stan Shebs <stan@codesourcery.com> · fce3c1f0
      Stan Shebs authored
      	* tracepoint.c: Include gdbcore.h.
      	(tfile_xfer_partial): Return partial results, also try reading
      	from executable.
      	(tfile_has_all_memory): New function.
      	(init_tfile_ops): Use it.
      
      	* gdb.trace/tfile.c: Add a variable split across two blocks, and a
      	constant global.
      	* gdb.trace/tfile.exp: Try to print them.
      fce3c1f0
    • DJ Delorie's avatar
      merge from gcc · 9cdcc3e8
      DJ Delorie authored
      9cdcc3e8
    • Jakub Jelinek's avatar
      bfd/ · 604282a7
      Jakub Jelinek authored
      	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4
      	provided that it has the expected address size and zero segment
      	length.
      binutils/
      	* dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
      	fields.
      	(display_debug_frames): Handle CIE version 4.
      604282a7
    • Jakub Jelinek's avatar
      include/ · a233b20c
      Jakub Jelinek authored
      	* dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
      	field.
      bfd/
      	* dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
      	(struct line_info): Add op_index field, change end_sequence type to
      	unsigned char.
      	(new_line_sorts_after): For the same address compare op_index.
      	(add_line_info): Add op_index argument, store it into the structure.
      	(decode_line_info): Complain about unknown versions of .debug_line.
      	Initialize maximum_ops_per_insn.  Add op_index state register and
      	track it.
      binutils/
      	* dwarf.c (struct State_Machine_Registers): Add op_index field,
      	change end_sequence type to unsigned char.
      	(reset_state_machine): Clear op_index.
      	(process_extended_line_op): For DW_LNE_set_address clear op_index.
      	(display_debug_lines_raw): Initialize li_max_ops_per_insn.
      	Track op_index state machine register and print it if
      	li_max_ops_per_insn is != 1.
      	(display_debug_lines_decoded): Likewise.
      a233b20c
    • DJ Delorie's avatar
      merge from gcc · 0fa6bd39
      DJ Delorie authored
      0fa6bd39
    • Doug Evans's avatar
      c375651d
    • Sergio Durigan Junior's avatar
      2010-03-23 Sergio Durigan Junior <sergiodj@redhat.com> · 626ea16d
      Sergio Durigan Junior authored
      	PR gdb/10736:
      	* xml-syscall.c (my_gdb_datadir): New variable to keep track of
      	the changes in data-directory.
      	(init_sysinfo): Reload the syscall XML file if the data-directory
      	has changed.
      626ea16d
    • Jan Kratochvil's avatar
      gdb/ · 1f7ccab2
      Jan Kratochvil authored
      	Code cleanup.
      	* breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop.
      1f7ccab2
    • Kai Tietz's avatar
      2010-04-05 Kai Tietz <kai.tietz@onevision.com> · 522f09cd
      Kai Tietz authored
      	* emultempl/pep.em (U): Macro modified.
      	(U_SIZE): New helper macro.
      	(GET_INIT_SYMBOL_NAME): Likewise.
      	(enum options): Add OPTION_NO_LEADING_UNDERSCORE
      	and OPTION_LEADING_UNDERSCORE enumerator-values.
      	(gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
      	option.
      	(definfo): Add new member is_c_symbol.
      	(D): Add to macro underscore mode parameter.
      	(init): Add definition for is_c_symbol.
      	(gld_${EMULATION_NAME}_list_options): Display new options.
      	(set_pep_name): Adjust underscoring dependent fixed
      	symbol handling.
      	(gld_${EMULATION_NAME}_set_symbols): Likewise.
      	(saw_option): Likewise.
      	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
      	(set_entry_point): Initial initial_symbol_char dependent to
      	target's default and new option flag pep_leading_underscore.
      	* emultempl/pe.em (U): Macro modified.
      	(U_SIZE): New helper macro.
      	(GET_INIT_SYMBOL_NAME): Likewise.
      	(OPTION_LEADING_UNDERSCORE): Add new option define.
      	(OPTION_NO_LEADING_UNDERSCORE): Likewise.
      	(gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
      	option.
      	(definfo): Add new member is_c_symbol.
      	(D): Add to macro underscore mode parameter.
      	(init): Add definition for is_c_symbol.
      	(gld_${EMULATION_NAME}_list_options): Display new options.
      	(set_pep_name): Adjust underscoring dependent fixed
      	symbol handling.
      	(gld_${EMULATION_NAME}_set_symbols): Likewise.
      	(saw_option): Likewise.
      	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
      	(set_entry_point): Initial initial_symbol_char dependent to
      	target's default and new option flag pep_leading_underscore.
      	* pe-dll.c (pe_leading_underscore): New flag variable.
      	(pe_detail_list): Remove const to allow modify of
      	member underscore.
      	(pe_dll_id_target): Initialize pe_details' underscore variable
      	dependent to target's default and flag pe_leading_underscore.
      	* pe-dll.h (pe_leading_underscore): Add extern declaration of
      	option flag.
      	* pep-dll.c (pe_leading_underscore): Add alias define for
      	pep_leading_underscore.
      	* pep-dll.h (pep_leading_underscore) Add extern declaration of
      	option flag.
      	* ld.texinfo: Add documentation for --(no-)leading-underscore
      	option.
      522f09cd
    • Kai Tietz's avatar
      2010-04-05 Kai Tietz <kai.tietz@onevision.com> · c51297b4
      Kai Tietz authored
      	* ld-pe/orphan_nu.d: New test for --no-leading-underscore.
      	* ld-pe/orphana_nu.s: New file.
      	* ld-pe/pe.exp: Add orphan_nu test.
      c51297b4
    • Alan Modra's avatar
      daily update · d814f9a9
      Alan Modra authored
      d814f9a9
    • gdbadmin's avatar
      *** empty log message *** · 0539a0de
      gdbadmin authored
      0539a0de
  3. 04 Apr, 2010 6 commits
    • Stan Shebs's avatar
      2010-04-04 Stan Shebs <stan@codesourcery.com> · d77f58be
      Stan Shebs authored
      	    Nathan Sidwell  <nathan@codesourcery.com>
      
      	* breakpoint.c (breakpoint_1): Add filter argument, return number of
      	breakpoints printed.
      	(is_hardware_watchpoint): Make argument const.
      	(is_watchpoint): Ditto.
      	(is_tracepoint): Merge of tracepoint_type and breakpoint_is_tracepoint,
      	use it everywhere.
      	(breakpoints_info): Pass NULL to breakpoint_1.
      	(maintenance_info_breakpoints): Ditto.
      	(watchpoints_info): New function.
      	(tracepoints_info): Use breakpoint_1 filter.
      	(set_ignore_count): Warn that tracepoint ignore count will be ignored.
      	(_initialize_breakpoint): Make "info watchpoints" its own command.
      	* breakpoint.h (is_tracepoint): Rename from breakpoint_is_tracepoint.
      	* mi/mi-cmd-break.c (mi_cmd_break_commands): Use is_tracepoint.
      
      	* gdb.texinfo (Setting Breakpoints): "info watch" no longer a synonym.
      	(Setting Watchpoints): Update description of "info watch".
      	(Disabling Breakpoints): Only "info break" lists all.
      
      	* gdb.base/completion.exp: Update for new "info watchpoints".
      	* gdb.base/default.exp: Ditto.
      	* gdb.base/help.exp: Ditto.
      	* gdb.base/watchpoint.exp: Ditto.
      	* gdb.trace/infotrace.exp: Update "info tracpoints" output.
      d77f58be
    • Stan Shebs's avatar
      2010-04-04 Stan Shebs <stan@codesourcery.com> · af54718e
      Stan Shebs authored
      	* tracepoint.c (tfile_fetch_registers): Add fallback case.
      
      	* gdb.texinfo (Tracepoint Restrictions): Document PC inference.
      	(tdump): Explain how tdump works.
      
      	* gdb.trace/tfile.exp: Sharpen tfind test.
      af54718e
    • Jan Kratochvil's avatar
      gdb/ · 74d1f91e
      Jan Kratochvil authored
      	* infcmd.c (run_command_1): Call proceed with regcache_read_pc address.
      	* config/djgpp/fnchange.lst: Add translation for break-entry.exp.
      
      gdb/testsuite/
      	* gdb.base/break-entry.exp: New.
      74d1f91e
    • Jan Kratochvil's avatar
      gdb/ · 91d91ceb
      Jan Kratochvil authored
      	* breakpoint.c (bpstat_find_step_resume_breakpoint): Remove.
      	* breakpoint.h (bpstat_find_step_resume_breakpoint): Remove.
      91d91ceb
    • gdbadmin's avatar
      *** empty log message *** · 6d1ad401
      gdbadmin authored
      6d1ad401
    • Alan Modra's avatar
      daily update · ec988df6
      Alan Modra authored
      ec988df6
  4. 03 Apr, 2010 2 commits
    • Pedro Alves's avatar
      * inferiors.c (add_thread): Set last_status kind to · fc7238bb
      Pedro Alves authored
      	TARGET_WAITKIND_IGNORE.
      	* linux-low.c (cancel_breakpoint): Remove unnecessary regcache
      	fetch.  Use ptid_of.  Avoid unnecessary get_lwp_thread calls.
      	(linux_wait_1): Move `thread' local definition to block that uses
      	it.  Don't NULL initialize `event_child'.
      	(linux_resume_one_thread): Avoid unnecessary get_lwp_thread calls.
      	Alway set the thread's last_status to TARGET_WAITKIND_IGNORE.
      	* linux-x86-low.c (x86_breakpoint_at): Read raw memory.
      fc7238bb
    • gdbadmin's avatar
      *** empty log message *** · 1eed4def
      gdbadmin authored
      1eed4def
  5. 02 Apr, 2010 9 commits