Commit Graph

11452 Commits

Author SHA1 Message Date
Elena Zannoni 73d322b1b9 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/471.
	* gdbtypes.c (init_simd_type): Rewrite using new functions.
	(build_builtin_type_vec128): Ditto..
	(append_composite_type_field): Fix calculation of type length in
	union case.
2002-04-20 01:09:28 +00:00
gdbadmin 1d494665d3 *** empty log message *** 2002-04-20 00:00:06 +00:00
Eli Zaretskii 4be3147047 (Releasing GDB, Coding): Fix typos. 2002-04-19 19:33:57 +00:00
Eli Zaretskii ccd9a834f9 go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler
warning.

config/djgpp/README: Update.
2002-04-19 19:28:54 +00:00
David S. Miller a1706bfd87 2002-04-17 David S. Miller <davem@redhat.com>
* gdb.asm/sparc64.inc: New file.
	* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni a73a20a2d5 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
	instruction file directly into the build tree.  Clean up at end of
	test.
2002-04-19 16:06:59 +00:00
Jason Thorpe a57f9e49f5 * alpha-tdep.c (setup_arbitrary_frame): Rename...
(alpha_setup_arbitrary_frame): ...to this.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
for alpha_setup_arbitrary_frame.
2002-04-19 05:11:53 +00:00
gdbadmin 1378fa9350 *** empty log message *** 2002-04-19 00:00:04 +00:00
David S. Miller ba6783391f 2002-04-18 David S. Miller <davem@redhat.com>
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
	handle 64-bit platforms correctly.
	* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00
Kevin Buettner b03399da11 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
``-fpic'' when compiling files comprising a shared library, but
	it does need additional linker flags in order to find shared
	libraries at run time.
2002-04-18 21:07:20 +00:00
Andrew Cagney f4f9705a2d * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
* gdbarch.h, gdbarch.c: Regenerate.

* defs.h (breakpoint_from_pc_fn): Delete type definition.
* target.h (memory_breakpoint_from_pc): Update declaration.
* config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.

* arch-utils.c (legacy_breakpoint_from_pc): Update return type.
* mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
* mem-break.c (memory_breakpoint_from_pc): Ditto.
* rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
* s390-tdep.c (s390_breakpoint_from_pc): Ditto
* xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
* mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
* mips-tdep.c (mips_breakpoint_from_pc): Ditto.
* m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
* ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
* d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
* arch-utils.c (legacy_breakpoint_from_pc): Ditto..

* mem-break.c (default_memory_insert_breakpoint): Make `bp' a
const pointer.
* monitor.c (monitor_insert_breakpoint): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.

* config/mcore/tm-mcore.h: Update copyright.
* mem-break.c: Ditto.
* xstormy16-tdep.c: Ditto.
2002-04-18 18:09:09 +00:00
Pierre Muller 29f319b84c 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y: Add precedence rule for '^' token.
	This removes the shift/reduce conflicts.
	Remove the comment concerning these shift/reduce conflicts.
2002-04-18 15:22:19 +00:00
Elena Zannoni ebeac11a97 2002-04-17 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
	(registers_powerpc_nofp): New register set for processors
	without floating point unit.
2002-04-18 15:10:15 +00:00
Kevin Buettner e20049926b * gdb.base/cvexpr.c (use): New function.
(main): Invoke use() on all global variables to prevent
	some linkers from deleting these otherwise unused symbols.
2002-04-18 13:21:03 +00:00
David S. Miller 27c31547c0 2002-04-18 David S. Miller <davem@redhat.com>
* MAINTAINERS: Add myself to write-after-approval.
2002-04-18 08:32:16 +00:00
Michael Chastain d8937120db 2002-04-17 Michael Chastain <mec@shout.net>
From David S. Miller  <davem@redhat.com>

	* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
	handle 64-bit platforms correctly.
2002-04-18 03:24:20 +00:00
gdbadmin 826ede653b *** empty log message *** 2002-04-18 00:00:34 +00:00
Andrew Cagney 953836b25a * rs6000-tdep.c (frame_initial_stack_address): Use
frame_register_read to read the alloca_reg.
2002-04-17 23:28:38 +00:00
Andrew Cagney 8b0d4340d7 * frame.c (find_saved_register): Find saved registers in the next
not prev frame.
Fix PR gdb/365.
2002-04-17 21:55:12 +00:00
Andrew Cagney d886453249 * gdbarch.sh (LANG): Set to ``c''. 2002-04-17 18:47:54 +00:00
gdbadmin 6338913390 *** empty log message *** 2002-04-17 00:00:36 +00:00
gdbadmin 0c485e66f5 *** empty log message *** 2002-04-16 00:00:34 +00:00
Andrew Cagney 36cc83a397 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. 2002-04-15 21:31:49 +00:00
Don Howard 5ca0cb286a 2002-04-15 Don Howard <dhoward@redhat.com>
From Eli Zaretskii <eliz@is.elta.co.il>
	* gdb.texinfo (show max-user-call-depth): Correct formatting.
	Provide a better explaination of this feature.
2002-04-15 17:23:54 +00:00
Andrew Cagney 2c7ef07446 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
Update copyright.
2002-04-15 05:23:01 +00:00
Andrew Cagney 628703c64b tipo 2002-04-15 04:52:39 +00:00
Andrew Cagney 2f4150cc14 * hpread.c (hpread_getlntt): Add declaration.
Also fix PR gdb/391.
2002-04-15 04:52:08 +00:00
Andrew Cagney 56157b4ad6 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
* aclocal.m4, configure: Re-generate.
Fix PR gdb/391.
2002-04-15 04:28:41 +00:00
Elena Zannoni 6d1e3329f6 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
* mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
        instead of tm_print_insn.
2002-04-15 02:24:40 +00:00
Elena Zannoni cb06fa073c 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
* ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
2002-04-15 01:09:55 +00:00
gdbadmin 580af05d1c *** empty log message *** 2002-04-15 00:00:32 +00:00
Andrew Cagney f208ba17b9 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
* blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
(get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
* gdbint.texinfo (Target Architecture Definition): Remove
FRAME_CHAIN_COMBINE.
2002-04-14 13:38:07 +00:00
gdbadmin 56a584a128 *** empty log message *** 2002-04-14 00:00:02 +00:00
Michael Chastain d5ba91def6 2002-04-12 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Obsolete Conditionals): Remove reference to
	REG_STACK_SEGMENT.
2002-04-13 15:56:42 +00:00
Michael Snyder ffd61a589b 2002-04-12 Michael Snyder <msnyder@redhat.com>
From Jim Blandy  <jimb@redhat.com>
        * gdb.base/foo.c (foox): Remove section attribute; the linker
	script can handle this instead.
	* gdb.base/bar.c (barx): Same.
	* gdb.base/baz.c (bazx): Same.
	* gdb.base/grbx.c (grbxx): Same.

        * gdb.base/overlays.exp: New test: check that GDB's manual overlay
	manager doesn't automatically unmap overlays unnecessarily.
2002-04-13 00:21:40 +00:00
Michael Snyder 694f61fb27 2002-04-12 Michael Snyder <msnyder@redhat.com>
* Remote.c: Spelling fix.
2002-04-13 00:12:30 +00:00
gdbadmin 4249b23ce6 *** empty log message *** 2002-04-13 00:01:04 +00:00
Michael Snyder 20fe79c82c 2002-04-12 Michael Snyder <msnyder@redhat.com>
* gcore.c (default_derive_heap_segment): Use bfd_section_name.
	If no symbol found for "sbrk", try "_sbrk".
	(make_output_phdrs): Use bfd_section_name.
	(gcore_copy_callback): Use bfd_section_name.
2002-04-12 23:09:48 +00:00
Michael Snyder 62995fc4a5 2002-04-12 Michael Snyder <msnyder@redhat.com>
* eval.c: Indentation fix-ups.
2002-04-12 22:54:17 +00:00
Michael Snyder 169a7369fc 2002-04-12 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
	in case it gets applied to an address that is already
	in the instruction space.
2002-04-12 22:50:42 +00:00
Michael Snyder de74f71f00 2002-04-12 Michael Snyder <msnyder@redhat.com>
* cli/cli-decode.c (help_list): Allow long lines to wrap.
2002-04-12 22:44:18 +00:00
Don Howard 20f01a4665 2002-04-12 Don Howard <dhoward@redhat.com>
* cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
	max_user_call_depth.
	(init_cmd_lists): Initialize the new value;
	* cli/cli-script.c (execute_user_command): Limit the call depth of
	user defined commands.  This avoids a core-dump when user commands
	are infinitly recursive.
2002-04-12 22:31:23 +00:00
Kevin Buettner a88376a3e1 Delete DEFAULT_LR_SAVE. 2002-04-12 19:48:37 +00:00
Michael Snyder f2172603b5 2002-04-12 Michael Snyder <msnyder@redhat.com>
* source.c: White space fix-up.
2002-04-12 19:46:29 +00:00
Andrew Cagney cda5a58a3e * defs.h (read_relative_register_raw_bytes): Delete declaration.
* frame.c (frame_register_read): New function.  Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright.  Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
2002-04-12 18:18:59 +00:00
Kevin Buettner 2ea5f656d7 From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
	64-bit SysV ABI.
2002-04-12 17:12:24 +00:00
Kevin Buettner 27b1578512 From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
	bfd info.
2002-04-12 07:37:18 +00:00
Kevin Buettner 5d57ee30b3 From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
	register sets for these processor variants.
2002-04-12 07:20:32 +00:00
gdbadmin c7b398788c *** empty log message *** 2002-04-12 00:00:33 +00:00
Daniel Jacobowitz bc1e36cac4 2002-04-11 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (usr_store_inferior_registers): Support
        registers which are allowed to fail to store.
        * gdbserver/linux-low.h (linux_target_ops): Likewise.
        * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
        (ppc_cannot_store_register): FPSCR may not be storable.
        * regformats/reg-ppc.dat: Support FPSCR.
2002-04-11 20:30:08 +00:00