aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-112009-07-11 Hui Zhu <teawater@gmail.com>Hui Zhu7-26/+80
* cli/cli-cmds.c (disassemble_command): Add a new modifier /r to "disassemble" command to print the raw instructions in hex as well as in symbolic form. (init_cli_cmds): Ditto. (print_disassembly): Change "mixed" to "flags" to translate the behavior of disassemble. (disassemble_current_function): Ditto. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto. * stack.c (gdb_disassembly_stub): Ditto. * disasm.c (do_mixed_source_and_assembly): Ditto. (do_mixed_source_and_assembly): Ditto. (do_assembly_only): Ditto. (gdb_disassembly): Ditto. (dump_insns): print the raw instructions in hex as well as in symbolic form if DISASSEMBLY_RAW_INSN and flags is true. * disasm.h (DISASSEMBLY_SOURCE): Include source code with the assembly if it and flags is true. (DISASSEMBLY_RAW_INSN): Include the raw instructions in hex with the assembly if it and flags is true. (gdb_disassembly): Update extern. * NEWS: Document disassemble/r support.
2009-07-11 * ldlang.c (insert_os_after): Don't tie assignments to non-allocAlan Modra2-5/+17
output sections.
2009-07-11daily updateAlan Modra1-1/+1
2009-07-11*** empty log message ***gdbadmin1-1/+1
2009-07-10 * gdbint.texinfo (Testsuite): Document parallel make check.Tom Tromey2-0/+14
2009-07-102009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+10
* ld-ifunc/ifunc.exp: Don't chck static non-ifunc-using executable.
2009-07-10gdb/docTom Tromey4-0/+76
* gdbint.texinfo (Testsuite): Document test transcripts. gdb/testsuite * lib/gdb.exp: Handle TRANSCRIPT. (remote_spawn, remote_close, send_gdb): New procs.
2009-07-102009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+10
* bfdio.c (bfd_iovec): Add comments for bmmap. * bfd-in2.h: Regenerated.
2009-07-10bfd/H.J. Lu9-46/+122
2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. binutils/ 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. gas/ 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated.
2009-07-102009-07-10 Doug Kwan <dougkwan@google.com>Doug Kwan2-3/+9
* arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only lower 32 bits of long types to make hexadecimal output consistent on both 32-bit and 64-bit hosts.
2009-07-102009-07-10 Doug Kwan <dougkwan@google.com>Doug Kwan2-0/+7
* elf32-arm.c (stub_hash_newfunc): Initialize fields target_addend and orig_insn.
2009-07-10bfdTom Tromey28-84/+156
* Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. (elf-eh-frame.lo): Likewise. (elf32-bfin.lo): Likewise. (elf32-frv.lo): Likewise. (elf32-xc16x.lo): Likewise. * Makefile.in: Rebuild. * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. * elf-eh-frame.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-xc16x.c: Likewise. binutils * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. * Makefile.in: Rebuild. * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. gas * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not elf/dwarf2.h. (DEPTC_alpha_elf): Likewise. (DEPTC_alpha_evax): Likewise. (DEPTC_arm_elf): Likewise. (DEPTC_hppa_elf): Likewise. (DEPTC_i386_aout): Likewise. (DEPTC_i386_coff): Likewise. (DEPTC_i386_elf): Likewise. (DEPTC_m68k_aout): Likewise. (DEPTC_m68k_coff): Likewise. (DEPTC_m68k_elf): Likewise. (DEPTC_mips_coff): Likewise. (DEPTC_mips_ecoff): Likewise. (DEPTC_mips_elf): Likewise. (DEPTC_ppc_coff): Likewise. (DEPTC_ppc_elf): Likewise. (DEPTC_s390_elf): Likewise. (DEPTC_sh_coff): Likewise. (DEPTC_sh_elf): Likewise. (DEPTC_sh64_elf): Likewise. (DEPTC_sparc_aout): Likewise. (DEPTC_sparc_coff): Likewise. (DEPTC_sparc_elf): Likewise. (as.o): Likewise. (dwarf2dbg.o): Likewise. (dw2gencfi.o): Likewise. (ehopt.o): Likewise. (read.o): Likewise. * Makefile.in: Rebuild. * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. gdb * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h. * dwarf2expr.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * sh-tdep.c: Likewise. * xtensa-tdep.c: Likewise. include * dwarf2.h: New file, moved from elf/. include/elf * dwarf2.h: Move to `..'.
2009-07-10 * elf32-arm.c (arm_build_one_stub): Use the hash entry of theJulian Brown2-1/+10
symbol a stub entry is derived from, not the entry for the stub itself, in call to elf32_arm_final_link_relocate.
2009-07-102009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-847/+5
* dwarf2.h: Just include ../dwarf2.h.
2009-07-102009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-6/+12
* ld-ifunc/ifunc-1-local-x86.d: Updated. * ld-ifunc/ifunc-1-x86.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise.
2009-07-10Regenerate.Alan Modra47-46/+61
2009-07-10gdb/Jan Kratochvil2-23/+25
Tidy up the code. * mi/mi-cmd-var.c (mi_cmd_var_update): Remove variable nv. Move variables var, rootlist and cr to their local sub-block. Move the make_cleanup_ui_out_tuple_begin_end, make_cleanup_ui_out_list_begin_end and do_cleanups calls to the common base block. Remove the zero NV check.
2009-07-10bfd/H.J. Lu8-9/+28
2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros when reporting addends. ld/testsuite/ 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * ld-ifunc/ifunc-1-local-x86.d: Updated. * ld-ifunc/ifunc-1-x86.d: Likewise.Likewise. * ld-ifunc/ifunc-2-local-x86-64.d: Likewise.Likewise. * ld-ifunc/ifunc-2-x86-64.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise.Likewise.
2009-07-10 * elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache managerAlan Modra2-86/+97
data even when no stubs. (spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust.
2009-07-10 * emultempl/ppc32elf.em (ppc_before_allocation): Turn onAlan Modra2-0/+38
linker relaxation if it might be necessary.
2009-07-10STT_GNU_IFUNC support for PowerPC.Alan Modra10-341/+974
2009-07-102009-07-10 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon16-83/+267
* python/python-internal.h (apply_varobj_pretty_printer): Update definition. (python_string_to_target_python_string): Add definition. * python/python-utils.c (unicode_to_encoded_python_string) (unicode_to_target_python_string) (python_string_to_target_python_string): New Functions. * python/python-prettyprint.c (pretty_print_one_value): Likewise. (print_string_repr): Refactor to logic to account for PyObject returned strings. (apply_varobj_pretty_printer): Likewise. * python/python-value.c (valpy_string): Parse length keyword. Use length keyword in LA_GET_STRING. * varobj.c (value_get_print_value): Refactor logic to account for PyObject returned strings. * c-lang.c (c_get_string): If the length parameter is specified, use that. Return value in characters. Update comments. * language.h: Update c_get_string prototype comments. 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Values From Inferior): Add length parameter description. 2009-07-10 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/python-prettyprint.c: Add counted null string structure. * gdb.python/python-prettyprint.exp: Print null string. Test for embedded nulls. * gdb.python/python-prettyprint.py (pp_ns): New Function. * gdb.python/python-value.exp (test_value_in_inferior): Add variable length string fetch tests. * gdb.python/python-value.c (main): Add strings for string fetch tests.
2009-07-10 * elf.c (_bfd_elf_get_synthetic_symtab): Report addends.Alan Modra2-1/+22
2009-07-10 * elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regularAlan Modra5-7/+17
and ref_regular_nonweak comment. * elflink.c (elf_link_output_extsym): Special case ifunc syms when def_regular, not ref_regular. (elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,.. * elf32-i386.c (elf_i386_check_relocs): ..set it here instead.. * elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here.
2009-07-10daily updateAlan Modra1-1/+1
2009-07-10*** empty log message ***gdbadmin1-1/+1
2009-07-09 * merge.cc (Object_merge_map::initialize_input_to_output_map):Ian Lance Taylor2-0/+11
Reserve space in the hash table.
2009-07-09 * i386-tdep.c (i386_displaced_step_fixup): Fix order of argumentsDoug Evans2-1/+6
to read_memory_unsigned_integer.
2009-07-09merge from gccDJ Delorie2-0/+9
2009-07-09gdb/Jan Kratochvil4-2/+17
Report error on inaccessible memory. * cli/cli-dump.c: Include gdbcore.h. (dump_memory_to_file): Call read_memory instead of target_read_memory. gdb/testsuite/ * gdb.base/dump.exp (inaccessible memory is reported): New test.
2009-07-09merge from gccDJ Delorie2-0/+867
2009-07-092009-07-09 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+13
* solib.c (solib_bfd_open): Output a warning if solib's architecture is not compatible with inferior's architecture.
2009-07-09gdb/Jan Kratochvil2-2/+17
* target.h (struct target_ops <to_thread_architecture>): Describe it. (target_thread_architecture): Refer to to_thread_architecture.
2009-07-09 * elf32-spu.c (mark_functions_via_relocs): Init broken_cycle fieldAlan Modra2-0/+9
of malloc'd struct call_info. (pasted_function): Likewise, priority too.
2009-07-09 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.Nick Clifton13-273/+611
(set_it_insn_type_nonvoid): New macro. (emit_thumb32_expr): New function. (thumb_insn_size): New function. (emit_insn): New function. (s_arm_elf_inst): New function. (md_pseudo_table): New pseudo-opcode entries added. * doc/c-arm.texi: New directive added. * gas/arm/inst-po.d: New testcase. * gas/arm/inst-po.s: New file. * gas/arm/inst-po-2.d: New testcase. * gas/arm/inst-po-2.s: New file. * gas/arm/inst-po-2.l: New file. * gas/arm/inst-po-3.d: New testcase. * gas/arm/inst-po-3.s: New file. * gas/arm/inst-po-be.d: New testcase.
2009-07-09 * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.Pierre Muller2-0/+5
2009-07-09*** empty log message ***gdbadmin1-1/+1
2009-07-09daily updateAlan Modra1-1/+1
2009-07-08 * tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.Ulrich Weigand2-1/+6
2009-07-08 * Makefile.in (traps.o): Add dependency on targ-vals.h to fixDoug Evans2-1/+8
parallel makes.
2009-07-08 * Makefile.in (stamp-arch): Pass archfile to cgen-arch.Doug Evans2-1/+10
(stamp-cpu): Pass archfile to cgen-cpu-decode.
2009-07-08 * ld-selective/selective.exp: Remove check that $CC contains theAlan Modra2-9/+12
string "gcc". Do -dumpversion for $CXX.
2009-07-08daily updateAlan Modra1-1/+1
2009-07-08*** empty log message ***gdbadmin1-1/+1
2009-07-07 * breakpoint.c (set_raw_breakpoint): Remove static modifier.Pierre Muller2-2/+8
2009-07-07gdbTom Tromey17-65/+106
* c-lang.c (convert_octal): Only allow 3 octal digits. (print_wchar): Prefer 3-digit octal form. Fall back to hex if needed. * c-exp.y (c_parse_escape): Only allow 3 octal digits. gdb/testsuite * gdb.base/call-rt-st.exp: Update for change to escape output. * gdb.base/callfuncs.exp: Likewise. * gdb.base/charset.exp: Likewise. * gdb.base/constvars.exp: Likewise. * gdb.base/long_long.exp: Likewise. * gdb.base/pointers.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/store.exp: Likewise. * gdb.cp/ref-types.exp: Likewise. * gdb.mi/mi-var-child.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi2-var-display.exp: Likewise. * gdb.base/charset.exp: Test octal escape sequence length. Update for change to escape output.
2009-07-07* config/tc-mep.c (md_begin): Don't reset the coprocessor optionsDJ Delorie2-1/+26
when enabling other options without a specific configuration.
2009-07-072009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-9/+6
* python/python-value.c (valpy_getitem): Remove incorrect assert.
2009-07-072009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-6/+14
* python/python-value.c (valpy_getitem): Don't return from TRY_CATCH.
2009-07-072009-07-07 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla4-37/+52
* cp-support.h (struct using_direct): Rename members inner and outer to import_src, and import_dest respectively. * cp-namespace.c (cp_add_using_directive): Update. (cp_add_using): Update. (cp_copy_usings): Update. (cp_lookup_symbol_namespace): Update. (cp_scan_for_anonymous_namespaces): Update. * cp-support.c (make_symbol_overload_list_using): Update. * cp-support.h (cp_add_using_directive, cp_add_using): Rename arguments from inner and outer to src and dest respectively. * cp-namespace.c (cp_add_using_directive): Ditto. (cp_add_using): Ditto.