aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-29[Ada] struct ada_symbol_info minor reformatting & doc update.Joel Brobecker2-5/+14
gdb/ChangeLog: * ada-lang.h (struct ada_symbol_info): Reformat. Improve documentation.
2012-03-29 * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete.Alan Modra3-20/+9
* bfd-in2.h: Regenerate.
2012-03-292012-03-29 Terry Guo <terry.guo@arm.com>Matthew Gretton-Dann3-0/+7
* gas/config/tc-arm.c (arm_cpus): Add cortex-m0plus. * gas/doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
2012-03-29 * dwarf.c (display_gdb_index): Handle index version 6.Tom Tromey2-1/+8
2012-03-29Commit gdb and sim support for v850e2 and v850e2v3 on behalf ofKevin Buettner11-29/+3380
Rathish C <Rathish.C@kpitcummins.com>.
2012-03-29*** empty log message ***gdbadmin1-1/+1
2012-03-28daily updateAlan Modra1-1/+1
2012-03-28[NEWS] Announce support for Ada varobj support.Joel Brobecker2-0/+6
gdb/ChangeLog: * NEWS: Add entry for Ada varobj support.
2012-03-28[doco] document the "type_changed" flag further.Joel Brobecker2-0/+12
gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Variable Objects): Document what happens to the children of a varobj and its update range when -var-update returns that the varobj's type changed.
2012-03-28New varobj language callback: value_is_changeable_p.Joel Brobecker2-54/+91
This patch introduces a new language-specific callback for varobj objects, allowing us to move the language-specific bits of the varobj_value_is_changeable_p routine to language-specific functions. This is more elegant than testing for the varobj's language... gdb/ChangeLog: * varobj.c (default_value_is_changeable_p): New function, extracted from varobj_value_is_changeable_p. Add declaration. (ada_value_is_changeable_p): New function, extracted from varobj_value_is_changeable_p. Add declaration. (struct language_specific): New field "value_is_changeable_p". (languages): Add entries for new field. (varobj_create): Set language before calling install_new_value. (varobj_value_is_changeable_p): Reimplement to call the varobj's "value_is_changeable_p" language callback.
2012-03-28Varobj support for Ada.Joel Brobecker5-9/+1032
This patch adds varobj support for Ada variables. Most of the code is implemented in a separate Ada-specific file called ada-varobj.c. The only bits in varobj.c are the functions used as the hooks in the language-specific varobj's vector. gdb/ChangeLog: * ada-varobj.h, ada-varobj.c: New files. * Makefile.in (SFILES): Add ada-varobj.c. (HFILES_NO_SRCDIR): Add ada-varobj.h. (COMMON_OBS): Add ada-varobj.o.
2012-03-28framework for varobj type mutationJoel Brobecker2-8/+115
This patch introduces the framework necessary to support type mutations. The only language that currently provides a language-specific hook for that feature is Ada, but the hook remain unimplemented for now. The actual implementation is tied to the rest of the varobj code for Ada, and thus will be provided then. gdb/ChangeLog: * varobj.c (ada_value_has_mutated): Add declaration. New function. (struct language_specific): New field "value_has_mutated". (languages): Set field "value_has_mutated" in each entry of array. (varobj_value_has_mutated): New function. (varobj_udpdate): Add handling of type mutation. (value_of_root): Add handling of type mutation. (ada_value_has_mutated): New function.
2012-03-282012-03-28 Pedro Alves <palves@redhat.com>Pedro Alves18-2/+102
* linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC. (IA64_GR0_REGNUM, IA64_FR0_REGNUM) (IA64_FR1_REGNUM): New defines. (ia64_fetch_register): New. (the_low_target): Install it. * linux-low.h (struct linux_target_ops) <fetch_register>: New field. * linux-low.c (linux_fetch_registers): Try the the_low_target.fetch_register hook first. * linux-arm-low.c (the_low_target): Adjust. * linux-bfin-low.c (the_low_target): Adjust. * linux-cris-low.c (the_low_target): Adjust. * linux-crisv32-low.c (the_low_target): Adjust. * linux-m32r-low.c (the_low_target): Adjust. * linux-m68k-low.c (the_low_target): Adjust. * linux-mips-low.c (the_low_target): Adjust. * linux-ppc-low.c (the_low_target): Adjust. * linux-s390-low.c (the_low_target): Adjust. * linux-sh-low.c (the_low_target): Adjust. * linux-sparc-low.c (the_low_target): Adjust. * linux-tic6x-low.c (the_low_target): Adjust. * linux-x86-low.c (the_low_target): Adjust. * linux-xtensa-low.c (the_low_target): Adjust.
2012-03-282012-03-28 Pedro Alves <palves@redhat.com>Pedro Alves2-1/+39
* ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register): Always supply $fr0 as 0.0 and $fr1 as 1.0.
2012-03-28 * python/py-inferior.c (infpy_read_memory): Remove cleanups andTom Tromey2-12/+14
explicitly free 'buffer' on exit paths. Decref 'membuf_object' before returning.
2012-03-28 * .dir-locals.el: New file.Tom Tromey2-0/+28
2012-03-28 * gdb.linespec/ls-dollar.cc: New file.Keith Seitz3-1/+70
* gdb.linespec/ls-dollar.exp: New test.
2012-03-282012-03-28 Pedro Alves <palves@redhat.com>Pedro Alves2-1/+5
* ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
2012-03-28 * gdb.cp/namespace.exp: Add breakpoint tests for functionsKeith Seitz2-0/+15
starting with the global namespace.
2012-03-28[ia64-linux] Allow libunwind to fetch register 0Joel Brobecker2-0/+15
On ia64-linux, GDB sometimes prints the following error when trying to switch to a different task: (gdb) task 3 Register 0 is not available This is a random failure that sometimes happens, sometimes does not. The error comes from the fact that the libunwind library is requesting the value of register 0 (zero): This eventually leads us to ia64-linux-nat.c:ia64_linux_fetch_register. This function relies on ia64_cannot_fetch_register to determine whether or not we have access to the register's value. The ptrace interface does not provide the r0 value, and so we end up telling the regcache that this register's value is not available. And yet, for r0, we do not need to ask ptrace for its value, since it is always zero. So, the fix was to add a special rule for supplying a nul value when regnum == IA64_GR0_REGNUM. gdb/ChangeLog: * ia64-linux-nat.c (ia64_linux_fetch_register): Add special handling for r0.
2012-03-28Pawandeep Oza updated to write-after-apporval section at the correct orderPawandeep Oza1-1/+1
2012-03-28*** empty log message ***gdbadmin1-1/+1
2012-03-27daily updateAlan Modra1-1/+1
2012-03-27gdb/doc/Jan Kratochvil2-7/+15
* gdb.texinfo (Auto-loading): Move @menu to the end of @node. Create two new links fir 'objfile-gdb.py file' and 'dotdebug_gdb_scripts section'.
2012-03-27gdb/doc/Jan Kratochvil2-5/+14
* gdb.texinfo (Auto-loading): Rename node reference '.debug_gdb_scripts section' to 'dotdebug_gdb_scripts section'. Twice. (.debug_gdb_scripts section): Rename the node ... (dotdebug_gdb_scripts section): ... here. (Maintenance Commands): Also rename this node reference.
2012-03-27ld/Roland McGrath3-47/+59
* configure.in: Set want64 on a 64-bit host regardless of --enable-targets=all. * configure: Regenerated.
2012-03-27Fix formatting.Pedro Alves1-35/+32
2012-03-272012-03-27 Pedro Alves <palves@redhat.com>Pedro Alves12-158/+140
Eliminate struct ui_stream. * ui-out.h (struct ui_stream): Delete. (ui_out_field_stream): Adjust prototype. (ui_out_stream_new, ui_out_stream_delete) (make_cleanup_ui_out_stream_delete): Delete declarations. * ui-out.c (ui_out_field_stream): Change prototype to take a ui_file instead of a ui_stream. Adjust. (ui_out_stream_new, ui_out_stream_delete, do_stream_delete) (make_cleanup_ui_out_stream_delete): Delete. * breakpoint.c (print_breakpoint_location) (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. * disasm.c (dump_insns): Ditto. (do_mixed_source_and_assembly, do_assembly_only): Adjust prototype. (gdb_disassembly): Use ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. * infcmd.c (print_return_value): Ditto. * osdata.c (info_osdata_command): Don't allocate a local ui_stream. * stack.c (print_frame_arg, print_frame_args, print_frame): Use ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. * tracepoint.c (print_one_static_tracepoint_marker): Don't allocate a local ui_stream. * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. (list_args_or_locals): Don't allocate a local ui_stream. * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression) (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. * cli/cli-setshow.c (do_setshow_command): Ditto.
2012-03-27 * arm-linux-tdep.c (arm_linux_init_abi): CallPawandeep Oza5-0/+2109
set_gdbarch_process_record. Initialize `arm_swi_record' field. * arm-tdep.c (arm_process_record): New function. (deallocate_reg_mem): New function. (decode_insn): New function. (thumb_record_branch): New function. (thumb_record_ldm_stm_swi(): New function. (thumb_record_misc): New function. (thumb_record_ld_st_stack): New function. (thumb_record_ld_st_imm_offset): New function. (thumb_record_ld_st_reg_offset(): New function. (thumb_record_add_sub_cmp_mov): New function. (thumb_record_shift_add_sub): New function. (arm_record_coproc_data_proc): New function. (arm_record_coproc): New function. (arm_record_b_bl): New function. (arm_record_ld_st_multiple): New function. (arm_record_ld_st_reg_offset): New function. (arm_record_ld_st_imm_offset): New function. (arm_record_data_proc_imm): New function. (arm_record_data_proc_misc_ld_str): New function. (arm_record_extension_space): New function. (arm_record_strx): New function. (sbo_sbz): New function. (struct insn_decode_record): New structure for arm insn record. (REG_ALLOC): New macro for reg allocations. (MEM_ALLOC): New macro for memory allocations. * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'
2012-03-27* m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.Andreas Schwab2-4/+11
(store_register): Likewise.
2012-03-27sim: add bugzilla markingMike Frysinger1-0/+1
2012-03-27*** empty log message ***gdbadmin1-1/+1
2012-03-26daily updateAlan Modra1-1/+1
2012-03-26MAINTAINERS (Write After Approval): Add myself to the list.Pawandeep Oza2-1/+5
2012-03-262012-03-26 Pedro Alves <palves@redhat.com>Pedro Alves2-4/+5
* server.c (handle_qxfer_libraries): Don't bail early if the_target->qxfer_libraries_svr4 is not NULL.
2012-03-262012-03-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* lexsup.c (parse_args): Add a missing '\n'.
2012-03-262012-03-26 Pedro Alves <palves@redhat.com>Pedro Alves2-1/+5
* linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment.
2012-03-26sim: add a proper sim_core_trans_addr prototypeMike Frysinger4-1/+16
The common code has a sim_core_trans_addr() helper that only the m32r code uses. Move the inline extern in the m32r code to the proper common header. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-26*** empty log message ***gdbadmin1-1/+1
2012-03-25daily updateAlan Modra1-1/+1
2012-03-25sim: bfin: skip .c/.S tests if no compiler is availableMike Frysinger2-0/+34
Similar to logic in the cris exp, attempt a simple compile and if it fails (presumably due to the compiler being broken), skip all the related tests. Fortunately, most tests (~600 out of ~800) are pure assembly, so people should still get pretty good coverage. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-25gdb/Jan Kratochvil2-2/+8
* NEWS (set breakpoint condition-evaluation): Change "gdb" to "host". Describe also the option "auto".
2012-03-25sim: bfin: disable redundant test that makes 32bit gas angryMike Frysinger2-1/+7
2012-03-25ld/Alan Modra5-11/+23
* ldemul.c (before_allocation_default): Revert last change. ldlang.c (lang_add_section): Likewise. (strip_excluded_output_sections): Don't strip output sections with user input sections when emitrelocations, unless all are SEC_EXCLUDE. ld/testsuite/ * ld-powerpc/vxworks-relax.rd: Remove check on reloc section file offset and reloc symbol indices.
2012-03-25sim: bfin: fix typos in large constants in testsMike Frysinger6-5/+13
Truncate constants that are larger than 32bits but get loaded into 32bit registers. These high bits don't get used and don't really make sense.
2012-03-25*** empty log message ***gdbadmin1-1/+1
2012-03-24daily updateAlan Modra1-1/+1
2012-03-24 * nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanzaHans-Peter Nilsson2-0/+11
missing in last change.
2012-03-24[PATCH] sim: make sure to include strsignal prototypeMike Frysinger104-3403/+6118
Before POSIX standardized strsignal(), old systems would hide the prototype unless the normal extension defines were enabled. So use the AC_USE_SYSTEM_EXTENSIONS helper for that. Then make sure we include string.h ourselves in nrun.c rather than relying on implicit includes via other sim headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-24sim: testsuite: regen configure after rl78 additionMike Frysinger1-0/+4