Commit Graph

14733 Commits

Author SHA1 Message Date
Michael Chastain 8719393994 2003-08-20 Michael Chastain <mec@shout.net>
* defs.h (ENUM_BITFIELD): New macro.
	* symtab.h (ENUM_BITFIELD): Use it.
	(BYTE_BITFIELD): Remove old macro, which was already disabled.
2003-08-20 17:39:18 +00:00
gdbadmin c436e3bdec *** empty log message *** 2003-08-20 00:00:02 +00:00
Shrinivas Atre 062103babe 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com>
* MAINTAINERS (write after approval): Add myself.
2003-08-19 09:55:59 +00:00
gdbadmin f7d7447293 *** empty log message *** 2003-08-19 00:00:31 +00:00
Andrew Cagney 8b148df9ac Index: ChangeLog
2003-08-18  Andrew Cagney  <cagney@redhat.com>

	* gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method.
	* gdbarch.h, gdbarch.c: Re-generate.
	* infcall.c (call_function_by_hand): Adjust the SP by
	frame_red_zone_size before allocating any stack space.
	* rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size".
	* x86-64-tdep.c (x86_64_frame_align): New function.
	(x86_64_init_abi): Set "frame_red_zone_size" and "frame_align".

	* x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change.
	Remove code adjusting SP so that it skips over the Red Zone.

Index: doc/ChangeLog
2003-08-18  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Document
	"frame_red_zone_size".
2003-08-18 20:04:56 +00:00
Mark Kettenis 954a4db8ea * NEWS (New native configurations): Mention FreeBSD/amd64. 2003-08-18 18:20:19 +00:00
Andrew Cagney 1a2415489f 2003-08-18 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set
	"dwarf2_build_frame_info".  Append "m68k_frame_sniffer" instead of
	"m68k_frame_p".
	(m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
2003-08-18 17:35:16 +00:00
Mark Kettenis f82b2acd90 * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. 2003-08-18 17:33:26 +00:00
Michal Ludvig 4056d25828 2003-08-18 Michal Ludvig <mludvig@suse.cz>
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
	Define.
	* i386-linux-nat.c: Include "linux-nat.h".
	(child_post_startup_inferior): New function.
2003-08-18 13:42:13 +00:00
gdbadmin 6785ad22dd *** empty log message *** 2003-08-18 00:00:32 +00:00
Mark Kettenis c945b932a4 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
* gdb.arch/i386-prologue.c (gdb1338): Add function.
2003-08-17 23:18:31 +00:00
Mark Kettenis 99ab4326f1 * i386-tdep.c (i386_analyze_register_saves): Handle register saves
at the start of a frameless function.  This probably fixes PR
backtrace/1338.
2003-08-17 23:16:44 +00:00
Michael Chastain c8d5f0d664 2003-08-17 Michael Chastain <mec@shout.net>
* symfile.c (find_sym_fns): Remove special case for apollo target.
2003-08-17 22:33:08 +00:00
Daniel Jacobowitz 9016a515a3 * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
	(linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
	(linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
	(linux_supports_tracevforkdone): New function.
	(linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
	TRACEVFORKDONE.
	(child_follow_fork): Handle vfork.
	(linux_handle_extended_wait): Likewise.  Also handle exec.
	(child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
	* NEWS: Mention fork tracing.
2003-08-17 20:17:02 +00:00
Daniel Jacobowitz c538c11c48 * lin-lwp.c (child_wait): Call linux_record_stopped_pid. 2003-08-17 18:52:59 +00:00
Daniel Jacobowitz 4de4c07c6b * Makefile.in (i386-linux-nat.o): Update dependencies.
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
	* config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
	(CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
	* i386-linux-nat.c: Include "linux-nat.h".
	(child_post_startup_inferior): New function.
	* i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
	* infptrace.c (kill_inferior): Wrap in #ifdef.
	* lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
	attaching to each LWP.
	(child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
	(init_lin_lwp_ops): Fill in some more operations.
	* linux-nat.h (linux_enable_event_reporting)
	(linux_handle_extended_wait, linux_child_post_startup_inferior): New
	prototypes.
	* linux-nat.c (linux_enable_event_reporting): New function.
	(child_post_attach, linux_child_post_startup_inferior)
	(child_post_startup_inferior, child_follow_fork)
	(linux_handle_extended_wait, kill_inferior): New functions.
2003-08-17 18:22:25 +00:00
Daniel Jacobowitz 2b66634bab * mi-var-display.exp (-var-list-children weird): Accept function
pointers with argument types.
	* mi1-var-display.exp (-var-list-children weird): Likewise.
	* mi2-var-display.exp (-var-list-children weird): Likewise.
2003-08-17 17:23:13 +00:00
Daniel Jacobowitz a356f73bbf * gdb.base/annota3.exp: Add missing newline. 2003-08-17 16:50:59 +00:00
Andrew Cagney 7996bcec1c 2003-08-16 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code.
	* gdbarch.h, gdbarch.c: Re-generate.
2003-08-17 01:06:47 +00:00
gdbadmin 7ce11a6b2d *** empty log message *** 2003-08-17 00:00:01 +00:00
Mark Kettenis 3d48a7a0f9 * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. 2003-08-16 18:57:37 +00:00
Mark Kettenis de0b6abbe5 Really check this in now. 2003-08-16 18:52:43 +00:00
Andrew Cagney 7989c619f9 2003-08-16 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that "set prompt-escape-char" was deleted.
	* top.c (get_prompt_1): Delete function.
	(gdb_prompt_escape):
	(init_main): Do not clear "gdb_prompt_escape".  Delete "set
	prompt-escape-char" command.
	(MAX_PROMPT_SIZE): Delete macro.
	(get_prompt): Simplify, do not call get_prompt_1.
2003-08-16 18:38:46 +00:00
Andrew Cagney 4677b45628 Oops, merge lost Makefile.in:printcmd.o part of change:
2003-08-16  Andrew Cagney  <cagney@redhat.com>

	* Makefile.in (printcmd.o, valprint.o): Do not try to build with
	-Werror.  -Wformat-nonliteral problems.
2003-08-16 17:49:12 +00:00
Andrew Cagney 07978cd823 2003-08-16 Andrew Cagney <cagney@redhat.com>
* Makefile.in (printcmd.o, valprint.o): Do not try to build with
	-Werror.  -Wformat-nonliteral problems.
2003-08-16 17:44:51 +00:00
gdbadmin c1521daae3 *** empty log message *** 2003-08-16 00:00:01 +00:00
Joel Brobecker 3ff7cf9eed Further multiarching work mostly for hppa64-*-hpux11:
* hppa-tdep.h: New file.
        * hppa-tdep.c: #include hppa-tdep.c.
        (hppa32_num_regs): Renamed from hppa_num_regs.
        (hppa64_num_regs): New constant.
        (hppa64_call_dummy_breakpoint_offset): New constant.
        (hppa32_call_dummy_length): New constant.
        (hppa64_call_dummy_length): New constant.
        (hppa32_stack_align): Make name 32bit explicit.
        (hppa32_register_virtual_type): Likewise.
        (hppa32_extract_return_value): Likewise.
        (hppa32_use_struct_convention): Likewise.
        (hppa32_store_return_value): Likewise.
        (hppa64_register_virtual_type): New function.
        (hppa64_extract_return_value): New function.
        (hppa64_use_struct_convention): New function.
        (hppa64_store_return_value): New function.
        (hppa_frame_locals_address): Remove declaration, function does
        not exist anymore.
        (hppa_register_byte): Add support for PA64 ABI.
        (hppa_gdbarch_init): Add support for PA64 ABI.
        * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp):
        Make name 32bit explicit.
        (hppa32_hpux_frame_base_before_sigtramp): Likewise.
        (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise.
        (hppa64_hpux_frame_saved_pc_in_sigtramp): New function.
        (hppa64_hpux_frame_base_before_sigtramp): New function.
        (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function.
        * config/pa/tm-hppa64.h: Remove macros that are no longer
        necessary now that the gdbarch vector is properly setup.
        Transform some macros into function calls. Some minor cleanup.
        * config/pa/tm-hppah.h: Update function calls in macros
        following the function renaming in hppa-hpux-tdep.c.
        * Makefile.in (hppa_tdep_h): New variable.
        (hppa-tdep.o): Add dependency over hppa_tdep_h.
2003-08-15 23:02:05 +00:00
gdbadmin 3c6f55dab2 *** empty log message *** 2003-08-15 00:00:02 +00:00
Michael Snyder 5d05ca6d4c 2003-08-14 Michael Snyder <msnyder@redhat.com>
* disasm.c (gdb_disassemble_info): Set info->insn_sets to zero.
2003-08-14 21:39:05 +00:00
Michael Chastain 483417b818 2003-08-06 Michael Chastain <mec@shout.net>
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2003-08-14 19:11:10 +00:00
Joel Brobecker 37ba2569e3 * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
       routine.
2003-08-14 00:23:51 +00:00
gdbadmin f47cb86a65 *** empty log message *** 2003-08-14 00:00:01 +00:00
Michael Snyder aed7f26ad3 2003-08-13 Michael Snyder <msnyder@redhat.com>
* frv-tdep.c (frv_push_arguments): Use	deprecated ftype.
	(frv_saved_pc_after_call): Use	deprecated ftype.
        (stupid_useless_init_extra_frame_info): Remove orphan prototype.
	(frv_remote_translate_xfer_address): Remove.
	(frv_gdbarch_init): Use	generic_remote_translate_xfer_address.
2003-08-13 21:59:20 +00:00
Joel Brobecker 752d4ac100 * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
initialization after the common gdbarch initialization, not before.
2003-08-13 18:57:01 +00:00
Joel Brobecker 1426ac1daf * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
(ADDR_BITS_REMOVE): Remove, redundant.
2003-08-13 18:05:40 +00:00
Joel Brobecker b6fbdd1dbd * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
gdbarch method to clear the 2 low bits of text addresses.
2003-08-13 17:09:09 +00:00
gdbadmin f1893f393e *** empty log message *** 2003-08-13 00:00:01 +00:00
Michael Snyder c99c59c39d 2003-08-12 Michael Snyder <msnyder@redhat.com>
* gdb.base/float.exp: Add test for SH.
2003-08-12 22:27:19 +00:00
Andrew Cagney 44160db329 2003-08-12 Andrew Cagney <cagney@redhat.com>
* Makefile.in (dsrec.o): Update dependencies.
	* dsrec.c: Include "gdb_assert.h".
	(make_srec): Use snprintf instead of sprintf, use a literal format
	string.
2003-08-12 19:34:20 +00:00
Andrew Cagney bcf7d3caa2 2003-08-12 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
	FRAME_OBSTACK_ZALLOC.
2003-08-12 17:45:13 +00:00
Kevin Buettner 49ed40de4e * i386-tdep.c (i386_gdbarch_init): Enable default support for
SSE registers.
2003-08-12 16:12:33 +00:00
gdbadmin 525a8324cd *** empty log message *** 2003-08-12 00:00:01 +00:00
Michael Snyder 3d67be836a 2003-07-22 Michael Snyder <msnyder@redhat.com>
* gdb.disasm/8300s.s: Fix syntax of bsr insn.

        * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
        patterns to be more general, accepting old and new output.
        Some output chars (such as '+') also must be quoted.
        Some addresses are displayed numerically instead of
        symbolically.
2003-08-11 23:20:05 +00:00
Mark Kettenis b246147cd3 * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
amd64fbsd_sc_reg_offset): Add extern declarations.
* amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern
declarations.
2003-08-11 16:55:21 +00:00
gdbadmin 198c746dd3 *** empty log message *** 2003-08-11 00:00:01 +00:00
Ben Elliston d95fdc0d1a * MAINTAINERS (write after approval): Update my mail address. 2003-08-10 22:05:14 +00:00
Andrew Cagney cf6a0e73af 2003-08-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (monitor.o): Do not build monitor.c with -Werror.
2003-08-10 19:58:21 +00:00
Mark Kettenis e2dbbd2d95 * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386obsd_sigtramp_start, i386obsd_sigtramp_end,
i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset,
i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset,
i386bsd_sc_reg_offset): Add extern declarations.
* i386obsd-nat.c: Include "i386-tdep.h"
(_initialize_i386obsd_nat): Remove extern declarations.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern
declarations.
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern
declarations.
2003-08-10 18:32:09 +00:00
Mark Kettenis f837910f91 * i386-tdep.c (i386_register_to_value): Use get_frame_register
instead of frame_read_register.
(i386_fetch_pointer_argument): Use get_frame_register_unsigned
instead of frame_read_register.  Use I386_ESP_REGNUM instead of
SP_REGNUM.
(i386_frame_prev_register): Use frame_unwind_register_unsigned
instead of frame_unwind_unsigned_register.  Use
I386_EFLAGS_REGISTER instead of PS_REGNUM.
(i386_get_longjmp_target): Use regcache_read_unsigned_register
instead of read_register.  Use builtin_type_void_data_ptr instead
of builtin_type_void_func_ptr when extracting the address of the
jmp_buf.
(i386_extract_return_value, i386_store_return_value,
i386_pseudo_register_read, i386_pseudo_register_write): Use
register_size instead REGISTER_RAW_SIZE.

(i387_print_float_info): Use get_frame_register and
get_frame_register_unsigned instead of frame_register_read.
2003-08-10 18:06:05 +00:00
Andrew Cagney edcf254de8 2003-08-10 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Use xstrprintf instead of
	sprintf.  Make "name" constant.
2003-08-10 17:19:23 +00:00
Mark Kettenis 192285c6b9 * i387-tdep.c (i387_register_to_value): Use get_frame_register
instead of frame_read_register.
2003-08-10 17:01:32 +00:00
Mark Kettenis f0925262c7 * i386fbsd-nat.c: Include "i386-tdep.h".
(child_resume): Make `eflags' an ULONGEST.  Use
regcache_cooked_read_unsigned and regcache_cooked_write_unsigned
instead of register_read and register_write.
2003-08-10 16:46:08 +00:00
Mark Kettenis a144416fe3 * i386bsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Don't use && at the end of a line.
(_initialize_i386bsd_nat): Fix typo.
2003-08-10 16:22:15 +00:00
Mark Kettenis fec74868a2 * frame.c (_initialize_frame): Add missing backslash. 2003-08-10 14:56:23 +00:00
Mark Kettenis 87232496c6 * sol-thread.c (sol_thread_store_registers): Use regcache_collect
and supply_register instead of manipulating the register buffer
directly.

From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
2003-08-10 14:05:47 +00:00
Mark Kettenis c9b9de0b07 From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
* config/i386/nm-i386sol2.h
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
2003-08-10 13:49:33 +00:00
Mark Kettenis 26604a3475 Based on a patch from Michael Elizabeth Chastain (mec@shout.net):
* i386-tdep.c (i386_analyze_frame_setup): Recognize more
instructions that GCC likes to mingle into the prologue.  Fixes
gdb/1253 and gdb/1255.
2003-08-10 12:15:16 +00:00
Mark Kettenis 55ed75018d * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files. 2003-08-10 11:55:58 +00:00
gdbadmin 9e9fe3e30d *** empty log message *** 2003-08-10 00:00:32 +00:00
Andrew Cagney 25d29d7093 2003-08-09 Andrew Cagney <cagney@redhat.com>
Fix GDB PR cli/926.
	* cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
	* command.h (add_setshow_uinteger_cmd): Declare.
	* frame.c (set_backtrace_cmd): New function.
	(show_backtrace_cmd): New function.
	* frame.c (_initialize_frame): Replace "set/show
	backtrace-below-main" with "set/show backtrace past-main".  Add
	command "set/show backtrace limit".
	(backtrace_past_main): Rename "backtrace_below_main".
	(backtrace_limit): New variable.
	(get_prev_frame): Update.  Check the backtrace_limit.

2003-08-09  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main"
	with "set/show backtrace past-main" and "set/show backtrace
	limit".

Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.174
diff -u -r1.174 gdb.texinfo
--- doc/gdb.texinfo	8 Aug 2003 01:58:00 -0000	1.174
+++ doc/gdb.texinfo	9 Aug 2003 14:57:10 -0000
@@ -3922,27 +3922,40 @@
 value, indicating that your program has stopped at the beginning of the
 code for line @code{993} of @code{builtin.c}.

-@kindex set backtrace-below-main
-@kindex show backtrace-below-main
+@kindex set backtrace past-main
+@kindex show backtrace past-main
+@kindex set backtrace limit
+@kindex show backtrace limit

-Most programs have a standard entry point---a place where system libraries
-and startup code transition into user code.  For C this is @code{main}.
-When @value{GDBN} finds the entry function in a backtrace it will terminate
-the backtrace, to avoid tracing into highly system-specific (and generally
-uninteresting) code.  If you need to examine the startup code, then you can
-change this behavior.
+Most programs have a standard user entry point---a place where system
+libraries and startup code transition into user code.  For C this is
+@code{main}.  When @value{GDBN} finds the entry function in a backtrace
+it will terminate the backtrace, to avoid tracing into highly
+system-specific (and generally uninteresting) code.
+
+If you need to examine the startup code, or limit the number of levels
+in a backtrace, you can change this behavior:

 @table @code
-@item set backtrace-below-main off
+@item set backtrace past-main
+@itemx set backtrace past-main on
+Backtraces will continue past the user entry point.
+
+@item set backtrace past-main off
 Backtraces will stop when they encounter the user entry point.  This is the
 default.

-@item set backtrace-below-main
-@itemx set backtrace-below-main on
-Backtraces will continue past the user entry point to the top of the stack.
+@item show backtrace past-main
+Display the current user entry point backtrace policy.
+
+@item set backtrace limit @var{n}
+@itemx set backtrace limit 0
+@cindex backtrace limit
+Limit the backtrace to @var{n} levels.  A value of zero means
+unlimited.

-@item show backtrace-below-main
-Display the current backtrace policy.
+@item show backtrace limit
+Display the current limit on backtrace levels.
 @end table

 @node Selection
2003-08-09 15:10:09 +00:00
Andrew Cagney 9ebf4acf53 2003-08-09 Andrew Cagney <cagney@redhat.com>
* defs.h (xstrprintf): Declare.
	* utils.c (xstrprintf): New function.
	* breakpoint.c (insert_breakpoints): Replace sprintf and
	non-literal format strings, with xstrprintf and cleanups.
	(delete_breakpoint,breakpoint_re_set): Ditto.
	(commands_command, insert_breakpoints): Ditto.
	(bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto.
	(break_at_finish_command_1): Ditto.
2003-08-09 14:57:30 +00:00
Andrew Cagney 3771659b8b 2003-08-09 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS (language support): List Adam Fedor as Objective C
	maintainer.
2003-08-09 14:38:53 +00:00
gdbadmin af2bbf6cf1 *** empty log message *** 2003-08-09 00:00:33 +00:00
Joel Brobecker b4263afab4 * NEWS (Multi-arched targets): Document that all hppa-hpux targets
are now multiarched.
2003-08-08 22:26:38 +00:00
Joel Brobecker d84defb1b6 * config/pa/tm-hppa64.h: Remove lots of macros that are no
longer necessary now that hppa64 is partially multiarch'ed.
2003-08-08 22:10:48 +00:00
Andrew Cagney f786f61510 2003-08-08 Andrew Cagney <cagney@redhat.com>
* interps.c (interp_set): Check for a NULL "old_interp".

Index: mi/ChangeLog
2003-08-08  Andrew Cagney  <cagney@redhat.com>

	* mi-main.c (captured_mi_execute_command): Add "mi2" and "mi3" to
	interpreters that hack around CLI.
	* mi-interp.c (mi3_command_loop): New function.
	(mi_interpreter_resume): Check for "mi3", default to "mi2".
2003-08-08 19:00:08 +00:00
H.J. Lu c938e9b01d gdb/
2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (FLAGS_TO_PASS): Add DESTDIR.
	(install-only): Support DESTDIR.
	(uninstall): Likewise.
	(install-gdbtk): Likewise.

gdb/doc/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (install-info): Support DESTDIR.
	(install-html): Likewise.

gdb/gdbserver/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (install-only): Create dest dir. Support DESTDIR.
	(uninstall): Support DESTDIR.

mmalloc/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (install-info): Create dest dir. Support DESTDIR.
	(install): Likewise.
2003-08-08 17:30:37 +00:00
Elena Zannoni 9a146a111f 2003-08-08 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this
	contains something meaningful at all times.
2003-08-08 14:04:02 +00:00
Andrew Cagney 64fabec204 2003-08-07 Andrew Cagney <cagney@redhat.com>
Patch from Nick Roberts.
	* gdb.texinfo (Using GDB under GNU Emacs): Fix/update key
	bindings.  Remove description of send-gdb-command.
2003-08-08 01:58:00 +00:00
Brendan Conoboy 62599e9995 Add periods to my changelog entries 2003-08-08 01:09:56 +00:00
Brendan Conoboy 7a76ced5c4 Mon Jul 21 20:10:16 UTC 2003 Brendan Conoboy <blc@redhat.com>
* configure.host: Set gdb_host_cpu=arm when host_cpu=xscale
2003-08-08 00:47:50 +00:00
Brendan Conoboy 7f313d077f Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>
* configure.srv: Add xscale*linux copy of arm*linux entry.
2003-08-08 00:47:28 +00:00
Brendan Conoboy 562961552f Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com>
* MAINTAINERS (write after approval): Added self
2003-08-08 00:41:54 +00:00
gdbadmin c8f88e278e *** empty log message *** 2003-08-08 00:00:31 +00:00
Andrew Cagney 9710e734be 2003-08-07 Andrew Cagney <cagney@redhat.com>
* inferior.h (AT_SYMBOL): Define.
	* blockframe.c (inside_entry_file): Check for AT_SYMBOL.
	* infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL.
	* mips-tdep.c (mips_call_dummy_address): Delete function.
	(mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not
	set call_dummy_address.
2003-08-07 23:41:57 +00:00
Andrew Cagney 98b3ab7391 2003-08-07 Andrew Cagney <cagney@redhat.com>
* language.c (op_error): Delete function.
	(binop_type_check): Delete function.
	* language.h (type_op_error, range_op_error): Delete macros.
	(op_error): Delete declaration.
2003-08-07 22:35:03 +00:00
Elena Zannoni 1a371f2e64 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Remove reduntant completion test
       on filename.
2003-08-07 17:58:44 +00:00
Elena Zannoni e0f353ceed 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
        gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
        gdb.trace/save-trace.exp: Make sure that full pathnames are
        escaped correctly.
2003-08-07 17:55:41 +00:00
Elena Zannoni 5710a1afa9 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* configure.in: Don't generate config.h from config.hin.
        * configure: Regenerate.
        * config.hin: Remove file.
        * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
        * gdb.threads/pthreads.c: Ditto.
2003-08-07 17:49:22 +00:00
Andrew Cagney 2fcf52f0db Index: ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

	* interps.h (INTERP_MI2, INTERP_MI3): Define.

Index: doc/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Mode Options): Mention that "mi2" was included in
	GDB 6.0.

Index: mi/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

	* mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
	Make "mi" select "mi2".

Index: testsuite/gdb.mi/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

	* mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2.
	* mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto.
	* mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto.
	* mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto.
	* mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto.
	* mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto.
	* mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto.
	* mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.
2003-08-07 17:47:42 +00:00
Michal Ludvig fd83badabb 2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_push_arguments): Skip the red zone.
2003-08-07 11:26:42 +00:00
Michal Ludvig abd4220e18 2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
2003-08-07 07:51:14 +00:00
Kazuhiro Inaoka 29ceeffbde 2003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>
* MAINTAINERS (write after approval): Move Kei Sakamoto to the proper place.
2003-08-07 05:22:45 +00:00
Kazuhiro Inaoka fbb78a6881 2003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>
* MAINTAINERS (write after approval): Add myself.
2003-08-07 05:01:32 +00:00
Daniel Jacobowitz dcd81ce97c From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.asm/asm-source.exp : Add -lgloss to link-flags.
	* gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
	Replace ld24 with seth/add3.
2003-08-07 04:04:57 +00:00
gdbadmin 51cacde563 *** empty log message *** 2003-08-07 00:00:31 +00:00
Andrew Cagney 086432e254 2003-08-06 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Mode Options): Mention that level three is the
	highest available and that level 2 is deprecated.
	(Annotations Overview): Mention annotation levels. Cross reference
	to "Limitations of the Annotation Interface" in annotate.texi.
	(TODO, Value Annotations, Frame Annotations): Delete section.
	(Displays, Breakpoint Info): Delete.
2003-08-06 15:13:10 +00:00
gdbadmin b675324d69 *** empty log message *** 2003-08-06 00:00:02 +00:00
Andrew Cagney d303380bd9 2003-08-05 Andrew Cagney <cagney@redhat.com>
* mi-cmd-env.c (env_execute_cli_command): Use an explicit "%s %s"
	when constructing the run command.
	(mi_cmd_env_cd, mi_cmd_env_path, mi_cmd_env_dir): Simplify command
	string removing the "%s".
2003-08-05 19:55:17 +00:00
Andrew Cagney 9dd5f34f8d 2003-08-05 Andrew Cagney <cagney@redhat.com>
* reggroups.c (reggroup_next): Check for the final entry.
2003-08-05 18:08:59 +00:00
Andrew Cagney ab4e3d93a0 2003-08-04 Andrew Cagney <cagney@redhat.com>
* monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT.
	* cli/cli-script.c (define_command): Call query directly, instead
	of passing it a buffer.
	* ocd.c (ocd_error): Pass error a constant format string.
	* remote-mips.c (mips_error): Use fputs_filtered.
2003-08-05 02:44:50 +00:00
Andrew Cagney 1062ca825e 2003-08-04 Andrew Cagney <cagney@redhat.com>
* solib-svr4.c (_initialize_svr4_solib): Update
	register_gdbarch_data call.
	* mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.
2003-08-05 02:38:06 +00:00
gdbadmin 519f2b3b13 *** empty log message *** 2003-08-05 00:00:01 +00:00
Andrew Cagney b2af646b30 2003-08-04 Andrew Cagney <cagney@redhat.com>
* mi-cmds.h (struct mi_cli): Define.
	(struct mi_cmd): Change type of "cli" to "struct mi_cli".
	* mi-cmds.c (mi_cmds): Update table.
	* mi-parse.c (mi_parse): Update.
	* mi-main.c (mi_execute_cli_command): Add "args_p" parameter, make
	others constant.
	(mi_cmd_execute): Update call.
	(captured_mi_execute_command): Ditto.
2003-08-04 23:18:50 +00:00
Andrew Cagney fcc1c85c67 2003-08-04 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_data_free_ftype): Delete declaration.
	(register_gdbarch_data): Delete "free" parameter.  Update
	comments.
	* gdbarch.h, gdbarch.c: Re-generate.
	* reggroups.c (_initialize_reggroup): Update.
	* gnu-v3-abi.c (init_gnuv3_ops): Update.
	* frame-base.c (_initialize_frame_base): Update.
	* frame-unwind.c (_initialize_frame_unwind): Update.
	* user-regs.c (_initialize_user_regs): Update.
	* remote.c (_initialize_remote): Update.
	* regcache.c (_initialize_regcache): Update.
2003-08-04 22:24:44 +00:00
Andrew Cagney 116f06eabf 2003-08-04 Andrew Cagney <cagney@redhat.com>
* regcache.c (xfree_regcache_descr): Delete function.
	(_initialize_regcache): Update call to register_gdbarch_data.
	(init_regcache_descr, init_legacy_regcache_descr): Use
	GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC.
2003-08-04 21:12:46 +00:00
Andrew Cagney e5e78edc1a 2003-08-04 Andrew Cagney <cagney@redhat.com>
* remote.c (free_remote_state): Delete function.
	(_initialize_remote): Update register_gdbarch_data.
	(init_remote_state): Use GDBARCH_OBSTACK_XALLOC and
	GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc.
2003-08-04 20:52:27 +00:00
Andrew Cagney e5249f67ac 2003-08-04 Andrew Cagney <cagney@redhat.com>
* agentexpr.texi: Delete @bye.
	* Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi"
	(stabs.info): Add $(srcdir) to include search path.
	(html): Depend on "annotate_toc.html", and not "annotate.html".
	* stabs.texinfo: Ditto.  Include "fdl.texi".
	* gdbint.texinfo: Update copyright statement's list of invariant
	sections.
2003-08-04 20:43:57 +00:00
Andrew Cagney 6c7d17ba3a 2003-08-04 Andrew Cagney <cagney@redhat.com>
* reggroups.c (struct reggroup_el): Define.
	(struct reggroups): Delete field "nr_group".  Replace array
	"group" with a "first" to "last" linked list.
	(reggroups_init): Update.  Allocate using gdbarch's obstack.
	(reggroups_free): Delete function.
	(add_group): Update.  Add "el" parameter.
	(reggroup_add): Pass gdbarch obstack allocated space to add_group.
	(default_groups): Update.
	(reggroup_next): Replace reggroups.
	(reggroups_dump): Update.
	(_initialize_reggroup): Pass XMALLOC allocated space to add_group.
	* regcache.c (regcache_dump): Use reggroup_next instead of reggroups.
	* infcmd.c (registers_info): Use reggroup_next instead of reggroups.
2003-08-04 20:34:10 +00:00
Daniel Jacobowitz 95cd630eae * tui-interp.c: Include "cli-out.h".
(tui_resume): Update tui_old_uiout's stream to gdb_stdout.
2003-08-04 19:28:17 +00:00