Commit Graph

21430 Commits

Author SHA1 Message Date
Jan Kratochvil f5db87141a * NEWS: Mention the build-id .debug files verification. 2007-09-02 19:56:05 +00:00
Jan Kratochvil 83f83d7f7f * gdb.texinfo (Separate Debug Files): Cosmetic quoting removal.
Fixed the ``build ID'' name.  New binaries build instructions for the
	build ID inclusion.  Explain how the commands are specific to the build
	ID vs. debug link.
2007-09-02 19:55:32 +00:00
Jan Kratochvil d99148ef73 * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. 2007-09-02 14:04:31 +00:00
Jan Kratochvil 4cf31eea6a * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
New files.
2007-09-02 14:03:58 +00:00
gdbadmin 84a63fd9d9 *** empty log message *** 2007-09-02 00:00:34 +00:00
Eli Zaretskii c7e83d54a2 * gdb.texinfo (Separate Debug Files): Fix last change. Add
indexing for ``build ID'' support.
2007-09-01 10:28:25 +00:00
Jan Kratochvil 77069918ac * Makefile.in (symfile.o): Update dependencies.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the
	DEBUGFILE variable.  FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS.
	(struct build_id): New structure.
	(build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New.
	(find_separate_debug_file): New variable BUILD_ID.
	Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
2007-09-01 08:18:15 +00:00
Jan Kratochvil d3750b24f6 * gdb.texinfo (Separate Debug Files): Included a BUILD ID description.
Enlisted BUILD ID to the debug file searching example.
	Included a BUILD ID `.note.gnu.build-id' section description.
	Updated/added the debug files splitting instructions for OBJCOPY.
2007-09-01 08:17:13 +00:00
Jan Kratochvil 4935890f4d * lib/gdb.exp (build_id_debug_filename_get): New function.
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
	Remove the generate DEBUG file for the future testcase runs.
	New testcase for the NT_GNU_BUILD_ID retrieval.
	Move the final testing step to ...
	(test_different_dir): ... a new function.
	New parameter XFAIL to XFAIL all the tests performed.
	New parameter TEST_DIFFERENT_DIR parametrizing the directory.
	New parameter TYPE to PF_PREFIX all the tests performed.
2007-09-01 08:16:16 +00:00
gdbadmin 7f3e0549a5 *** empty log message *** 2007-09-01 00:00:34 +00:00
Vladimir Prus 202ddcaa09 * varobj.c (struct varobj): Fix comment
for the type member not to lie when it can be
	NULL.
2007-08-31 19:01:17 +00:00
Vladimir Prus 02142340a0 Implement -var-info-path-expression.
* mi/mi-cmds.h (mi_cmd_var_info_path_expression):
	Declare.
	* mi/mi-cmds.c (mi_cmds): Register var-info-path-expression.
	* mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New.
	* varobj.c (struct varobj): New field 'path_expr'.
	(c_path_expr_of_child, cplus_path_expr_of_child)
	(java_path_expr_of_child): New.
	(struct language_specific): New field path_expr_of_child.
	(varobj_create): Initialize the path_expr field.
	(varobj_get_path_expr): New.
	(new_variable): Initialize the path_expr field.
	(free_variable): Free the path_expr field.
	(adjust_value_for_children_access): New parameter
	WAS_TYPE.
	(c_number_of_children): Adjust.
	(c_describe_child): New parameter CFULL_EXPRESSION.
	Compute full expression.
	(c_value_of_child, c_type_of_child): Adjust.
	(cplus_number_of_children): Adjust.
	(cplus_describe_child): New parameter CFULL_EXPRESSION.
	Compute full expression.
	(cplus_name_of_child, cplus_value_of_child)
	(cplus_type_of_child): Adjust.
	* varobj.h (varobj_get_path_expr): Declare.
2007-08-31 18:52:05 +00:00
Vladimir Prus bccc275a13 * mi/mi-cmd-var.c (print_varobj): If a varobj
type is NULL, don't try to print it.
2007-08-31 18:41:50 +00:00
gdbadmin 3c3a995521 *** empty log message *** 2007-08-31 00:00:02 +00:00
Alan Modra f2db237aa1 * ppc-linux-nat.c (right_fill_reg): Delete.
(supply_gregset): Use ppc_supply_gregset.
	(supply_fpregset): Use ppc_supply_fpregset.
	(fill_gregset): Use ppc_collect_gregset.
	(fill_fpregset): Use ppc_collect_fpregset.
	* ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define.
	(right_supply_register, ppc_linux_supply_gregset): Delete.
	(ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete.
	(ppc_linux_supply_fpregset): Delete.
	(ppc_linux_collect_gregset): New function.
	(ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New.
	(ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets,
	ppc_linux_supply_gregset, and ppc_collect_gregset.
	(ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update.
	(ppc_linux_gregset, ppc_linux_fpregset): New functions.
	(ppc_linux_regset_from_core_section): Update.
	* ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare.
	(ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete.
	(struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields.
	* ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert.
	(ppcobsd_collect_gregset): Likewise.
	(_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size.
	* ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
	* ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise.
	* rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise.
	(rs6000_aix64_reg_offsets): Likewise.
	(rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing
	ppc_floating_point_unit_p.
	(rs6000_aix_collect_regset): Similarly.
	* rs6000-tdep.c (ppc_supply_reg): Add regsize param.  Adjust offset
	when regsize is larger than regcache register size.
	(ppc_collect_reg): Similarly zero pad when regsize is larger than
	regcache register size.
	(ppc_greg_offset): New function, split out from..
	(ppc_supply_gregset): ..here.  Separate code handling all regs from
	single reg case.  Correct xer offset.
	(ppc_fpreg_offset): New function, split out from..
	(ppc_supply_fpregset): ..here.  Separate code handling all regs from
	single reg case.
	(ppc_collect_gregset, ppc_collect_fpregset): Likewise.
	(ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have
	a fp unit, instead return if no fp.
2007-08-30 13:13:59 +00:00
gdbadmin f9ebb3aac6 *** empty log message *** 2007-08-30 00:00:04 +00:00
Jim Blandy fe5aea2e5f * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;
this code has not been compiled for two years.
2007-08-29 22:07:47 +00:00
Michael Snyder 13ce713376 2007-08-29 Michael Snyder <msnyder@access-company.com>
* event-top.c (gdb_readline2): Return after EOF.
2007-08-29 22:04:15 +00:00
Joel Brobecker fd4a0f2fbb * symtab.c: Remove a function that has been commented out 3 years ago. 2007-08-29 18:34:47 +00:00
Carlos O'Donell d037d08851 2007-08-29 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa32_cannot_fetch_register)
	(hppa64_cannot_fetch_register): New functions.
	(hppa_gdbarch_init): Set cannot_fetch_register appropriately.
	* hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM.
2007-08-29 04:11:06 +00:00
gdbadmin 4f34c12fd3 *** empty log message *** 2007-08-29 00:00:03 +00:00
Michael Snyder 57cdecd25d 2007-08-28 Michael Snyder <msnyder@access-company.com>
* mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to
	check for null before calling check_typedef.
2007-08-28 20:34:18 +00:00
Michael Snyder 19d378fc13 2007-08-28 Michael Snyder <msnyder@access-company.com>
* NEWS: Mention Coverity bug fixes.
2007-08-28 19:57:11 +00:00
gdbadmin dd3287c727 *** empty log message *** 2007-08-28 00:00:03 +00:00
Ulrich Weigand 36acd84edc ChangeLog gdb/:
* spu-tdep.c (spu_pointer_to_address): New function.
	(spu_integer_to_address): Likewise.
	(spu_gdbarch_init): Add spu_pointer_to_address and
	spu_integer_to_address to gdbarch.


ChangeLog gdb/testsuite/:

	* gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
	to fit into SPU Local Store memory.
2007-08-27 14:31:46 +00:00
gdbadmin bf3bea14c8 *** empty log message *** 2007-08-27 00:00:03 +00:00
Pedro Alves 8ad7c2b9e6 * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. 2007-08-26 13:42:40 +00:00
gdbadmin 75cc4c457d *** empty log message *** 2007-08-26 00:00:03 +00:00
gdbadmin 043b877a95 *** empty log message *** 2007-08-25 00:00:33 +00:00
gdbadmin 9ab9ef6893 *** empty log message *** 2007-08-24 00:00:03 +00:00
Joel Brobecker a896d12139 * gdb.base/default.exp: Adjust the expected output of "info
warranty" after the switch to GPLv3.
2007-08-23 20:36:15 +00:00
Joel Brobecker 4de6a07ed0 * Makefile.in (copying.c): Use the top-level COPYING3 as the file
that contains the GDB license.
        * copying.awk: Adjust to the GPLv3 wording.
        * copying.c: Regenerate.
2007-08-23 20:33:48 +00:00
Joel Brobecker 01d4100f86 Spelling fix. 2007-08-23 20:21:52 +00:00
Joel Brobecker 07aed0ebe2 * copying.awk: Protoization, and I18n markup. 2007-08-23 20:19:32 +00:00
Joel Brobecker 7b4336022e * lib/gdb.exp (default_gdb_init): Increase expect buffer size
to 30000 (from 20000).
2007-08-23 20:10:04 +00:00
Joel Brobecker 50efebf80c * config/djgpp/djconfig.sh: Switch license to GPLv3.
* copyright.sh: Likewise.
        * gdb-events.sh: Likewise.
        * gdb_gcore.sh: Likewise.
        * gdb_mbuild.sh: Likewise.
        * gdbarch.sh: Likewise.
        * observer.sh: Likewise.
        * features/feature_to_c.sh: Likewise.
        * regformats/regdat.sh: Likewise.
2007-08-23 18:19:51 +00:00
Joel Brobecker e22f8b7c8c Switch the license of all .exp files to GPLv3.
Switch the license of all .f and .f90 files to GPLv3.
        Switch the license of all .s and .S files to GPLv3.
2007-08-23 18:14:19 +00:00
Joel Brobecker a9762ec78a Switch the license of all .c files to GPLv3.
Switch the license of all .h files to GPLv3.
        Switch the license of all .cc files to GPLv3.
2007-08-23 18:08:50 +00:00
Joel Brobecker 5a0e3bd0ac * configure.ac: Switch license to GPLv3. 2007-08-23 17:58:44 +00:00
Joel Brobecker cc00619d4d Switch the licensing to GPLv3 for all .ads and .adb files. 2007-08-23 17:49:23 +00:00
gdbadmin 843c0a254b *** empty log message *** 2007-08-23 00:00:06 +00:00
Daniel Jacobowitz 609ca2b957 * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to
determine the file's FPU type.
2007-08-22 15:16:56 +00:00
Daniel Jacobowitz 8d26208a1e gdb/testsuite/
* gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
	and t_int_double.
	* gdb.base/callfuncs.c (t_double_int, t_int_double): New.

	gdb/
	* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New.
	(mips_n32n64_push_dummy_call): Always increment float_argreg along
	with argreg.  Use mips_n32n64_fp_arg_chunk_p.
2007-08-22 15:13:04 +00:00
Daniel Jacobowitz 65728c2698 * solib-svr4.c (scan_dyntag): Only read target memory when necessary.
Fix formatting.
	(elf_locate_base): Look for DT_MIPS_RLD_MAP first.  Expand comments.
	(elf_lookup_lib_symbol): Fix formatting.
2007-08-22 14:22:02 +00:00
Michael Snyder 6b2d86bda4 2007-08-21 Michael Snyder <msnyder@access-company.com>
* dbxread.c (read_dbx_symtab): Guard null deref.
	Break up long line.
2007-08-22 01:57:05 +00:00
Michael Snyder a2ca50ae64 2007-08-21 Michael Snyder <msnyder@access-company.com>
* valops.c (find_overload_match): Guard against NULL.
2007-08-22 01:53:19 +00:00
Daniel Jacobowitz 54e116dd35 * MAINTAINERS (Patch Champions): Remove self. 2007-08-22 01:21:45 +00:00
gdbadmin 2096b6d6b8 *** empty log message *** 2007-08-22 00:00:02 +00:00
Jim Blandy 3fb6a9822a * gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish.
(title page): Include the dedication in the printed manual, as a
separate page after the copyright notice.
2007-08-21 15:09:59 +00:00
Daniel Jacobowitz f429d7d03d 2007-08-21 Chris Smith <chris.smith@st.com>
* cli/cli-script.c (read_command_lines): Call dont_repeat for each
	line.
2007-08-21 13:35:00 +00:00