Commit Graph

19326 Commits

Author SHA1 Message Date
Daniel Jacobowitz bd4109fb51 * source.c (_initialize_source): Use add_setshow_integer_cmd. 2006-01-15 19:09:30 +00:00
Daniel Jacobowitz 9078e6905b * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
* gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
	function name.
2006-01-15 19:07:33 +00:00
Daniel Jacobowitz 1dce6535d8 * linux-fork.c (delete_fork_command, detach_fork_command): Use
PIDGET.
2006-01-15 19:07:17 +00:00
Daniel Jacobowitz 9c903399a2 * gdb.base/checkpoint.c: Update copyright notice. Include
<stdlib.h>.
2006-01-15 18:31:55 +00:00
Mark Kettenis 76a9d10f52 * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):
Remove.
(arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.
* cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove
function.
(cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.
* mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets)
(mips64_linux_svr4_fetch_link_map_offsets): Remove functions.
(mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
where appropriate.
* nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets):
Simply call svr4_ilp32_fetch_link_map_offsets.
(nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call
svr4_lp64_fetch_link_map_offsets.
* ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove
function.
(ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.
* s390-tdep.c (s390_svr4_fetch_link_map_offsets)
(s390x_svr4_fetch_link_map_offsets): Remove functions.
(s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
where appropriate.
2006-01-15 18:28:58 +00:00
Mark Kettenis 2522416608 * arm-tdep.c (arm_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
2006-01-15 14:51:28 +00:00
Mark Kettenis 469db03345 * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
* Makefile.in (s390-tdep.o): Update dependencies.
2006-01-15 13:45:24 +00:00
Mark Kettenis 081bf9da7d * sol2-tdep.h. sol2-tdep.c: New files.
* amd64-sol2-tdep.c: Include "sol2-tdep.h".
(amd64_sol2_init_abi): Set skip_solib_resolver.
* i386-sol2-tdep.c: Include "sol2-tdep.h".
(i386_sol2_init_abi): Set skip_solib_resolver.
* sparc-sol2-tdep.c: Include "sol2-tdep.h".
(sparc32_sol2_init_abi): Set skip_solib_resolver.
* sparc64-sol2-tdep.c: Include "sol2-tdep.h".
(sparc64_sol2_init_abi): Set skip_solib_resolver.
* Makefile.in (sol2_tdep_h): New variable.
(ALLDEPFILES): Add sol2-tdep.c.
(sol2-tdep.o): New target.
(amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o)
(sparc64-sol2-tdep.o): Update dependencies
* config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o.
* config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
* config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o.
* config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
2006-01-15 00:22:50 +00:00
gdbadmin 37f517b337 *** empty log message *** 2006-01-15 00:00:03 +00:00
Mark Kettenis c0f964169d * hppa-linux-tdep.c: Fix copyright indentation. 2006-01-14 18:45:12 +00:00
Mark Kettenis 4dd7c9f6df Oops 2006-01-14 12:28:01 +00:00
Mark Kettenis 20776c7d55 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
* hppabsd-nat.c (hppabsd_fpregset_supplies_p)
(hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
functions.
(hppabsd_fetch_registers, hppabsd_store_registers): Handle
floating-point registers.
  print_scalar_formatted (valaddr, type, format, 0, stream);
val_print_type_code_flags (type, valaddr, stream);
  print_scalar_formatted (valaddr + embedded_offset, type, format, 0, stream);
val_print_type_code_flags (type, valaddr + embedded_offset, stream);
	for (reg = 16; reg < 31; reg++)
	/* We may have to apply a StackGhost cookie.  */
	fs->regs.reg[31].how = DWARF2_FRAME_REG_SAVED_WCOOKIE;
	fs->regs.reg[31].loc.offset = 15 * size;
  int regnum;
			 buf, 0, size);
{
  ULONGEST wcookie = extract_unsigned_integer (buf, len);
  gdb_assert (len == size);
  *lvalp = not_lval;
  *addrp = 0;
  if (valuep)
    {
      ULONGEST value = extract_unsigned_integer (valuep, size);
      store_unsigned_integer (valuep, size, value ^ wcookie);
    }
}
			   apply StackGhost cookie.  */
  print_scalar_formatted (valaddr, type, format, 0, stream);
val_print_type_code_flags (type, valaddr, stream);
 || (TYPE_CODE (t) == TYPE_CODE_FLAGS)
case TYPE_CODE_FLAGS:
case TYPE_CODE_FLAGS:
		  void *fpregs, int regnum)
{
  regcache_raw_collect (regcache, i, regs);
  regcache_raw_collect (regcache, i + 1, regs + 4);
}
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't get floating point status"));
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't get floating point status"));
	  (PTRACE_TYPE_ARG3) &fpregs, 0) == -1)
perror_with_name (_("Couldn't write floating point status"));
  print_scalar_formatted (valaddr + embedded_offset, type, format, 0, stream);
val_print_type_code_flags (type, valaddr + embedded_offset, stream);
  || regnum == PC_REGNUM);
  || regnum == tdep->ppc_fpscr_regnum);
		  regnum, &regs, sizeof regs);
		   regnum, &fpregs, sizeof fpregs);
		   regnum, &regs, sizeof regs);
		    regnum, &fpregs, sizeof fpregs);
			  const char *sect_name, size_t sect_size)
	      struct regcache *regcache, gdb_byte *readbuf,
	      const gdb_byte *writebuf)
  if (lr_reg == -1)
{
  /* bcl 20,xx,.+4 is used to get the current PC, with or without
     prediction bits.  If the LR has already been saved, we can
     skip it.  */
  continue;
}
extract_unsigned_integer ((gdb_byte *)&(MEMBER), sizeof (MEMBER))
			    builtin_type_void_data_ptr);
				  lmo->r_version_size);
			    builtin_type_void_data_ptr);
lm = ldsomap = solib_svr4_r_ldsomap ();
  || (X_I (insn) == 1 && X_RS1 (insn) == 0 && (insn & 0x7f) == 0))
{
  /* OpenBSD system call.  */
  ULONGEST number;
  regcache_cooked_read_unsigned (current_regcache,
				 SPARC_G1_REGNUM, &number);
  if (number & 0x400)
    return sparc_address_from_register (SPARC_G2_REGNUM);
  if (number & 0x800)
    return sparc_address_from_register (SPARC_G7_REGNUM);
}
  gdb_byte *buffer;
	  gdb_byte *check = xmalloc (len);
		  (unsigned int *)cache_ovly_table, cache_novlys * 4);
			cache_ovly_table[i], 4);
error (_(""%s" exists in this program but is not a function."),
       name);
return value_of_variable (sym, NULL);
		   struct ui_file *stream)
{
  if (TYPE_FIELD_NAME (type, bitpos))
    fprintf_filtered (stream, "%s ", TYPE_FIELD_NAME (type, bitpos));
  else
    fprintf_filtered (stream, "#%d ", bitpos);
}
			       const gdb_byte *valaddr,
			       struct ui_file *stream);
i386-sol2-tdep.o sol2-tdep.o corelow.o solib.o solib-svr4.o
sol2-tdep.o solib.o solib-svr4.o
2006-01-14 12:24:36 +00:00
Mark Mitchell 6da866186a * event-loop.c (gdb_select): Detect file descriptors that have
been closed.
2006-01-14 05:13:21 +00:00
gdbadmin 1d90824cd0 *** empty log message *** 2006-01-14 00:00:03 +00:00
Mark Kettenis ed944ce7df * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
and long_double_format accordingly.
2006-01-13 23:09:08 +00:00
Eli Zaretskii ca91424e59 * gdb.texinfo (Define, Command Files): Document `end' and add index
entries for it.
2006-01-13 20:11:47 +00:00
Eli Zaretskii fcc73fe3a6 * gdb.texinfo (Sequences): Improve menu annotations.
(Define): Add index entries for arguments of user-defined
	commands.  Move the description of flow-control commands...
	(Command Files): ...to here.  Document loop_break and
	loop_continue.
2006-01-13 15:49:03 +00:00
gdbadmin 0bad5bba9f *** empty log message *** 2006-01-13 00:00:03 +00:00
Paul N. Hilfinger 03ee6b2e01 * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
translation problems.
* ada-lang.c (ada_value_struct_elt): Change interface and handling
of errors to avoid translation problem (and less than optimal error
messages).
(ada_value_tag, ada_tag_name_1, ada_tag_name_2,	ada_evaluate_subexp):
Use new interface to ada_value_struct_elt.
* ada_lang.h (ada_value_struct_elt): Update declaration to new
interface.

* ChangeLog: remove reference to ada-tasks.c from entry of
2006-01-07.
2006-01-12 08:36:29 +00:00
Jim Blandy 761ae4d626 2006-01-04 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp: Independently provide default values for
	asm-flags and debug-flags.  Use 'string equal' to do the
	comparison, not the implicit expr's '==' operator.  Remove
	now-unneeded assignments to asm-flags.  In h8300 case, place
	"-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
2006-01-12 00:51:45 +00:00
gdbadmin aaab19ef48 *** empty log message *** 2006-01-12 00:00:33 +00:00
Mark Kettenis 24b0621974 * remote.c (get_memory_packet_size, set_thread)
(remote_unpack_thread_info_response, remote_get_threadinfo)
(parse_threadlist_response, remote_get_threadlist)
(remote_current_thread, remote_threads_info)
(remote_threads_extra_info, extended_remote_restart, get_offsets)
(remote_check_symbols, remote_open_1, remote_detach)
(remote_async_wait, remote_fetch_registers)
(remote_store_registers, check_binary_download, putpkt_binary)
(remote_insert_breakpoint, remote_insert_watchpoint)
(remote_remove_watchpoint, remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd)
(packet_command): Remove redundant parenthesis.
2006-01-11 22:03:59 +00:00
gdbadmin 5cd1580898 *** empty log message *** 2006-01-11 00:00:35 +00:00
Mark Kettenis dfb65433cd * corefile.c (read_memory_integer, read_memory_unsigned_integer)
(read_memory_typed_address, write_memory)
(write_memory_unsigned_integer, write_memory_signed_integer): Use
gdb_byte where appropriate.
2006-01-10 23:01:44 +00:00
Mark Kettenis 508416a13a * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
'gdb_byte *'.
2006-01-10 22:42:03 +00:00
Mark Kettenis f6519ebcfe * target.h (target_read_memory_partial, target_write_memory_partial):
Change second argument to 'gdb_byte *'.
* target.c (target_xfer_memory_partial): Change third argument to
'gdb_byte *'.
(target_read_memory_partial, target_write_memory_partial): Change
second argument to 'gdb_byte *'.
2006-01-10 22:38:51 +00:00
Mark Kettenis 15550d6bec * linespec.c (decode_objc): Make i1 and i2 unsigned.
(find_method): Set values.sals to NULL.
2006-01-10 22:14:43 +00:00
gdbadmin da51a89c2a *** empty log message *** 2006-01-10 00:00:33 +00:00
gdbadmin 6fa80862f3 *** empty log message *** 2006-01-09 00:00:34 +00:00
Mark Kettenis d7a30af77f * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
of 'char *' in cast.
2006-01-08 23:18:13 +00:00
Paul N. Hilfinger e1d5a0d256 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
* ada-tasks.c, ada-lang.c: I18n markup.
Editorial: change "can not" => "cannot" throughout.
2006-01-08 07:19:40 +00:00
gdbadmin 729fd1c7d2 *** empty log message *** 2006-01-08 00:00:32 +00:00
Mark Kettenis 790124bec1 * Makefile.in: Sort dependencies. 2006-01-07 14:17:16 +00:00
Eli Zaretskii 3c481fdcf1 * top.c (control_level): Remove unused variable. 2006-01-07 10:22:22 +00:00
gdbadmin 67639440c7 *** empty log message *** 2006-01-07 00:00:32 +00:00
Fred Fish cb5d864f33 Reviewed and approved by Jim Blandy
2006-01-06  Fred Fish  <fnf@specifix.com>
	* objfiles.c (source.h): Include.
	(free_objfile): Update comment about clear_symtab_users().
	(free_objfile): Check all symtabs of objfile being freed and if
	one of them is the current source symtab, call
 	clear_current_source_symtab_and_line().
2006-01-06 16:23:35 +00:00
gdbadmin 7983a4a1b3 *** empty log message *** 2006-01-06 00:00:34 +00:00
gdbadmin ded931ebd3 *** empty log message *** 2006-01-05 00:00:04 +00:00
Michael Snyder ac264b3b9c 2006-01-04 Michael Snyder <msnyder@redhat.com>
Checkpoint/Restart for Linux.
	* linux-nat.c: Add support for debugging multiple forks.
	Add #include for linux-fork.h (interface spec).
	(super_mourn_inferior): New function pointer.
	(child_mourn_inferior): New function / target method.
	(linux_target): Claim to_mourn_inferior method pointer.
	(child_follow_fork): Call interface to linux-fork, conditionally
	add new fork processes to list of debugged processes.
	(kill_inferior): Use interface to linux-fork to kill
	multiple processes.

	* linux-fork.h: New file.
	* linux-fork.c: New file.  Support for debugging multiple forks
	of the same program.  Support for checkpoint and restart commands.

	* infrun.c (nullify_last_target_wait_ptid): New function.

	* Makefile.in: Add linux-fork.
	* config/*/linux.mh: Add linux-fork.
	* NEWS: Mention new functionality.
2006-01-04 19:34:58 +00:00
Michael Snyder 5c95884b4c 2006-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Add documentation for linux-fork.
	* gdbint.texinfo: Add internal documentation for checkpoints.
2006-01-04 19:31:27 +00:00
Michael Snyder 099ac3dd7c 2006-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/checkpoint.c: New file.
	* gdb.base/checkpoint.exp: New file.
	* gdb.base/multi-fork.c: New file.
	* gdb.base/multi-fork.exp: New file.
	* gdb.base/pi.txt: New file (data for checkpoint.c test).
2006-01-04 19:29:26 +00:00
Fred Fish f4d8531447 Reviewed and approved by Jim Blandy
2006-01-04  Fred Fish  <fnf@specifix.com>
	* gdb.base/ptype.c (foo): Add typedef.
	(intfoo): Add function.
	* gdb.base/ptype1.c: New file.
	* gdb.base/ptype.exp: Handle compilation and linking with two
	source files.  Test that proper type for "foo" is found based
	on source context rather than first match found in symtabs.
2006-01-04 14:46:17 +00:00
gdbadmin 557297c43c *** empty log message *** 2006-01-04 00:00:32 +00:00
gdbadmin 60bec0650f *** empty log message *** 2006-01-03 00:00:33 +00:00
Paul N. Hilfinger f98ce7c2e5 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
Change several uses of "illegal" to "invalid".
2006-01-02 10:38:03 +00:00
Paul N. Hilfinger 860701dc69 * gdb.texinfo (Omissions from Ada): Document that there is now
limited aggregate support.
2006-01-02 09:47:18 +00:00
Paul N. Hilfinger 52ce64369c * ada-exp.y: Considerable reorganization to move functionality
from ada-lex.l to here, where it is logically more appropriate.
	The original reason, however, was to prevent premature name
	lookups for selector names in record aggregates.
	(BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
	NAME for all of these.
	(VAR): New artificial token to clarify precedence rules.
	(OTHERS): New lexeme.
	(empty_stoken): New symbol.
	(%union): Remove ssym, voidval.
	(%type): Remove <voidval> type declarations.
	(syntax definitions): Add aggregates.
	Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
	Rename some non-terminals to be closer to reference manual usage.
	Tighten up expression syntax to disallow certain non-Ada
	constructions such as X and then Y or else Z.
	(ada_parse): Remove initialization of left_block_context.
	(write_var_from_name): Remove.
	(write_var_or_type): New function, containing previous code from
	defunct write_var_from_name and name_lookup.
	(block_lookup): New function, moved from ada-lex.l
	(select_possible_type_sym): New function, factored out of
	name_lookup, which used to be in ada-lex.l.
	(find_primitive_type): Ditto.
	(chop_selector): Ditto.
	(write_ambiguous_var): New function, factored out of defunct
	write_var_from_name.
	(write_selectors): New function.
	(write_name_assoc): New function.
	(write_exp_op_with_string): New function.

	* ada-lex.l (processId): Change interface to return stoken.
	(tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
	(block_lookup, name_lookup): Remove.  Functionality moved to
	ada-exp.y.
	(state IN_STRING): Remove.
	(rules): Handle string escapes in processString.
	Add 'others' token.
	Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
	yylval.sval (as simple strings).
	All name look-ups now handled in ada-exp.y.
	Introduce "::" (COLONCOLON) token and return as separate token.
	(processId): Change return convention.  Comment.
	Leave leading "'" in place.
	(processString): New function.
	(find_dot_all): Add note to comment.
	Fix problem that allowed match only at the end.

	* ada-lang.c: Introduce aggregates.
	(find_struct_field): Add new parameter to count fields skipped, and
	allow other output parameters to be NULL.
	(value_tag_from_contents_and_address, ada_value_struct_elt): Use
	new find_struct_field.
	(ada_index_struct_field, assign_aggregate, ada_is_array_type)
	(num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
	(num_component_specs, assign_component, assign_aggregate):
	(aggregate_assign_from_choices,aggregate_assign_positional)
	(aggregate_assign_others,add_component_interval):
	New functions.
	(ada_evaluate_subexp): Declare.
	Add aggregate-related operators.
	(ada_forward_operator_length): Declare.
	(resolve_subexp): Add cases for new aggregate operators and OP_NAME.
	Consolidate Ada operators, using ada_forward_operator_length.
	(ada_search_struct_field): Search in forward order.
	(ADA_OPERATORS): Add new aggregate operators.
	(ada_operator_length, ada_op_name, ada_forward_operator_length)
	(ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
	operators and OP_NAME.
	(ada_type_of_array): Use longest_to_int.
	(value_assign_to_component): New function.
	(ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
	Add OP_NAME case.
	(ada_forward_operator_length, ada_dump_subexp_body):
	Add OP_STRING case.

	* ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
	OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
2006-01-02 09:46:34 +00:00
Paul N. Hilfinger 529cad9c5b * ada-lang.c (process_raise_exception_name): Remove extraneous
definition from unsubmitted code.
	(is_lower_alphanum): New function.
	(ada_decode):  Add support for decoding protected object subprograms
	and entries, and of entities declared inside protected object
	subprograms.
	Also add missing handling for__{DIGITS}+ suffixes.
	Allow '$<digits>' as valid overloading suffix.
	(is_name_suffix): Add handling for protected type entriy suffixes.
	Also add support for protected type subprogram suffixes, but keep
	it commented out for now, as there is an ambiguity between these
	entities and other internally generated entities.
	Allow '$<digits>' as valid overloading suffix.
	(is_valid_name_for_wild_match): New function.
	(wild_match): Add an exra level of verification of the entity name
	before declaring it a match for the given pattern.
	(ada_type_of_array, ada_evaluate_subexp): Use more proper
	longest_to_int rather than cast.
	(ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
	(ada_coerce_to_simple_array): Call check_size to make sure
	that the object size is reasonable.
	(ada_value_primitive_packed_val):  Use correct location in target
	buffer for extracting packed record fields that are themselves records.
	(add_defn_to_vec): Do not try to replace a stub type by its full
	type. Avoids a potential infinite loop.
	(ada_lookup_symbol): Move return incorrectly placed return statement,
	causing a loop that should be scanning all object files to only
	scan the first one.
	(ada_tag_name_2): New function.
	(ada_tag_name_1): If no 'tsd' field found in the dispatching table,
	use alternative representation.
	(ada_find_renaming_symbol): Strip the function name suffix when
	computing the XR type name.
	(ada_to_fixed_type): Try determining the tag only if we have the
	object's address.
	(to_fixed_array_type): Add comments.
	(ada_check_typedef): Replace expression checking whether the given
	type is a stub or not by a "call" to TYPE_STUB. Clearer and more
	consistent.

	* ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
	'$' in addition to '.' for runtime auxiliary function name suffixes.
	See changes to ada_decode above.
	(struct task_control_block): Add field called_task.  (This change is
	to keep synchronized with our local sources; it does not affect the
	public version yet.)

	* ada-typeprint.c (ada_print_type): Use int_string for printing
	modulus of modular type.
	(print_range): Trivial editorial comment fix.

	* ada-valprint.c (ada_emit_char): Use normal Ada syntax for
	double quote in string.
2006-01-02 09:39:21 +00:00
Joel Brobecker 9b799fe64b * top.c: Add 2006 to list of copyright years in file header. 2006-01-02 05:50:11 +00:00
Joel Brobecker 0bee07125f * top.c (print_gdb_version): Update copyright year to 2006. 2006-01-02 05:45:54 +00:00
Jim Blandy 13c763f497 2006-01-01 Roger Sayle <roger@eyesopen.com>
Elena Zannoni <ezannoni@redhat.com>

	PR symtab/1651
	* xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
	for NULL before assigning this_symtab_psymtab->objfile to objfile.
	(scan_xcoff_symtab): Initialize next_symbol_text_func.
        (Committed by Jim Blandy)
2006-01-02 04:31:57 +00:00
Jim Blandy e50f0da18d Rotate ChangeLogs. 2006-01-02 04:28:16 +00:00
gdbadmin 3c668d454f *** empty log message *** 2006-01-02 00:00:02 +00:00
gdbadmin 7a732551f4 *** empty log message *** 2006-01-01 00:00:33 +00:00
gdbadmin 193802ef65 *** empty log message *** 2005-12-31 00:00:33 +00:00
gdbadmin 42491b6f4e *** empty log message *** 2005-12-30 00:00:02 +00:00
gdbadmin 36db13e724 *** empty log message *** 2005-12-29 00:00:35 +00:00
Eli Zaretskii 36b80e652c * gdb.texinfo (Registers): Describe how to refer to SSE and MMX
registers and the likes.
2005-12-28 20:05:49 +00:00
Mark Kettenis a1b06f3564 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
* gdb.asm/openbsd.inc: Indent commands.
2005-12-28 10:36:00 +00:00
gdbadmin d5e99e6489 *** empty log message *** 2005-12-28 00:00:02 +00:00
Mark Kettenis 585e38edb9 * sparc64obsd-tdep.c: Include "gdbcore.h", "regcache.h" amd
"bsd-uthread.h".
(SPARC64OBSD_UTHREAD_FP_OFFSET, SPARC64OBSD_UTHREAD_PC_OFFSET):
New defines.
(sparc64obsd_supply_uthread, sparc64obsd_collect_uthread): New
functions.
(sparc64obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (sparc64obsd-tdep.o): Update dependencies.
2005-12-27 22:14:42 +00:00
Mark Kettenis 92c2d36aa1 * sparcobsd-tdep.c: Include "gdbcore.h", "regcache.h" and
"bsd-uthread.h".
(SPARC32OBSD_UTHREAD_FP_OFFSET, SPARC32OBSD_UTHREAD_PC_OFFSET):
New defines.
(sparc32obsd_supply_uthread, sparc32obsd_collect_uthread): New
functions.
(sparc32obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
* config/sparc/obsd.mt (TDEPFILES): Add bsd-uthread.o.
* config/sparc/obsd64.mt (TDEPFILES): Likewise.
2005-12-27 12:23:02 +00:00
Alan Modra 9f20e3dae5 * elfread.c (elf_symfile_read): Don't make synth syms global. 2005-12-27 04:09:40 +00:00
gdbadmin baa22e6369 *** empty log message *** 2005-12-27 00:00:02 +00:00
Mark Kettenis 4807909c00 * sparc64obsd-tdep.c: Include "obsd-tdep.h".
(sparc64obsd_init_abi): Set skip_solib_resolver to
obsd_skip_solib_resolver instead of find_solib_trampoline_target.
* Makefile.in (sparc64obsd-tdep.o): Update dependencies.
* config/sparc/obsd64.mt (TDEPFILES): Add obsd-tdep.o.
2005-12-26 19:31:22 +00:00
Mark Kettenis dfe1ff2efe * sparcobsd-tdep.c: Include "obsd-tdep.h".
(sparc32obsd_init_abi): Set skip_solib_resolver.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
* config/sparc/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2005-12-26 19:27:03 +00:00
Mark Kettenis fb08a90b3c * obsd-tdep.c: New file.
* obsd-tdep.h: New file.
* Makefile.in (obsd_tdep_h): New variable.
(ALLDEPFILES): Add obsd-tdep.c.
(obsd-tdep.o): New target.
2005-12-26 19:15:11 +00:00
Mark Kettenis c65016bd6f * gdb.base/freebpcmd.exp: Increase timeout. 2005-12-26 14:44:38 +00:00
Mark Kettenis d082a1e285 * gdb.gdb/selftest.exp (test_with_self): Update copyright check. 2005-12-26 14:38:20 +00:00
gdbadmin a916de59a9 *** empty log message *** 2005-12-26 00:00:33 +00:00
gdbadmin 3620a7ef5b *** empty log message *** 2005-12-25 00:00:03 +00:00
Eli Zaretskii 359df76bbb (Memory Region Attributes): Fix usage of "etc." 2005-12-24 15:28:44 +00:00
Eli Zaretskii c1468174e7 * gdb.texinfo (Target Commands, Bug Reporting, File Options)
(Symbols): Fix usage of "e.g.".

	* gdbint.texinfo (libgdb, Symbol Handling, Native Debugging)
	(Coding): Fix usage of "e.g.".
2005-12-24 15:22:36 +00:00
gdbadmin 3555e8e589 *** empty log message *** 2005-12-24 00:00:03 +00:00
Michael Snyder 3d450bdd5f 2005-12-23 Michael Snyder <msnyder@redhat.com>
* inf-ptrace.c: Spelling correction, comment.
	* inf-ttrace.c: Ditto.
2005-12-23 20:51:35 +00:00
Eli Zaretskii c02a867d91 * stabs.texinfo:
* refcard.tex:
	* gpl.texi:
	* gdbint.texinfo:
	* gdb.texinfo:
	* gdb-cfg.texi:
	* fdl.texi:
	* annotate.texinfo:
	* all-cfg.texi:
	* Makefile.in: Add (C) after Copyright.  Update the FSF
	address.
2005-12-23 19:26:17 +00:00
Eli Zaretskii ac07105a88 *** empty log message *** 2005-12-23 19:10:26 +00:00
Eli Zaretskii 88d83552b1 * tui/tui-file.c:
* tui/tui-disasm.c:
	* tui/tui-data.h:
	* tui/tui-data.c:
	* tui/tui-command.h:
	* tui/tui-command.c:
	* tui/tui-win.h:
	* tui/tui-win.h:
	* tui/tui-win.c:
	* tui/tui-stack.h:
	* tui/tui-stack.c:
	* tui/tui-source.h:
	* tui/tui-source.c:
	* tui/tui-regs.h:
	* tui/tui-regs.c:
	* tui/tui-out.c:
	* tui/tui-main.c:
	* tui/tui-layout.h:
	* tui/tui-layout.c:
	* tui/tui-io.h:
	* tui/tui-io.c:
	* tui/tui-interp.c:
	* tui/tui-hooks.h:
	* tui/tui-hooks.c:
	* tui/tui-file.h:
	* tui/tui.h:
	* tui/tui.c:
	* tui/tui-winsource.h:
	* tui/tui-winsource.c:
	* tui/tui-wingeneral.h:
	* tui/tui-wingeneral.c:
	* tui/tui-windata.h:
	* tui/tui-windata.c: Add (C) after Copyright.  Update the FSF
	address.
2005-12-23 19:10:03 +00:00
Eli Zaretskii 8c71970386 * signals/signals.c: Add (C) after Copyright. Update the FSF
address.
2005-12-23 19:05:48 +00:00
Eli Zaretskii 7705617465 * nlm/Makefile.in: Add (C) after Copyright. Update the FSF
address.
2005-12-23 19:01:20 +00:00
Eli Zaretskii 1caae1650b * mi/mi-symbol-cmds.c:
* mi/mi-parse.h:
	* mi/mi-parse.c:
	* mi/mi-out.h:
	* mi/mi-out.c:
	* mi/mi-main.h:
	* mi/mi-main.c:
	* mi/mi-interp.c:
	* mi/mi-getopt.h:
	* mi/mi-getopt.c:
	* mi/mi-console.h:
	* mi/mi-console.c:
	* mi/mi-common.h:
	* mi/mi-common.c:
	* mi/mi-cmds.h:
	* mi/mi-cmds.c:
	* mi/mi-cmd-var.c:
	* mi/mi-cmd-stack.c:
	* mi/mi-cmd-file.c:
	* mi/mi-cmd-env.c:
	* mi/mi-cmd-disas.c:
	* mi/mi-cmd-break.c: Add (C) after Copyright.  Update the FSF
	address.
2005-12-23 18:57:46 +00:00
Eli Zaretskii 6f0f660e7b * linux-arm-low.c:
* linux-cris-low.c:
	* inferiors.c:
	* i387-fp.h:
	* i387-fp.c:
	* gdbreplay.c:
	* regcache.c:
	* proc-service.c:
	* mem-break.h:
	* mem-break.c:
	* linux-x86-64-low.c:
	* linux-sh-low.c:
	* linux-s390-low.c:
	* linux-ppc64-low.c:
	* linux-ppc-low.c:
	* linux-mips-low.c:
	* linux-m68k-low.c:
	* linux-m32r-low.c:
	* linux-low.h:
	* linux-low.c:
	* linux-ia64-low.c:
	* linux-i386-low.c:
	* linux-crisv32-low.c:
	* thread-db.c:
	* terminal.h:
	* target.h:
	* target.c:
	* server.h:
	* server.c:
	* remote-utils.c:
	* regcache.h:
	* utils.c:
	* Makefile.in:
	* configure.ac:
	* gdbserver.1: Add (C) after Copyright.  Update the FSF
	address.
2005-12-23 18:11:55 +00:00
gdbadmin 47eedeab5d *** empty log message *** 2005-12-23 00:00:02 +00:00
Daniel Jacobowitz 8e9d1a243c * arm-linux-tdep.c (ARM_SET_R7_SIGRETURN, ARM_SET_R7_RT_SIGRETURN)
(ARM_EABI_SYSCALL, arm_linux_sigtramp_cache, arm_linux_sigreturn_init)
	(arm_linux_rt_sigreturn_init, arm_linux_sigreturn_tramp_frame)
	(arm_linux_rt_sigreturn_tramp_frame)
	(arm_eabi_linux_sigreturn_tramp_frame)
	(arm_eabi_linux_rt_sigreturn_tramp_frame): New.
	(arm_linux_init_abi): Register the new signal unwinders.
	(arm_linux_in_sigtramp, arm_linux_sigcontext_register_address):
	Delete.
	* arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P)
	(SIGCONTEXT_REGISTER_ADDRESS, arm_make_sigtramp_cache)
	(arm_sigtramp_this_id, arm_sigtramp_prev_register)
	(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer): Delete.
	(arm_gdbarch_init): Don't register a signal unwinder.
	* config/arm/tm-linux.h (arm_linux_in_sigtramp)
	(arm_linux_sigcontext_register_address): Delete prototypes.
	(DEPRECATED_IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Delete.
	* Makefile.in (arm-linux-tdep.o): Update.
2005-12-22 17:06:25 +00:00
Daniel Jacobowitz e5cc6d1129 * amd64obsd-tdep.c (amd64obsd_trapframe_sniffer): Spelling fix.
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Likewise.
2005-12-22 16:13:20 +00:00
Mark Kettenis 6d566cffb0 * amd64obsd-tdep.c (amd64obsd_trapframe_cache): Fix typos.
(amd64obsd_trapframe_sniffer): Add comment.
* i386obsd-tdep.c (i386obsd_trapframe_cache): Fix typos.
(i386obsd_trapframe_sniffer): Add comment.
2005-12-22 15:57:04 +00:00
Mark Kettenis 7238f00288 * amd64obsd-tdep.c (amd64obsd_trapframe_cache): Fix detection of
interrupts from user space.
* i386obsd-tdep.c (i386obsd_trapframe_cache): Handle interrupt
frames too.
(i386obsd_trapframe_sniffer): Turn into a proper unwinder sniffer.
(i386obsd_trapframe_unwind): Add sniffer.
(i386obsd_init_abi): Prepend i386obsd_trapframe_unwind instead of
appending i386obsd_trapframe_sniffer.
2005-12-22 14:09:17 +00:00
Mark Kettenis f6acec6208 * amd64obsd-tdep.c: Include "frame-unwind.h" and "trad-frame.h".
(amd64obsd_tf_reg_offset): New define.
(amd64obsd_trapframe_cache, amd64obsd_trapframe_this_id)
(amd64obsd_trapframe_prev_register, amd64obsd_trapframe_sniffer):
New functions.
(amd64obsd_trapframe_unwind): New variable.
(amd64obsd_init_abi): Prepend amd64obsd_trapframe_unwind.
* Makefile.in (amd64obsd-tdep.o): Update dependencies.
2005-12-22 13:17:49 +00:00
gdbadmin 7e030bd977 *** empty log message *** 2005-12-22 00:00:34 +00:00
gdbadmin 06b6eaf949 *** empty log message *** 2005-12-21 00:00:03 +00:00
Jim Blandy 13c0b5369d gdb/ChangeLog:
2005-12-20  Jim Blandy  <jimb@redhat.com>

	* rs6000-tdep.c (rs6000_gdbarch_init): Doc fix.
2005-12-20 19:36:21 +00:00
Joel Brobecker 0bcc32ae3b * rs6000-tdep.c: Use proper spelling for existent. 2005-12-20 17:57:44 +00:00
Joel Brobecker 2cd7302903 * rs6000-tdep.c: Fix spelling errors. 2005-12-20 14:04:20 +00:00
gdbadmin 75a4fb3624 *** empty log message *** 2005-12-20 00:00:03 +00:00
Mark Kettenis 508fbfeab6 * i386-tdep.h (I386_SEL_RPL, I386_SEL_UPL, I386_SEL_KPL): New
defines.
* i386obsd-tdep.c: Include "frame-unwind.h" and "trad-frame.h".
(i386obsd_tf_reg_offset, i386obsd_trapframe_unwind): New
variables.
(i386obsd_trapframe_cache, i386obsd_trapframe_this_id)
(i386obsd_trapframe_prev_register, i386obsd_trapframe_sniffer):
New functions.
(i386obsd_init_abi): Append i386obsd_trapframe_sniffer.
* Makefile.in (i386obsd-tdep.o): Update dependencies.
2005-12-19 22:19:49 +00:00
gdbadmin 2235085cd9 *** empty log message *** 2005-12-19 00:00:33 +00:00
gdbadmin f1753a02f7 *** empty log message *** 2005-12-18 00:00:34 +00:00
Daniel Jacobowitz d3c32a0efe * gdb.base/default.exp: Update check for "show version". 2005-12-17 23:39:26 +00:00
Eli Zaretskii 85f121bccb *** empty log message *** 2005-12-17 22:40:51 +00:00
Eli Zaretskii 10f9c2135e * cli/cli-utils.h:
* cli/cli-utils.c:
	* cli/cli-setshow.h:
	* cli/cli-setshow.c:
	* cli/cli-script.h:
	* cli/cli-script.c:
	* cli/cli-logging.c:
	* cli/cli-interp.c:
	* cli/cli-dump.h:
	* cli/cli-dump.c:
	* cli/cli-decode.h:
	* cli/cli-decode.c:
	* cli/cli-cmds.h:
	* cli/cli-cmds.c: Add (c) after Copyright.  Update FSF address.
2005-12-17 22:40:17 +00:00