aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-12-21*** empty log message ***gdbadmin1-1/+1
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+19
* arm-tdep.c (arm_register_reggroup_p): New. (arm_gdbarch_init): Set arm_register_reggroup_p for hook register_reggroup_p.
2010-12-20Forget to commit in my last check inYao Qi1-13/+13
2010-12-20 Yao Qi <yao@codesourcery.com> * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-202010-12-20 Yao Qi <yao@codesourcery.com>Yao Qi5-58/+67
* features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate.
2010-12-20*** empty log message ***gdbadmin1-1/+1
2010-12-19*** empty log message ***gdbadmin1-1/+1
2010-12-18 * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.Marc Khouzam2-0/+33
(get_other_inferior): New.
2010-12-18 * python/py-progspace.c (py_free_pspace): Obtain arch anotherMarc Khouzam2-3/+7
way to avoid dereferencing a null pointer.
2010-12-182010-12-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* utils.c (do_my_cleanups): Comment fix-up.
2010-12-18*** empty log message ***gdbadmin1-1/+1
2010-12-17 * mips-tdep.c (make_mips16_addr): New function.Kevin Buettner2-5/+68
(mips_elf_make_msymbol_special): Don't set the low bit in the symbol's address. (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit indicating mips16 address, if present. (mips_write_pc): Set bit indicating mips16 address when in a mips16 function. (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, but for each function pointer argument to inferior function call.
2010-12-17 * psympriv.h (struct partial_symtab) <readin>: Move fieldTom Tromey2-4/+11
earlier.
2010-12-17*** empty log message ***gdbadmin1-1/+1
2010-12-16 * mips-tdep.c (mips_convert_register_float_case_p)Kevin Buettner2-5/+99
(mips_convert_register_gpreg_case_p): New functions. (mips_convert_register_p): Invoke new functions above. (mips_register_to_value): Add case for fetching value shorter than 64 bits from a 64-bit register. (mips_value_to_register): Add case for storing value shorter than 64 bits into a 64-bit register.
2010-12-162010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>Tom Tromey2-1/+6
* python/py-value.c (value_object_type) <tp_flags>: Add Py_TPFLAGS_BASETYPE.
2010-12-16NEWS: Mention new sim --map-info flag.Mike Frysinger2-0/+8
2010-12-16 * dwarf2read.c (_initialize_dwarf2_read): Fix help text ofDoug Evans2-1/+6
"save gdb-index" command.
2010-12-16*** empty log message ***gdbadmin1-1/+1
2010-12-15gdbTom Tromey5-3/+68
* infrun.c (save_infcall_control_state): Handle the exception-resume breakpoint. (restore_infcall_control_state): Likewise. (discard_infcall_control_state): Likewise. gdb/testsuite 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.cp/nextoverthrow.cc (dummy): Return int 0. (NextOverThrowDerivates) <resumebpt>: New. (resumebpt_test): New. (main): Call resumebpt_test. * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2010-12-15 * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bitKevin Buettner2-6/+23
cooked values that are being transferred to 64-bit raw registers. (mips_pseudo_register_read): Revise to preserve symmetry with mips_pseudo_register_write().
2010-12-152010-12-15 Greg Watson <g.watson@computer.org>Tom Tromey2-2/+6
* f-exp.y (yylex): Check entire token against keywords.
2010-12-15 Rename "maint set python auto-load" to "set auto-load-scripts".Doug Evans5-19/+64
* NEWS: Mention it. * python/py-auto-load.c (auto_load_scripts): Renamed from gdbpy_auto_load. (load_auto_scripts_for_objfile): Update. (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to "set auto-load-scripts". doc/ * gdb.texinfo (Startup): Document auto-loading of scripts during startup. (Auto-loading): Delete "maint set python auto-load on|off". Add "set auto-load-scripts on|off".
2010-12-15*** empty log message ***gdbadmin1-1/+1
2010-12-14 * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, ratherKevin Buettner2-11/+16
than unsigned, values in registers.
2010-12-14Move gdb ChangeLog entry to gdb/ChangeLog.H.J. Lu1-0/+7
2010-12-14gdb:Ken Werner2-6/+18
* valops.c (value_one): Use get_array_bounds to compute the number of array elements instead of dividing the length of the array by the length of the element types. * valarith.c (value_complement, value_neg): Likewise.
2010-12-14build failure on IRIX when building with Python support.Joel Brobecker4-5/+44
This is a nasty interaction between Python and GDB. Basically, Python causes some macros to be unilaterally defined in order to turns some features on: /* Define to activate features from IEEE Stds 1003.1-2001 */ #define _POSIX_C_SOURCE 200112L /* Define to the level of X/Open that your system supports */ #define _XOPEN_SOURCE 600 But the problem is that they turn off defines provided by some system headers on which we depend. Namely: * sys/siginfo.h: #if _SGIAPI #define siginfo __siginfo #endif * sys/ucontext.h: #if _SGIAPI && !defined(__SGI_NOUCONTEXT_COMPAT) [...] #define fp_r __fp_r [...] #define fp_csr __fp_csr [...] #endif The important macro here is _SGIAPI, defined as follow in standards.h: #define _SGIAPI ((defined(_SGI_SOURCE) && \ _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5) || \ (_ANSIMODE && _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5)) If one builds GDB without Python, then _SGIAPI is true, and all is fine. But building with Python causes both _POSIX_C_SOURCE and _XOPEN_SOURCE to trip all the _NO_[...] tests (_NO_POSIX, _NO_XOPEN4, _NO_XOPEN5). And so we get build failures because we try to use undefined types, or non-existent component names inside the regset structure. The latter problem is observed only within irix5-nat.c, which means that it is specific to IRIX. So it's easy to write the code in a way that it does not require the macros (just use the real component names, rather than relying on the macros to do the translation). The former, on the other hand, is a little trickier, because the problem occurs inside a generic unit (procfs.c). The solution I chose was to adjust the configure script to add -Dsiginfo=__siginfo to the CPPFLAGS if building with python using GCC on IRIX. We hadn't seen this sort of issue up to now because the affect units have not been dependent on the python includes up to now. Recent changes have made them indirectly dependent on Python, thus triggering the issues. gdb/ChangeLog: * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs and __fp_scr respectively throughout. * configure.ac: Compile with -Dsiginfo=__siginfo if building with Python using GCC on IRIX. * configure: Regenerate.
2010-12-14*** empty log message ***gdbadmin1-1/+1
2010-12-13 * solib-svr4.c (enable_break): Don't attempt to place breakpoints,Kevin Buettner2-9/+18
when attaching, on the names in bkpt_names: _start, __start, and main.
2010-12-132010-12-12 Stan Shebs <stan@codesourcery.com>Stan Shebs4-7/+90
* value.c (value_of_internalvar): Add case for trace state variables. * gdb.trace/tsv.exp: Test print command on trace state variables.
2010-12-13*** empty log message ***gdbadmin1-1/+1
2010-12-12 * dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.Doug Evans2-124/+240
(dwarf2_per_cu_quick_data): Move definition down to "quick functions" section. Delete members lines full_names. Rename read_lines to no_file_data. (quick_file_names): New struct. (hash_file_name_entry, eq_file_name_entry): New functions. (delete_file_name_entry, create_quick_file_names_table): New functions. (dwarf2_read_index): Initialize quick_file_names_table. (dw2_get_file_names): Renamed from dw2_require_line_header. Return pointer to quick_file_names entry. All callers updated. (dw2_get_real_path): Renamed from dw2_require_full_path. Replace per_cu arg with pointer to quick_file_names entry. All callers updated. (dw2_free_cached_file_names): New function. (dw2_forget_cached_source_info): Call it (via htab_traverse_noresize). (dwarf2_initialize_objfile): Initialize quick_file_names_table in the OBJF_READNOW case. (dwarf2_free_objfile): Rewrite freeing of quick file names tables.
2010-12-12Fix mail addres in ChangeLog.Mark Kettenis1-1/+1
2010-12-12* mips64obsd-tdep.c (floatformats_mips64_quad): New define.Mark Kettenis2-0/+13
(mips64obsd_init_abi): Set long_double_bit and long_double_format.
2010-12-12* sparc-tdep.c: Fix typo in comment.Mark Kettenis2-1/+5
2010-12-12*** empty log message ***gdbadmin1-1/+1
2010-12-11*** empty log message ***gdbadmin1-1/+1
2010-12-10 * dwarf2read.c: Whitespace cleanup, plus comment additions.Doug Evans2-8/+29
No code changes.
2010-12-10 * NEWS: Document exception-handling change.Tom Tromey2-0/+11
2010-12-10*** empty log message ***gdbadmin1-1/+1
2010-12-09 * mi/mi-parse.c (mi_parse): Wrong error message.Marc Khouzam2-3/+9
2010-12-09 * symfile.h (quick_symbol_functions): Clarify usage ofDoug Evans2-3/+8
map_symbol_filenames.
2010-12-09gdbTom Tromey6-39/+82
* mi/mi-parse.h (mi_parse): Update. * mi/mi-parse.c (mi_parse_cleanup): New function. (mi_parse): Add 'token' argument. Throw exception on error. * mi/mi-main.c (mi_print_exception): New function. (mi_execute_command): Use mi_print_exception. Catch exceptions from mi_parse. gdb/testsuite * gdb.base/interp.exp: Add regression test.
2010-12-09gdbTom Tromey13-27/+867
PR c++/9593: * thread.c (clear_thread_inferior_resources): Call delete_longjmp_breakpoint. * infrun.c (handle_inferior_event): Handle exception breakpoints. (handle_inferior_event): Likewise. (insert_exception_resume_breakpoint): New function. (check_exception_resume): Likewise. * inferior.h (delete_longjmp_breakpoint_cleanup): Declare. * infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static. (step_1): Set thread's initiating frame. (until_next_continuation): New function. (until_next_command): Support exception breakpoints. (finish_command_continuation): Delete longjmp breakpoint. (finish_forward): Support exception breakpoints. * gdbthread.h (struct thread_info) <initiating_frame>: New field. * breakpoint.h (enum bptype) <bp_exception, bp_exception_resume, bp_exception_master>: New constants. (struct bpstat_what) <is_longjmp>: New field. (set_longjmp_breakpoint): Update. * breakpoint.c (create_exception_master_breakpoint): New function. (update_breakpoints_after_exec): Handle bp_exception_master. Call create_exception_master_breakpoint. (print_it_typical): Handle bp_exception_master, bp_exception. (bpstat_stop_status): Handle bp_exception_master. (bpstat_what): Handle bp_exception_master, bp_exception, bp_exception_resume. (bptype_string): Likewise. (print_one_breakpoint_location): Likewise. (allocate_bp_location): Likewise. (set_longjmp_breakpoint): Handle exception breakpoints. Change interface. (delete_longjmp_breakpoint): Handle exception breakpoints. (mention): Likewise. (struct until_break_command_continuation_args) <thread_num>: New field. (until_break_command_continuation): Call delete_longjmp_breakpoint. (until_break_command): Support exception breakpoints. (delete_command): Likewise. (breakpoint_re_set_one): Likewise. (breakpoint_re_set): Likewise. gdb/testuite * gdb.java/jnpe.java: New file. * gdb.java/jnpe.exp: New file. * gdb.cp/nextoverthrow.exp: New file. * gdb.cp/nextoverthrow.cc: New file.
2010-12-09*** empty log message ***gdbadmin1-1/+1
2010-12-08 * gdbtypes.h (TYPE_IS_OPAQUE): Reformat.Doug Evans2-6/+9
2010-12-08 * gdbtypes.c (check_typedef): Tweak comment.Doug Evans2-1/+3
2010-12-08 PR symtab/12302Doug Evans2-19/+154
* dwarf2read.c (struct psymtab_cu_index_map): New struct. (hash_psymtab_cu_index, eq_psymtab_cu_index): New functions. (struct addrmap_index_data): New struct. (add_address_entry): Remove arg `pst', new args `start', `end'. (add_address_entry_worker, write_address_map): New functions. (write_psymtabs_to_index): Address table generation moved to write_address_map. Build a table mapping psymtab to CU index to pass to it.
2010-12-08 * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass fileDoug Evans2-1/+4
name to perror.
2010-12-08 * symfile.h (quick_symbol_functions): Clarify usage ofDoug Evans3-3/+16
expand_symtabs_with_filename. * dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over comp units, ignore type units.