Andrew Cagney
a255853365
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* acconfig.h (GDB_MULTI_ARCH): Delete undef.
* defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM)
(GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros.
2004-09-02 17:36:10 +00:00
Andrew Cagney
b78960be27
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE,
GDB_TM_FILE and GDB_XM_FILE.
* gdbarch.c: Re-generate.
* configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include
quotes in macro definition.
* configure.in: Re-generate.
2004-09-02 17:22:08 +00:00
Andrew Cagney
4d60522e88
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when
validating architecture methods.
* gdbarch.c: Re-generate.
2004-09-02 16:01:33 +00:00
Andrew Cagney
5010d38b08
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Delete check for consistency between GDB_MULTI_ARCH
and GDB_TM_FILE. Check for GDB_TM_FILE instead of
GDB_MULTI_ARCH_PARTIAL.
* gdbarch.h: Re-generate.
2004-09-02 14:30:44 +00:00
Andrew Cagney
c185a355e6
2004-09-02 Andrew Cagney <cagney@gnu.org>
...
* config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete.
* config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete.
* config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete.
* config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete.
* config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete.
* config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete.
* config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete.
* config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
2004-09-02 14:17:44 +00:00
Andrew Cagney
14aaa6abcf
2004-09-01 Andrew Cagney <cagney@gnu.org>
...
* objfiles.h (struct entry_info): Delete fields main_func_lowpc
and main_func_highpc.
(INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
* objfiles.c (init_entry_point_info, objfile_relocate): Update
* nlmread.c (nlm_symfile_read): Update.
2004-09-02 03:05:46 +00:00
Joel Brobecker
a343eb3cbf
* mips-tdep.c (linked_proc_desc_table): Delete, not used.
...
(mips_insn32_frame_cache): Inline call to find_proc_desc.
(find_proc_desc): Remove dead code.
2004-09-01 20:42:45 +00:00
Joel Brobecker
4fbbbd0782
* mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
2004-09-01 18:55:17 +00:00
Jeff Johnston
84acb35a5a
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
...
* observer.sh: Add struct so_list declaration.
* Makefile.in: Add dependencies on observer.h for solib.c and
breakpoint.c.
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
function.
(_initialize_breakpoint): Register
disable_breakpoints_in_unloaded_shlib as an observer of the
"solib unloaded" observation event.
(re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
call decode_line_1 so unfound breakpoint errors are silent.
* solib.c (update_solib_list): When a solib is discovered to have
been unloaded by the program, notify all observers of the
"solib unloaded" observation event.
2004-09-01 18:00:29 +00:00
Andrew Cagney
c8cd9f6c4c
2004-08-31 Andrew Cagney <cagney@gnu.org>
...
* frame.c: Include "objfiles.h".
(inside_main_func): New function.
(get_prev_frame): Use new inside_main_func.
* Makefile.in (frame.o): Update dependencies.
* defs.h (inside_main_func): Delete declaration.
* blockframe.c (inside_main_func): Delete function.
2004-09-01 14:13:33 +00:00
Jim Blandy
1168df017b
* dwarf2read.c (is_vtable_name): New function, based on logic from
...
read_structure_type, but passing the correct length to strncmp,
and using 'sizeof' instead of 'strlen'.
(read_structure_type): Call it.
2004-09-01 04:19:22 +00:00
Joel Brobecker
f14f9744c4
* config/powerpc/aix.mh: Add comment.
2004-09-01 00:02:15 +00:00
Paul Gilliam
386d451882
* MAINTAINERS: Add self to Write-After-Approval.
2004-08-31 20:36:04 +00:00
Manoj Iyer
7d97d5e2b8
Added self to write-after-approval.
2004-08-30 20:05:41 +00:00
Andrew Cagney
68f5350246
2004-08-30 Andrew Cagney <cagney@gnu.org>
...
Fix PR breakpoints/1757.
* infrun.c (struct execution_control_state): Replace
remove_breakpoints_on_following_step with
step_after_step_resume_breakpoint.
(init_execution_control_state): Update.
(handle_inferior_event): For signals, when stepping off a
breakpoint, set step_after_step_resume_breakpoint. When
BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
(keep_going): Delete code handling
remove_breakpoints_on_following_step.
Index: testsuite/ChangeLog
2004-08-30 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.
2004-08-30 16:59:45 +00:00
David Lecomber
7ca2d3a371
2004-08-29 David Lecomber <david@streamline-computing.com>
...
Fix PR gdb/648
* language.h (enum array_ordering): New enum.
* language.h (struct language_defn): New la_array_ordering
attribute.
* language.c (unknown_language_defn, auto_language_defn)
(local_language_defn): Ditto.
* ada-lang.c (ada_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* m2-lang.c (f_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
* eval.c (evaluate_subexp_standard): Assume Fortran arrays are
oriented large to small in type structure.
* dwarf2read.c (read_array_order): New function.
(read_array_type): Use read_array_order to check row/column
major ordering.
2004-08-29 10:12:24 +00:00
Nathan J. Williams
e354df0166
* target.c (target_resize_to_sections): Check
...
current_target.to_sections for an old value when updating.
2004-08-27 18:03:32 +00:00
Joel Brobecker
9185ddce96
* procfs.c (dbx_link_bpt_addr): New static global variable.
...
(dbx_link_shadow_contents): New static global variable.
(procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
(procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
if we just hit it.
(procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
Reset dbx_link_bpt_addr as the address of __dbx_link() may change
from run to run.
(procfs_create_inferior): Remove syssgi syscall-exit notifications
after the inferior has been forked.
(remove_dbx_link_breakpoint): New function.
(dbx_link_addr): New function.
(insert_dbx_link_bpt_in_file): New function.
(insert_dbx_link_bpt_in_region): New function.
(insert_dbx_link_breakpoint): New function.
(proc_trace_syscalls_1): New function, extracted from
proc_trace_syscalls.
(proc_trace_syscalls): Replace extract code by call to
proc_trace_syscalls_1.
* solib-irix.c (disable_break): Remove stop_pc assertion, as it
is no longer valid.
2004-08-27 13:37:42 +00:00
Jim Blandy
e6742ace8b
* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
2004-08-25 15:41:54 +00:00
Andrew Cagney
629a41eeae
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* infrun.c (struct execution_control_state): Delete field
"stepping_through_sigtramp".
(init_execution_control_state): Do not set same.
(context_switch): Do not pass same to save_infrun_state and
load_infrun_state.
* gdbthread.h (struct thread_info): Delete field
stepping_through_sigtramp.
(save_infrun_state, load_infrun_state): Delete parameter
stepping_through_sigtramp.
* thread.c (load_infrun_state, save_infrun_state): Update.
2004-08-25 15:18:05 +00:00
Andrew Cagney
8fb3e588da
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* infrun.c: Re-indent. Move expression operators to the beginning
of the line. Remove long disabled #if 0 code.
2004-08-25 14:47:07 +00:00
Andrew Cagney
49c547686f
2004-08-24 Andrew Cagney <cagney@gnu.org>
...
* doublest.h (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
* doublest.c (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
(_initialize_doublest): Update.
2004-08-24 22:49:27 +00:00
Jim Blandy
87808bd699
* dwarf2expr.h (struct dwarf_expr_context): New members
...
'num_pieces' and 'pieces', for returning the result of an
expression that uses DW_OP_piece.
(struct dwarf_expr_piece): New struct type.
* dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
pieces.
(free_dwarf_expr_context): Free pieces, if any.
(add_piece): New function.
(execute_stack_op): Implement DW_OP_piece.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
expression is a list of pieces, print an error message.
(dwarf2_loc_desc_needs_frame): If the expression yields
pieces, and any piece is in a register, then we need a frame.
2004-08-24 21:01:49 +00:00
Jim Blandy
5ca2e3275d
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
...
the stack until we've decided what sort of result the evaluation
has produced. Use separate variables, with more specific names.
2004-08-24 17:31:49 +00:00
Richard Earnshaw
2afeb6b854
* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
...
(arm_nbsd_thumb_[lb]e_breakpoint): Define.
(arm_netbsd_init_abi_common): Register them.
2004-08-23 10:28:58 +00:00
Mark Kettenis
fda820a6fa
* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
2004-08-22 20:57:06 +00:00
Mark Kettenis
1c5bf4196b
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
...
safe_frame_unwind_memory instead of target_read_memory.
2004-08-22 20:34:55 +00:00
Mark Kettenis
8cbba7c881
* infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
...
Reorder includes.
(fetch_register, store_register): Remove prototypes.
(child_resume): Reorganize code and comments such that it is
grouped a bit more logically.
(attach): Explicitly compare errno against 0.
(detach): Likewise. Use perror_with_name instead of
print_sys_errmsg.
* Makefile.in (infptrace.o): Update dependencies.
2004-08-22 19:03:41 +00:00
Mark Kettenis
c5fa424560
* ia64-linux-nat.c: Update copyright year.
...
(fetch_debug_register, store_debug_register)
(ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* config/ia64/nm-linux.h: Update copyright year.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
2004-08-22 16:32:35 +00:00
Mark Kettenis
387c058c87
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
...
from CORE_ADDR to struct frame_info *. Use
safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust for changed signature of
and64_linux_sigtramp_start
2004-08-22 16:27:30 +00:00
Mark Kettenis
277215a6d4
* gdb_ptrace.h: GNU/Linux.
2004-08-22 15:41:47 +00:00
Mark Kettenis
25f6178efd
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
...
Remove defines.
2004-08-22 15:38:37 +00:00
Mark Kettenis
652fc1376f
* infptrace.c: Include "gdb_assert.h".
...
(PTRACE_XFER_TYPE): Remove define.
(offsetof): Only define if U_REGS_OFFSET isn't defined.
(fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
Tweak comment.
(fetch_inferior_registers, store_inferior_registers): Remove
redundant culry braces. Tweak comment. s/regno/regnum.
* Makefile.in (infptrace.o): Update dependencies.
2004-08-22 15:35:02 +00:00
Mark Kettenis
5885ab493f
* configure.in: Change test for return type of ptrace to default
...
to `long' instead of `int'.
* configure: Regenerate.
2004-08-22 14:18:02 +00:00
Mark Kettenis
6b95110c7d
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
2004-08-21 12:44:05 +00:00
Mark Kettenis
bcb3dc3d55
* configure.in: Check for ttrace function.
...
* configure, config.in: Regenerate.
2004-08-21 12:05:52 +00:00
Mark Kettenis
11003ae340
* gdb_ptrace.h: New file.
...
* infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
<sys/ptrace.h>.
(PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
(PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
(attach): Don't define PT_ATTACH.
(detach): Don't define PT_DETACH.
* Makefile.in (gdb_ptrace_h): New variable.
(infptrace.o): Update dependencies.
2004-08-21 08:56:38 +00:00
Mark Kettenis
f8707cace9
* inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
...
instead of `int' if not already defined.
(call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Revert change that replaced
PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
2004-08-16 15:27:54 +00:00
Mark Kettenis
156e5ba790
* config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
...
Remove defines.
2004-08-15 16:10:23 +00:00
Mark Kettenis
de9a9e516b
* linux-nat.c (kill_inferior): Add missing third and fourth
...
arguments to ptrace call. Don't use PTRACE_ARG3_TYPE.
2004-08-15 15:51:40 +00:00
Mark Kettenis
888004038c
* infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
...
PTRACE_TYPE_RET.
2004-08-15 15:33:21 +00:00
Mark Kettenis
849a1d7cc9
* proc-why.c (proc_prettyfprint_why): Fix format string.
2004-08-15 12:12:47 +00:00
Mark Kettenis
61ad16d19e
* solib-osf.c (osf_current_sos): Remove unsused label.
2004-08-15 12:08:49 +00:00
Mark Kettenis
a6ed5501f7
* configure.in: Add <ncurses/ncurses.h> to the list of possible
...
curses headers.
* configure, config.in: Regenerate.
* gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
<ncurses/ncurses.h>.
2004-08-15 10:06:05 +00:00
Mark Kettenis
016ddeca84
* config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
...
* config/nm-nbsd.h: Update copyright year.
(PTRACE_ARG3_TYPE): Remove define.
2004-08-14 23:56:49 +00:00
Mark Kettenis
49ec097fd5
* sparc-nat.c (fetch_inferior_registers)
...
(store_inferior_registers, sparc_xfer_wcookie):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
2004-08-14 23:44:47 +00:00
Mark Kettenis
9f8e00890b
* alphabsd-nat.c (fetch_inferior_registers):
...
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* amd64bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* armnbsd-nat.c: Update copyright year.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs)
(store_register, store_regs, store_fp_register, store_fp_regs):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* hppabsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* i386bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* m68kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* m88kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* mipsnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ns32knbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ppcnbsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* ppcobsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* shnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* vaxbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
2004-08-14 23:37:04 +00:00
Mark Kettenis
655c546612
* inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
...
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace, child_resume, attach, detach)
(U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory)
(udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
2004-08-14 23:14:34 +00:00
Mark Kettenis
5cb0ff31a2
* defs.h: Remove out-of-date comment.
...
[!FCLOSE_PROVIDED] (fclose): Remove prototype.
[!GETENV_PROVIDED] (getenv): Remove prototype.
2004-08-14 20:56:27 +00:00
Mark Kettenis
5f0f34cbdd
* standalone.c: Remove file.
...
* Makefile.in (standalone.o): Remove dependency.
2004-08-14 20:40:15 +00:00
Mark Kettenis
7532965fe1
* i386-linux-nat.c (dummy_sse_values): Remove function and
...
prototype.
(i386_linux_dr_get): Fix typo in comment.
(LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM.
2004-08-14 16:01:39 +00:00
Mark Kettenis
1bdc6c5323
* config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o.
2004-08-14 13:45:53 +00:00
Mark Kettenis
c40d0d10b1
* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
...
from declaration.
* top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from definition.
2004-08-14 13:37:51 +00:00
Mark Kettenis
64218d3eae
* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
...
parenthesis in definition.
* configure: Regenerated.
2004-08-13 20:16:46 +00:00
Michael Chastain
926c94e785
2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
...
* PROBLEMS: Mention build/1411.
2004-08-13 16:31:11 +00:00
Nathanael Nerode
69489883aa
2004-08-09 Robert Millan <robertmh@gnu.org>
...
Committed by Nathanael Nerode.
* configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
* configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
2004-08-12 22:29:56 +00:00
Andrew Cagney
ebb7c577de
2004-08-12 Andrew Cagney <cagney@gnu.org>
...
* NEWS: Mention fixes in GDB 6.2.1.
* PROBLEMS: Remove mention of mips-irix.
2004-08-12 21:44:19 +00:00
Joel Brobecker
232d697cd0
* config/powerpc/xm-aix.h: Delete.
...
* config/powerpc/aix.mh (MH_FILE): Remove.
* config/powerpc/aix432.mh (MH_FILE): Remove.
2004-08-12 06:28:13 +00:00
Joel Brobecker
72f4e82b22
* config/powerpc/aix.mh: Remove obsolete comment.
...
* config/powerpc/aix432.mh: Likewise.
2004-08-12 05:19:10 +00:00
Joel Brobecker
0687ccb244
* config/powerpc/xm-aix.h (UINT_MAX): Remove undef.
2004-08-12 05:01:17 +00:00
Joel Brobecker
e08e188697
* config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
...
this file is now empty.
* config/xm-aix4.h: Remove, this file is no longer included
anywhere.
2004-08-11 22:40:45 +00:00
Joel Brobecker
dbf3ada764
* config/powerpc/xm-aix.h: Remove "config/xm-aix4.h", that file
...
is now empty.
(termdef): Remove prototype, function no longer used.
2004-08-11 22:28:34 +00:00
Joel Brobecker
4c525ef664
* doc/gdbint.texinfo (Host Definition): Remove documentation
...
for USE_O_NOCTTY, no longer used.
* config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
* config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
2004-08-11 22:23:05 +00:00
Joel Brobecker
82e0b968b3
* config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
...
* config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
* config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
2004-08-11 21:51:29 +00:00
Mark Kettenis
daa9827006
* infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
...
instead of FIVE_ARG_PTRACE.
2004-08-11 09:17:39 +00:00
Mark Kettenis
f2acbe1cfb
* inflow.c (O_NOCTTY): Define to zero if not already defined.
...
(new_tty): Use O_NOCTTY unconditionally.
2004-08-11 09:00:57 +00:00
Mark Kettenis
cc377e6b36
* procfs.c (procfs_detach): Cleanup. Print process ID, not LWP
...
ID. Use comma in output. Use gdb_flush on gdb_stdout instead of
fflush on stdout.
2004-08-11 06:55:15 +00:00
Joel Brobecker
3bcc18faa9
* xcoff_symfile_finish: Replace last call to xmfree by call
...
to xfree.
2004-08-10 23:48:29 +00:00
Andrew Cagney
cc503c8aa2
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* main.c (captured_main): Delete call to init_malloc.
* defs.h (init_malloc): Delete declaration.
* utils.c (mmalloc, mrealloc, mcalloc, mfree)
(init_malloc): Delete functions.
Index: testsuite/ChangeLog
2004-08-10 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
init_malloc call.
2004-08-10 22:36:39 +00:00
Andrew Cagney
2dc74dc121
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xmfree): Delete.
* utils.c (xmfree): Delete function.
(xfree): Inline calls to xmfree and mfree.
* symmisc.c (free_symtab_block, free_symtab): Use xfree.
* symfile.c (reread_symbols, init_psymbol_list): Ditto.
* source.c (forget_cached_source_info, find_and_open_source): Ditto.
* somread.c (som_symfile_finish): Ditto.
* objfiles.c (allocate_objfile, free_objfile):
* nlmread.c (nlm_symfile_finish): Ditto.
* hpread.c (hpread_symfile_finish): Ditto.
* elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
* dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
* coffread.c (coff_symfile_finish): Ditto.
2004-08-10 21:52:05 +00:00
Andrew Cagney
aa2ee5f640
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xmcalloc): Delete declaration.
* utils.c (xmcalloc): Delete.
(xcalloc): Inline calls to xmcalloc and mcalloc.
* ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
xcalloc and xfree.
* symtab.c (create_demangled_names_hash): Ditto.
2004-08-10 21:16:13 +00:00
Andrew Cagney
0efffb96a9
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xmrealloc): Delete.
* utils.c (xmrealloc): Delete.
(xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
* symmisc.c (extend_psymbol_list): Use xrealloc.
* source.c (find_source_lines): Ditto.
* hpread.c (hpread_lookup_type): Ditto.
* dbxread.c (add_bincl_to_list): Ditto.
2004-08-10 20:03:32 +00:00
Andrew Cagney
7936743b08
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* utils.c (xmmalloc): Delete.
(xmalloc): Inline xmmalloc and mmalloc calls.
(msavestring): Use xmalloc.
* defs.h (xmmalloc): Delete declaration.
* xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
xmmalloc.
* symmisc.c (extend_psymbol_list): Ditto.
* symfile.c (init_psymbol_list): Ditto.
* source.c (find_source_lines): Ditto.
* hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
* coffread.c (coff_symfile_init): Ditto.
2004-08-10 19:37:47 +00:00
David Carlton
252ab81483
2004-08-10 David Carlton <carlton@bactrian.org>
...
* MAINTAINERS: Remove David Carlton from c++ testsuite
maintainers.
2004-08-10 16:36:15 +00:00
Jerome Guitton
8f5ba92b7b
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
...
print a line feed before the prompt.
2004-08-10 16:09:54 +00:00
Mark Kettenis
21749010c8
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
2004-08-10 16:05:38 +00:00
Joel Brobecker
1f011ce276
General cleanup of the AIX xm include file:
...
* config/xm-aix4.h (fd_set): Remove undefine.
Remove include of <sys/select.h>.
(HAVE_TERMIO): Remove define.
(USG): Likewise.
(NULL): Remove redefine.
(alloca): Remove #pragma.
(vfork): Remove define.
(termdef): Remove.
(SIGWINCH_HANDLER): Remove.
(SIGWINCH_HANDLER_BODY): Remove.
2004-08-10 05:42:22 +00:00
Mark Kettenis
cf4e76924c
* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
...
GDB_OSABI_OPENBSD_ELF.
2004-08-09 21:20:28 +00:00
Mark Kettenis
ac5754fafa
* bsd-kvm.c: Check for nlist.h before including it.
2004-08-09 21:10:20 +00:00
Mark Kettenis
bbe06c740e
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
...
sigcontext' offset consistency checks for ancient BSD.
2004-08-09 20:40:14 +00:00
Mark Kettenis
3aa7b3b329
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
2004-08-09 19:29:27 +00:00
Mark Kettenis
086ec9ebe9
* configure.in: Check for <sys/types.h>. Check return and
...
argument types of ptrace.
* configure, config.in: Regenerate.
2004-08-09 19:20:13 +00:00
Jim Blandy
09991fa0ee
* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
...
rs6000_register_sim_regno): Doc fixes.
2004-08-09 18:43:21 +00:00
Joel Brobecker
fed7ba43e0
* mips-tdep.c: Include "floatformat.h".
...
(n32n64_floatformat_always_valid): New function.
(floatformat_n32n64_long_double_big): New constant.
(mips_gdbarch_init): Set size and format of long double
for N32 and N64 ABIs.
* Makefile.in (mips-tdep.o): Update dependencies.
2004-08-09 05:45:20 +00:00
Andrew Cagney
2f9b146ed8
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to
print. Improve script's error messages.
* gdbarch.h: Re-generate.
2004-08-08 20:50:57 +00:00
Andrew Cagney
456fcf94f7
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (pformat): New function.
(float_format, double_format, long_double_format): List with bit
members. Use pformat when printing.
* gdbarch.c, gdbarch.h: Re-generate.
2004-08-08 19:49:43 +00:00
Nathan J. Williams
69e9e646da
* ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
...
"gdbcore.h", "regcache.h", and "bsd-kvm.h".
(ppcnbsd_supply_pcb): New function.
(_initialize_ppcnbsd_nat): New prototype and function.
* config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (ppcnbsd-nat.o): Update dependencies.
2004-08-08 19:27:10 +00:00
Andrew Cagney
5ef2d0aac2
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
BE/LE floating-point types.
* gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill): Declare.
* doublest.c (_initialize_doublest, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Add tables
of LE/BE floatformats.
* doublest.h: (struct floatformat, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Declare.
2004-08-08 17:18:16 +00:00
Mark Kettenis
ecac404d3f
* i386gnu-nat.c (gnu_store_registers): Fix typo.
2004-08-08 15:27:56 +00:00
Mark Kettenis
9b8607ced1
* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
...
instead of regcache_raw_supply when storing the registers.
2004-08-08 15:03:13 +00:00
Mark Kettenis
f6052080a0
* i386gnu-nat.c: Update copyright year.
...
(gnu_store_registers): Don't use deprecated_registers and
deprecated_registers_valid. Use regcache_valid_p and
regcache_raw_supply instead.
2004-08-08 12:50:37 +00:00
Mark Kettenis
1777782384
* vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
...
frame_pc_unwind.
2004-08-08 10:38:29 +00:00
Mark Kettenis
5240ceac28
* procfs.c (procfs_pid_to_str): Remove redundant and unused
...
variables. Incapitalized "process".
2004-08-08 01:00:55 +00:00
Mark Kettenis
5c7f2947f0
* configure.in: Add cursesX to the list of possible curses libs.
...
Add cursesX.h to the list of possible curses headers.
* configure, config.in: Regenerate.
2004-08-07 22:12:08 +00:00
Nathan J. Williams
da7d81e386
* configure.in: Test for struct lwp in <sys/lwp.h>
...
* bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
the offset of l_addr in struct lwp.
2004-08-07 21:52:15 +00:00
Nathan J. Williams
7f245d65f7
* bsd-kvm.c: Include "gdbcore.h"
...
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-07 21:22:41 +00:00
Andrew Cagney
70bd8e24cc
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (build_flt, build_complex): New functions.
(gdbtypes_post_init): Use.
2004-08-07 21:03:33 +00:00
Andrew Cagney
9b0dea39fa
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-07 20:06:28 +00:00
Andrew Cagney
5cf7abace1
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
through to builtin_type_uint128.
2004-08-07 19:53:06 +00:00
Andrew Cagney
64d2b26d0a
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-07 19:45:45 +00:00
Andrew Cagney
7ad6570da5
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
builtin_uint128.
* gdbtypes.c (gdbtypes_post_init): Update.
(build_gdbtypes): Move initialization of builtin_type_int0
through to builtin_type_uint128 from here ...
(_initialize_gdbtypes): ... to here.
* d10v-tdep.c (d10v_register_type): Update.
2004-08-07 19:25:58 +00:00
Andrew Cagney
47b3f45632
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* doublest.c: Update copyright.
(floatformat_from_length): Call error when floatformat is NULL.
(extract_floating_by_length): Remove NULL fmt check.
(store_floating_by_length): Ditto.
2004-08-07 17:10:33 +00:00
Andrew Cagney
0a8146bf61
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* regcache.c (regcache_raw_read): For the moment, #ifdef assert
that the register is valid.
2004-08-07 16:33:54 +00:00
Mark Kettenis
8e6bed0513
* i386-linux-tdep.c (i386_linux_sigtramp_start)
...
(i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
struct frame_info *. Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
changed signature of i386_linux_sigtramp_start and
i386_linux_rt_sigtramp_start.
2004-08-06 20:58:28 +00:00
Mark Kettenis
24f9f5e353
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
...
CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory
instead of deprecated_read_memory_nobpt.
(i386nbsd_sigtramp_p): Adjust for changed signature of
i386nbsd_sigtramp_offset.
2004-08-06 20:54:16 +00:00
Mark Kettenis
c822af0c70
* i386obsd-tdep.c (i386obsd_sigtramp_p): Use
...
safe_frame_unwind_memory instead of target_read_memory.
2004-08-06 20:51:01 +00:00
Mark Kettenis
c0ccb908a0
* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
...
!NO_SYS_FILE.
[KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
[KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
(_initialize_kernel_u_addr): Remove prototype and function.
* infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
!NO_SYS_FILE.
* xcoffread.c: Likewise.
2004-08-06 20:47:25 +00:00
Mark Kettenis
b9e1c0d643
* vax-nat.c: New file.
...
* vaxbsd-nat.c: Tweak comment.
* Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and
vaxnbsd-tdep.c.
(vax-nat.o): New dependency.
* configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax.
(vax-*-ultrix2*): Remove.
* config/vax/vax.mh: New file.
* config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration.
(KERNEL_U_ADDR): Define as vax_kernel_u_addr.
(vax_register_u_addr): New prototype.
(REGISTER_U_ADDR): Define using vax_register_u_addr.
* config/vax/vaxult2.mh: Remove file.
* config/vax/vaxult.mh: Remove file.
* config/vax/vaxbsd.mh: Remove file.
* config/vax/vax.mt (TM_FILE): Remove.
* config/vax/tm-vaxbsd.h: Remove file.
2004-08-06 19:14:44 +00:00
Joel Brobecker
9ad7bec7fd
* aix-thread.c (get_signaled_thread): New function.
...
(iter_trap): Delete, no longer used.
(iter_tid): New function.
(pd_update): Find the thread that received the SIGTRAP signal
by first locating the kernel thread, and then finding its
associated thread.
2004-08-06 16:33:17 +00:00
Ulrich Weigand
bf0d233ddd
* lin-lwp.c (child_wait): Continue inferior after processing
...
PTRACE_EVENT_CLONE event.
2004-08-06 13:42:05 +00:00
Nathanael Nerode
d0f853e133
* MAINTAINERS: Add self to Write-After-Approval.
2004-08-05 23:35:14 +00:00
Jeff Johnston
38e400fa25
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
...
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
2004-08-05 20:37:56 +00:00
Jeff Johnston
ab14aeb0f5
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
...
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
2
2004-08-05 20:11:18 +00:00
Andrew Cagney
c8f3ca4669
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* config/xm-sysv4.h: Delete file.
* config/mips/xm-irix5.h: Delete file.
* config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
* config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
* config/ia64/xm-aix.h: Delete file.
* config/ia64/aix.mh (XM_FILE): Delete.
* config/pa/xm-hppah.h: Delete file.
* config/pa/hpux11w.mh (XM_FILE): Delete.
* config/pa/hpux11.mh (XM_FILE): Delete.
* config/pa/hpux1020.mh (XM_FILE): Delete.
* config/pa/hppahpux.mh (XM_FILE): Delete.
2004-08-05 19:25:49 +00:00
Andrew Cagney
5f7daaff1f
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* config/alpha/xm-alphalinux.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
* config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
* config/alpha/xm-alphaosf.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
* config/alpha/alpha-osf3.mh (XM_FILE): Delete.
* config/alpha/alpha-osf2.mh (XM_FILE): Delete.
* config/alpha/alpha-osf1.mh (XM_FILE): Delete.
2004-08-05 18:18:17 +00:00
Andrew Cagney
69babf9523
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* config/i386/xm-i386v.h: Delete file.
* config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/xm-i386sco.h: Delete file.
* config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
* config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
* config/i386/xm-i386v4.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
* config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
* config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
2004-08-05 15:23:53 +00:00
Andrew Cagney
6f009c8ac5
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* config/vax/xm-vax.h: Delete file.
* Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
* config/vax/xm-vaxult2.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
* config/vax/vaxult2.mh (XM_FILE): Delete.
* config/vax/xm-vaxult.h: Delete file.
* config/vax/vaxult.mh (XM_FILE): Delete.
* config/vax/xm-vaxbsd.h: Delete file.
* config/vax/vaxbsd.mh (XM_FILE): Delete.
2004-08-05 14:34:17 +00:00
Andrew Cagney
9c8dbfa937
2004-08-05 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
* inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
* frame.h: Delete deprecated_read_fp from comments.
* arch-utils.c (deprecated_init_frame_pc_default): Delete.
* arch-utils.h (deprecated_init_frame_pc_default): Delete.
Index: doc/ChangeLog
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to deprecated_read_fp.
2004-08-05 14:12:40 +00:00
Mark Kettenis
9c8e3411a9
* i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
...
trampoline in OpenBSD 3.5-current.
2004-08-04 21:07:42 +00:00
Mark Kettenis
b87bc0d80e
* i387-tdep.c (i387_supply_fsave): Provide summy values for the
...
SSE registers.
2004-08-04 20:57:29 +00:00
Mark Kettenis
84367a3eea
* Makefile.in: Remove embedded page breaks.
2004-08-04 20:43:14 +00:00
Jim Blandy
7ab3286fbe
* regcache.c (regcache_raw_read): Assert that, after calling
...
target_fetch_registers, the register we're reading is cached.
2004-08-04 17:50:55 +00:00
Jim Blandy
870d65d5f6
Add missing function name to ChangeLog entry.
2004-08-04 17:47:40 +00:00
Jim Blandy
a44bddec71
* ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
...
a call to 'internal_error', with a more helpful error message.
* rs6000-tdep.c (e500_pseudo_register_read,
e500_pseudo_register_write): Same.
2004-08-04 17:45:30 +00:00
Andrew Cagney
3512411318
2004-08-04 Andrew Cagney <cagney@gnu.org>
...
* Makefile.in: Update dependencies.
2004-08-04 17:39:22 +00:00
Jim Blandy
6ced10dd55
Change the layout of the PowerPC E500 raw register cache to allow
...
the lower 32-bit halves of the GPRS to be their own raw registers,
not pseudoregisters.
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
add ppc_ev0_upper_regnum flag.
* rs6000-tdep.c: #include "reggroups.h".
(spe_register_p): Recognize the ev upper half registers as SPE
registers.
(init_sim_regno_table): Build gdb->sim mappings for the upper-half
registers.
(e500_move_ev_register): New function.
(e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
vector registers are the pseudo-registers now, formed by splicing
together the gprs and the upper-half registers.
(e500_register_reggroup_p): New function.
(P): Macro deleted.
(P8, A4): New macro.
(PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
(PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
macros.
(registers_e500): Rearrange register set so that the raw register
set contains 32-bit GPRs and upper-half registers, and the SPE
vector registers become pseudo-registers.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
it has been deleted. Initialize ppc_ev0_upper_regnum. Many other
register numbers are now the same for the E500 as they are for
other PowerPC variants. Register e500_register_reggroup_p as the
register group function for the E500.
* Makefile.in (rs6000-tdep.o): Update dependencies.
Adapt PPC E500 native support to the new raw regcache layout.
* ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
(read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
(fetch_spe_register, store_spe_register): Handle fetching/storing
all the SPE registers at once, if regno == -1. These now take
over the job of fetch_spe_registers and store_spe_registers.
(fetch_spe_registers, store_spe_registers): Deleted.
(fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
unconditionally; they're always raw. Fetch/store SPE upper half
registers, if present, instead of ev registers.
(fetch_register, store_register): Remove sanity checks: gprs are
never pseudo-registers now, so we never need to even mention any
registers that are ever pseudoregisters.
2004-08-04 17:17:55 +00:00
Jim Blandy
9f64376872
gdb/ChangeLog:
...
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
* rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
(set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
New functions.
(rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
init_sim_regno_table.
* Makefile.in (gdb_sim_ppc_h): New variable.
(rs6000-tdep.o): Update dependencies.
include/gdb/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
* sim-ppc.h: New file.
sim/ppc/ChangeLog:
2004-07-20 Jim Blandy <jimb@redhat.com>
Use a fixed register numbering when communicating with the PowerPC
simulator.
* sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
include GDB's "defs.h".
(gdb_register_name_table): New variable.
(gdb_register_name_table_size): New enum constant.
(gdb_register_name): New function.
(sim_fetch_register, sim_store_register): Use gdb_register_name,
instead of calling gdbarch_register_name.
* Makefile.in (GDB_SIM_PPC_H): New variable.
(DEFS_H): Delete variable.
(sim_calls.o): Update dependencies.
2004-08-04 17:04:36 +00:00
Andrew Cagney
1d94326ff6
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* cris-tdep.c (cris_register_size): Restore function, still used
locally.
2004-08-03 03:58:49 +00:00
Andrew Cagney
331ae7edef
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_target_read_fp)
(deprecated_frame_locals_address, deprecated_frame_args_address)
(deprecated_frame_chain_valid, deprecated_frame_chain)
(deprecated_init_extra_frame_info, deprecated_pop_frame)
(deprecated_frame_init_saved_regs, deprecated_get_saved_register)
(deprecated_do_registers_info, deprecated_init_frame_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp): Do not call
DEPRECATED_TARGET_READ_FP_P.
* infcmd.c (default_print_registers_info): Do not call
DEPRECATED_DO_REGISTERS_INFO.
* frame-base.c (default_frame_locals_address): Do not call
DEPRECATED_FRAME_LOCALS_ADDRESS.
(default_frame_args_address): Do not call
DEPRECATED_FRAME_ARGS_ADDRESS.
2004-08-03 03:52:01 +00:00
Andrew Cagney
1e2279c81a
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_register_raw_size)
(deprecated_register_virtual_size:int): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* cris-tdep.c (cris_register_size): Delete.
(cris_gdbarch_init): Update.
* alpha-tdep.c (alpha_register_raw_size)
(alpha_register_virtual_size): Delete.
(alpha_gdbarch_init): Update.
2004-08-03 03:09:33 +00:00
Andrew Cagney
a90c06b44d
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_register_virtual_type)
(deprecated_save_dummy_frame_tos, deprecated_push_return_address)
(deprecated_dummy_write_sp): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
2004-08-03 02:37:40 +00:00
Andrew Cagney
f42accbe77
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_register_bytes): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_register_bytes): New function.
* regcache.h (deprecated_register_bytes): Declare.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* remote.c (init_remote_state): Update.
* remote-vx.c (vx_prepare_to_store): Update.
* remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
* irix5-nat.c (fetch_core_registers): Update.
* cris-tdep.c (cris_register_bytes_ok): Update.
* config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
2004-08-03 02:02:24 +00:00
Andrew Cagney
45c9dd4485
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache)
(mips_insn16_frame_this_id, mips_insn16_frame_prev_register)
(mips_insn16_frame_unwind, mips_insn16_frame_sniffer)
(mips_insn16_frame_base_address, mips_insn16_frame_base)
(mips_insn16_frame_base_sniffer, mips_insn32_frame_cache)
(mips_insn32_frame_this_id, mips_insn32_frame_prev_register)
(mips_insn32_frame_unwind, mips_insn32_frame_sniffer)
(mips_insn32_frame_base_address, mips_insn32_frame_base)
(mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix
with mips_insn16 and mips_insn32.
2004-08-03 01:12:43 +00:00
Andrew Cagney
3acba33923
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
* rs6000-tdep.c (rs6000_push_dummy_call)
(rs6000_extract_return_value): Use register_size.
* xstormy16-tdep.c (xstormy16_get_saved_register)
(xstormy16_extract_return_value): Ditto.
* valops.c (value_assign): Ditto.
* v850ice.c (v850ice_fetch_registers, v850ice_store_registers):
* v850-tdep.c (v850_extract_return_value): Ditto.
* tracepoint.c (collect_symbol): Ditto.
* target.c (debug_print_register): Ditto.
* stack.c (frame_info): Ditto.
* rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
* rom68k-rom.c (rom68k_supply_one_register): Ditto.
* remote.c (struct packet_reg, remote_wait, remote_async_wait)
(store_register_using_P): Ditto.
* remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
* regcache.c (deprecated_read_register_bytes)
(deprecated_write_register_bytes, read_register)
(write_register): Ditto.
* ppc-linux-nat.c (fetch_altivec_register, fetch_register)
(supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
* monitor.c (monitor_supply_register, monitor_fetch_register)
(monitor_store_register): Ditto.
* mn10300-tdep.c (mn10300_pop_frame_regular)
(mn10300_print_register): Ditto.
* mipsv4-nat.c (fill_fpregset): Ditto.
* mips-linux-tdep.c (supply_32bit_reg, fill_fpregset)
(mips64_fill_fpregset): Ditto.
* mi/mi-main.c (register_changed_p, get_register)
(mi_cmd_data_write_register_values): Ditto.
* lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
* irix5-nat.c (fill_gregset, fetch_core_registers):
* infrun.c (write_inferior_status_register): Ditto.
* infptrace.c (fetch_register, store_register): Ditto.
* infcmd.c (default_print_registers_info): Ditto.
* ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
* ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
* i386gnu-nat.c (gnu_store_registers, fill): Ditto.
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Ditto.
* hppah-nat.c (store_inferior_registers, fetch_register):
* findvar.c (value_from_register): Ditto.
* dve3900-rom.c (fetch_bitmapped_register):
* cris-tdep.c (cris_gdbarch_init): Ditto.
* alpha-tdep.h: Ditto.
* aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
2004-08-03 00:57:27 +00:00
Andrew Cagney
01e1877c5f
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and
DEPRECATED_REGISTER_RAW_SIZE from comments.
* regcache.c (init_regcache_descr, regcache_dump): Do not check or
use DEPRECATED_REGISTER_VIRTUAL_SIZE and
DEPRECATED_REGISTER_RAW_SIZE.
* findvar.c (value_of_register): Simplify by assuming that the
registers raw and virtual sizes are identical.
* regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in
comment.
* arch-utils.c (generic_register_size): Simplify by assuming
register_type.
2004-08-02 21:58:44 +00:00
Andrew Cagney
73f458fb31
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* regcache.c (legacy_read_register_gen, real_register)
(legacy_write_register_gen): Delete, not used.
2004-08-02 21:39:35 +00:00
Andrew Cagney
336a313165
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* regcache.c (struct regcache_descr): Delete legacy_p.
(init_legacy_regcache_descr): Delete function.
(init_regcache_descr): Delete call to init_legacy_regcache_descr.
Do not use deprecated register functions.
(regcache_raw_read, deprecated_write_register_gen):
(deprecated_read_register_gen, regcache_raw_write): Delete code
predicated on legacy_p.
(register_size): Delete check against register raw size.
2004-08-02 21:07:17 +00:00
Andrew Cagney
c1d546cdb7
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* cris-tdep.c (cris_register_type): Replace
cris_register_virtual_type.
(cris_gdbarch_init): Update, set register_type.
2004-08-02 20:59:47 +00:00
Andrew Cagney
48c2c0a6f3
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_frameless_function_invocation): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arm-tdep.c (arm_frameless_function_invocation): Delete.
(arm_gdbarch_init) Do not set frameless function invocation.
* frame.h (legacy_frameless_look_for_prologue): Delete declaration.
* blockframe.c (legacy_frameless_look_for_prologue): Delete function.
* frv-tdep.c (frv_frameless_function_invocation): Delete.
(frv_gdbarch_init): Do not set frameless function invocation.
* sh64-tdep.c (sh64_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* m32r-tdep.c (m32r_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
2004-08-02 19:44:40 +00:00
Andrew Cagney
474093a64e
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* blockframe.c (legacy_frame_chain_valid): Delete function.
2004-08-02 18:58:20 +00:00
Andrew Cagney
3c109c8b9c
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top
and pc. Update comments.
(pc_in_dummy_frame): Delete function.
(deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code,
use the "id".
(dummy_frame_push, dummy_frame_sniffer): Instead of call_lo,
call_hi, top and pc, use the id.
(fprint_dummy_frames): Do not print call_lo, call_hi, top and pc.
2004-08-02 18:52:03 +00:00
Andrew Cagney
96860204a5
2004-08-02 Andrew Cagney <cagney@gnu.org>
...
* dummy-frame.c: Include "gdb_string.h".
(generic_save_call_dummy_addr, generic_push_dummy_frame)
(generic_save_dummy_frame_tos): Delete.
(dummy_frame_push): New function, replaces above.
* dummy-frame.h: Update copyright.
(dummy_frame_push): Declare.
* frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame)
(generic_save_call_dummy_addr): Delete declarations.
* infcall.c: Include "dummy-frame.h".
(call_function_by_hand): Add locals caller_regcache,
caller_regcache_cleanup and dummy_id. Replace push_dummy_frame
with call to frame_save_as_regcache plus cleanup. Delete calls to
generic_save_call_dummy_addr and generic_save_dummy_frame_tos.
Move clear_proceed_status to just before the resume, add call to
dummy_frame_push (discard cleanup).
* Makefile.in (infcall.o): Add $(dummy_frame_h).
(dummy-frame.o): Add $(gdb_string_h).
2004-08-02 17:39:53 +00:00
Andrew Cagney
d67ec5db39
Index: ChangeLog
...
2004-08-01 Andrew Cagney <cagney@gnu.org>
* dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer.
* frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind.
* dummy-frame.c (find_dummy_frame): Delete.
(struct dummy_frame_cache, dummy_frame_sniffer)
(dummy_frame_prev_register, dummy_frame_this_id)
(dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy
frame unwinder using a dummy_frame_cache.
2004-08-02 16:07:31 +00:00
Andrew Cagney
a81dcb0537
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* frame.h (frame_save_as_regcache): Declare.
* frame.c (frame_save_as_regcache): New function.
(do_frame_read_register): Replace do_frame_unwind_register.
(frame_pop): Use frame_save_as_regcache.
* dummy-frame.c (generic_push_dummy_frame): Use
frame_save_as_regcache.
2004-08-02 03:36:24 +00:00
Joel Brobecker
aa495d1148
* dwarf2read.c (dwarf_decode_lines): Do not consider the current
...
file as included until we record the first line in the linetable.
2004-08-02 01:25:57 +00:00
Andrew Cagney
ff65ac781b
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* frame.h (deprecated_pop_dummy_frame)
(deprecated_read_register_dummy)
(deprecated_generic_find_dummy_frame): Delete.
* dummy-frame.c (deprecated_generic_find_dummy_frame)
(deprecated_read_register_dummy)
(deprecated_find_dummy_frame_regcache)
(discard_innermost_dummy)
(deprecated_pop_dummy_frame): Delete.
(dummy_frame_this_id): Simplify.
(struct dummy_frame): Delete "fp" and "sp".
(find_dummy_frame): Simplify.
(generic_push_dummy_frame): Do not set "fp" or "sp".
(fprint_dummy_frames): Do not print "fp" and "sp"
2004-08-01 23:13:41 +00:00
Mark Kettenis
37bdc87e5a
* i386-tdep.c (I386_MAX_INSN_LEN): New define.
...
(struct i386_insn): New structure.
(i386_match_insn): New function.
(i386_frame_setup_skip_insns): New variable.
(i386_analyze_frame_setup): Change to use i386_match_insn and the
array i386_frame_setup_insns of instructions that should be
skipped inside the frame setup sequence.
2004-08-01 21:55:44 +00:00
Andrew Cagney
5bc602c771
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* frame.h (deprecated_frame_xmalloc_with_cleanup)
(frame_saved_regs_zalloc, frame_extra_info_zalloc)
(get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
* stack.c (frame_info): Delete references to
DEPRECATED_FRAME_INIT_SAVED_REGS and
deprecated_get_frame_saved_regs.
* frame.c (struct frame_info): Delete saved_regs and extra_info.
(frame_pc_unwind): Do not use DEPRECATED_FRAME_SAVED_PC.
(frame_register): Do not use DEPRECATED_GET_SAVED_REGISTER.
(frame_unwind_register_signed)
(frame_unwind_register_unsigned)
(frame_unwind_unsigned_register): Use register_size.
(create_new_frame): Do not use DEPRECATED_INIT_EXTRA_FRAME_INFO.
(deprecated_frame_xmalloc_with_cleanup)
(frame_saved_regs_zalloc, frame_extra_info_zalloc)
(get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
2004-08-01 21:47:19 +00:00
Andrew Cagney
03d363a145
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init.
* config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o.
2004-08-01 21:38:03 +00:00
Andrew Cagney
8241eaa6e5
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* infcall.c (call_function_by_hand): Do not use
DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP,
DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP,
DEPRECATED_FP_REGNUM, DEPRECATED_STORE_STRUCT_RETURN, and
DEPRECATED_STACK_ALIGN.
2004-08-01 21:12:56 +00:00
Andrew Cagney
f00df8b789
2004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
...
Committed by Andrew Cagney.
* arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 .
2004-08-01 19:34:50 +00:00
Andrew Cagney
eec6393997
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (mips16_frame_cache)
(mips16_frame_this_id, mips16_frame_prev_register)
(mips16_frame_unwind, mips16_frame_sniffer)
(mips16_frame_base_address, mips16_frame_base)
(mips16_frame_base_sniffer, mips32_frame_cache)
(mips32_frame_this_id, mips32_frame_prev_register)
(mips32_frame_unwind, mips32_frame_sniffer)
(mips32_frame_base_address, mips32_frame_base)
(mips32_frame_base_sniffer): Clone the mdebug unwinder into
separate heuristic mips16 and mips32 unwinders.
(mips_stub_frame_cache, mips_stub_frame_this_id)
(mips_stub_frame_prev_register)
(mips_stub_frame_unwind, mips_stub_frame_sniffer)
(mips_stub_frame_base_address, mips_stub_frame_base)
(mips_stub_frame_base_sniffer): Add a simple stub unwinder.
(mips_mdebug_frame_base_sniffer, mips_mdebug_frame_sniffer): Only
match true mdebug frames.
(non_heuristic_proc_desc): Add forward declaration.
2004-08-01 18:47:58 +00:00
Andrew Cagney
83cbbf3ecb
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-irix6.h: Delete file.
* config/mips/tm-irix5.h: Delete file.
* config/mips/irix5.mt (TM_FILE): Set to tm-mips.h
* config/mips/irix6.mt (TM_FILE): Set to tm-mips.h
2004-08-01 14:43:56 +00:00
Andrew Cagney
22d41b37e0
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete.
* config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete.
* config/nm-gnu.h (NO_CORE_OPS): Delete.
* config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete.
* config/i386/nm-i386v4.h (LOSING_POLL): Delete.
* config/alpha/nm-osf2.h (LOSING_POLL): Delete.
* config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete.
* config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete.
* config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete.
* config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete.
* config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete.
(TARGET_SIGNAL_RAW_VALUES): Delete.
* config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete.
* config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT)
(TARGET_HW_WATCH_LIMIT): Delete.
* Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h.
* minimon.h: Delete file.
2004-08-01 14:37:02 +00:00
Andrew Cagney
e66299b3dd
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
* trad-frame.c (trad_frame_get_this_base)
(trad_frame_set_this_base, trad_frame_set_reg_realreg): New
functions.
* trad-frame.h (trad_frame_set_this_base)
(trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare.
2004-08-01 14:34:39 +00:00
Andrew Cagney
1f67027d6b
2004-07-31 Andrew Cagney <cagney@gnu.org>
...
* trad-frame.c (trad_frame_get_prev_register): Rename
trad_frame_get_prev_register.
* vax-tdep.c (vax_frame_prev_register): Update.
* trad-frame.h: Update.
* trad-frame.c (trad_frame_get_register): Update.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Update.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Update.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Update.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
Update.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Update.
* sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
Update.
* s390-tdep.c (s390_frame_prev_register)
(s390_stub_frame_prev_register)
(s390_sigtramp_frame_prev_register): Update.
* rs6000-tdep.c (rs6000_frame_prev_register): Update.
* ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
* mips-tdep.c (mips_mdebug_frame_prev_register): Update.
* m88k-tdep.c (m88k_frame_prev_register)
* m68hc11-tdep.c (m68hc11_frame_prev_register)
* m32r-tdep.c (m32r_frame_prev_register): Update.
* hppa-tdep.c (hppa_frame_prev_register_helper)
* frv-tdep.c (frv_frame_prev_register): Update.
* d10v-tdep.c (d10v_frame_prev_register): Update.
* cris-tdep.c (cris_frame_prev_register): Update.
* avr-tdep.c (avr_frame_prev_register): Update.
* arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Update.
2004-07-31 21:53:17 +00:00
Andrew Cagney
01fbbd974e
oops, fix tipo.
2004-07-31 21:48:30 +00:00
Andrew Cagney
c1bf6f6527
2004-07-31 Andrew Cagney <cagney@gnu.org>
...
* frame.h (legacy_saved_regs_unwind)
(legacy_frame_chain_valid, legacy_frame_p)
(enum frame_type): Delete UNKNOWN_FRAME.
* dummy-frame.c (dummy_frame_this_id):
* frame-unwind.c (frame_unwind_find_by_frame):
* frame.c (struct frame_info): Delete the field "type".
(legacy_saved_regs_prev_register, legacy_get_prev_frame)
(legacy_saved_regs_this_id, legacy_saved_regs_unwinder)
(legacy_saved_regs_unwind, legacy_frame_p)
(frame_type_from_pc): Delete.
(get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1)
(fprint_frame, create_new_frame, fprint_frame_type): Simplify.
2004-07-31 21:41:50 +00:00
Mark Kettenis
5a5effe17e
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Fix
...
indentation.
2004-07-31 20:42:29 +00:00
Mark Kettenis
d4fd50a664
* mips-nat.c: Remove file.
...
* Makefile.in (ALLDEPFILES): Remove mips-nat.c
(mips-nat.o): Remove dependency.
2004-07-31 19:36:32 +00:00
Mark Kettenis
2689df5aa9
* infptrace.c: Update copyright year.
...
(fetch_register): Pass NULL in regcache_raw_supply call instead of
explicitly setting the buffer to all zeroes.
2004-07-31 05:05:05 +00:00
Mark Kettenis
dc8566929c
* sparc64obsd-tdep.c (sparc64obsd_sigreturn_offset): New variable.
...
(sparc64obsd_pc_in_sigtramp): Reorganize to avoid goto.
2004-07-30 22:45:52 +00:00
Andrew Cagney
763910e08d
Mention 6.2 release.
2004-07-30 19:38:17 +00:00
Eli Zaretskii
0b66e38cea
* defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
...
* exec.c (exec_file_attach):
* nto-tdep.c (nto_find_and_open_solib):
* pa64solib.c (pa64_solib_sizeof_symbol_table):
* solib.c (solib_open):
* somsolib.c (som_solib_sizeof_symbol_table):
* source.c (is_regular_file, openp, open_source_file):
* symfile.c (symfile_bfd_open):
* wince.c (upload_to_device): Differentiate between the search for
binary and source files.
* gdb.texinfo (Source Path): Document the new behavior of
searching for the source files.
2004-07-30 19:23:54 +00:00
Andrew Cagney
be7d7357ef
2004-07-30 Andrew Cagney <cagney@gnu.org>
...
* complaints.c (_initialize_complaints): Pass NULL to
add_setshow_zinteger_cmd for help_doc.
* cli/cli-decode.c (add_setshow_cmd_full): Handle a NULL help_doc.
2004-07-30 17:55:47 +00:00
Andrew Cagney
ddc9cd0f63
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
Fix PR i18n/761.
* Makefile.in (.SUFFIXES): Add po .gmo, and .pox.
(.PHONY): Add all-po install-po, uninstall-po, clean-po,
$(PACKAGE).pot and update-po.
(all-po, .po.gmo, .po.pox, install-po, $(PACKAGE).pot)
(po/$(PACKAGE).pot, clean-po, uninstall-po, install-po)
(update-po): New rules.
(localedir): Define using autoconf.
(diststuff): Add $(PACKAGE).pot and $(CATALOGS)
(GDB_CFLAGS): Define LOCALEDIR using $(localedir).
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): Define.
* configure.in: Generate CATALOGS and LINGUAS from contents of
src/gdb/po/ directory. Set @localedir@ in Makefile.in.
* configure: Re-generate.
* po/gdbtext: New file
2004-07-30 14:30:08 +00:00
Jerome Guitton
e92f3704d6
* MAINTAINERS: Reorder Write After Approval list in alphabetical
...
order.
2004-07-30 12:33:49 +00:00
David Lecomber
b0f35d5835
2004-07-30 David Lecomber <dsl@sources.redhat.com>
...
* dwarf2read.c (read_file_scope): Set producer if attribute
present.
(struct dwarf2_cu): Added new member producer.
2004-07-30 12:22:27 +00:00
Jerome Guitton
40711ff156
Fix a couple of bogus email addresses in my Changelog entries.
2004-07-30 12:14:42 +00:00
Jerome Guitton
ce7d45220e
* inflow.c (kill_command): release file handles in BFD.
...
* exec.c (exec_file_attach): Ditto.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
2004-07-30 12:05:45 +00:00
Andrew Cagney
05ee07c766
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* PROBLEMS (mips-irix): Note that it is broken.
2004-07-29 22:30:31 +00:00
Andrew Cagney
e57b8d41d5
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ...
* config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here.
2004-07-29 21:36:58 +00:00
Andrew Cagney
d334389b5f
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/xm-nbsd.h: Delete file.
* config/arm/xm-nbsd.h: Delete file.
* config/i386/xm-nbsd.h: Delete file.
* config/ns32k/xm-nbsd.h: Delete file.
* config/ns32k/nbsdaout.mh (XM_FILE): Delete.
* config/i386/nbsdelf.mh (XM_FILE): Delete.
* config/i386/nbsdaout.mh (XM_FILE): Delete.
* config/arm/nbsdelf.mh (XM_FILE): Delete.
* config/arm/nbsdaout.mh (XM_FILE): Delete.
2004-07-29 21:24:56 +00:00
Andrew Cagney
e910f676f7
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
* config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
* config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
* config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
* config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
* config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
2004-07-29 20:53:27 +00:00
Andrew Cagney
6fa856b91f
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/powerpc/xm-linux.h: Delete empty file.
* config/powerpc/ppc64-linux.mh (XM_FILE): Delete.
* config/powerpc/linux.mh (XM_FILE): Delete.
* config/m68k/xm-linux.h: Delete empty file.
* config/m68k/linux.mh (XM_FILE): Delete.
* config/ia64/xm-linux.h: Delete empty file.
* config/ia64/linux.mh (XM_FILE): Delete.
* config/arm/xm-linux.h: Delete empty file.
* config/arm/linux.mh (XM_FILE): Delete.
2004-07-29 20:32:45 +00:00
Andrew Cagney
471ae5aee1
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.
2004-07-29 20:22:50 +00:00
Andrew Cagney
62eceb47dd
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/m68k/xm-m68k.h: Delete file.
* config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update
copyright.
(HOST_LONG_DOUBLE_FORMAT): Delete macro.
* config/pa/xm-linux.h: Delete empty file.
* config/pa/linux.mh (XM_FILE): Delete.
* config/i386/xm-i386.h: Delete empty file.
* config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include
"i386/xm-i386.h".
* config/i386/obsdaout.mh (XM_FILE): Delete.
* config/i386/obsd64.mh (XM_FILE): Delete.
* config/i386/fbsd64.mh (XM_FILE): Delete.
* config/i386/nto.mh (XM_FILE): Delete.
* config/i386/obsd.mh (XM_FILE): Delete.
* config/i386/linux64.mh (XM_FILE): Delete.
* config/i386/linux.mh (XM_FILE): Delete.
* config/i386/i386sol2.mh (XM_FILE): Delete.
* config/i386/i386gnu.mh (XM_FILE): Delete.
* config/i386/fbsd.mh (XM_FILE): Delete.
* config/i386/nbsd64.mh (XM_FILE): Delete.
2004-07-29 20:04:21 +00:00
Andrew Cagney
c35f4ffcad
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* config/pa/xm-linux.h: Do not include "floatformat.h".
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros.
* config/i386/xm-i386.h: Do not include "floatformat.h".
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros.
* doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros. Use
GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and
GDB_HOST_LONG_DOUBLE_FORMAT instead.
* configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT)
(GDB_HOST_LONG_DOUBLE_FORMAT): Define.
* configure, config.in: Regenerate.
* configure.host (gdb_host_float_format, gdb_host_double_format)
(gdb_host_long_double_format): Set according to the host.
2004-07-29 19:33:22 +00:00
Andrew Cagney
624a44a3c4
2004-07-29 Andrew Cagney <cagney@gnu.org>
...
* Makefile.in (CONFIG_CLEAN): Delete duplicate definition.
2004-07-29 15:13:05 +00:00
Andrew Cagney
0dea24683a
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* PROBLEMS: Mention threads/1650.
* NEWS: Mention the NPTL fix.
2004-07-28 19:53:39 +00:00
Andrew Cagney
b3f4233622
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (add_setshow_cmd): Delete function.
(add_setshow_cmd_full): Make static.
* command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
(add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
* cli/cli-decode.c (add_setshow_filename_cmd)
(add_setshow_string_cmd): New functions.
* nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters.
* mips-tdep.c (_initialize_mips_tdep): Update.
* m32r-rom.c (_initialize_m32r_rom): Update. Update copyright.
* cli/cli-logging.c (_initialize_cli_logging): Update.
* complaints.c (_initialize_complaints): Update.
* remote.c (_initialize_remote): Update.
2004-07-28 19:42:01 +00:00
Andrew Cagney
3b64bf9877
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (add_setshow_zinteger_cmd)
(add_setshow_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
print parameters. Make string parameters constant.
* command.h: Update. Update copyright.
* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
* observer.c (_initialize_observer): Ditto.
* frame.c (_initialize_frame): Ditto.
* complaints.c (_initialize_complaints): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* target.c (initialize_targets): Ditto.
* cli/cli-logging.c (_initialize_cli_logging): Ditto.
* infcall.c (_initialize_infcall): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* m32r-rom.c (_initialize_m32r_rom): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* d10v-tdep.c (_initialize_d10v_tdep): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
2004-07-28 17:26:27 +00:00
Andrew Cagney
54a5b07d66
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (lookup_primitive_typename): Delete function.
* gdbtypes.h (lookup_primitive_typename): Delete declaration.
* ada-lex.l: Use language_lookup_primitive_type_by_name.
* gdbtypes.c (lookup_typename): Ditto.
* f-exp.y (yylex): Ditto.
* c-exp.y (yylex): Ditto, eliminate assignment in "if".
2004-07-28 15:49:04 +00:00
Andrew Cagney
e9667a656b
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* scm-lang.c (c_builtin_types): Delete extern declaration.
(scm_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* jv-lang.c (java_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
c_builtin_types in comment.
* c-lang.h (struct language_arch_info): Declare opaque.
(c_language_arch_info): Declare.
(c_builtin_types): Delete declaration.
* c-lang.c (c_language_arch_info): Set string_char_type to
builtin_char, not builtin_true_char. Make global.
(c_builtin_types): Delete array.
(asm_language_defn, minimal_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
2004-07-28 15:18:08 +00:00
Andrew Cagney
685419e2ae
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Rename true_char to
builtin_true_char.
* gdbtypes.c (gdbtypes_post_init): Update.
* c-lang.c (arch_info): New function.
(enum c_primitive_types): New enum.
(c_language_defn): Instead of string_char_type and
primitive_type_vector set la_language_arch_info.
2004-07-28 14:32:19 +00:00
Andrew Cagney
5a44ea29ae
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* language.h (struct language_arch_info): Fix typo
s/primative/primitive/.
* gdbtypes.c (lookup_primitive_typename): Ditto.
* language.c (language_lookup_primitive_type_by_name)
(unknown_language_arch_info): Ditto.
2004-07-28 04:33:49 +00:00
Andrew Cagney
f290d38e06
2004-07-27 Andrew Cagney <cagney@gnu.org>
...
* defs.h (enum language): Add nr_languages.
* language.h (struct language_arch_info): Define.
(struct language_defn): Add la_language_arch_info.
(language_lookup_primative_type_by_name): Declare.
(language_string_char_type): Declare.
* language.c (_initialize_language, language_gdbarch_post_init)
(struct language_gdbarch, language_gdbarch_data): Implement
per-architecture language information.
(unknown_language_arch_info, language_string_char_type)
(language_lookup_primative_type_by_name): New functions.
(unknown_language_defn, auto_language_defn)
(local_language_defn): Set la_language_arch_info to
unknown_language_arch_info.
(unknown_builtin_types): Delete.
* gdbtypes.c (lookup_primitive_typename): Use
language_lookup_primative_type_by_name.
(create_string_type): Use language_string_char_type.
* values.c (value_from_string): Use language_string_char_type.
* scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
* p-lang.c (pascal_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.
2004-07-28 02:46:24 +00:00
Andrew Cagney
000177f0ad
2004-07-27 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Declare.
(builtin_type): Declare.
* d10v-tdep.c (d10v_register_type): Use builtin_type.
* gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
(gdbtypes_post_init): New function.
(builtin_type): New function.
2004-07-28 02:03:52 +00:00
Kazuhiro Inaoka
e22f895c47
2004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* remote-m32r-sdi.c: Fix breakpoint bug.
(send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
recv_char_data, recv_long_data): New functions to replace communication
sequences.
2004-07-27 01:00:42 +00:00
Michael Chastain
536517dd94
2004-07-26 Michael Chastain <mec.gnu@mindspring.com>
...
Document PR threads/1650.
* PROBLEMS (Threads): Document problem with many threads
2004-07-27 00:01:17 +00:00
Andrew Cagney
a0a44d18ab
Index: ChangeLog
...
2004-07-26 Andrew Cagney <cagney@gnu.org>
* gdb-mi.el: Move from here ...
* mi/gdb-mi.el: ... to here.
2004-07-26 21:52:34 +00:00
Andrew Cagney
7ac4ac0619
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
Problem reported by Ashley Pittman <ashley@quadrics.com>.
* main.c (captured_main): When in batch mode always detach.
2004-07-26 19:01:51 +00:00
Andrew Cagney
a1b461bf40
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
and h8300 as broken.
* NEWS: END-OF-LIFE frame compatibility module.
* PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
specific comments.
2004-07-26 18:30:19 +00:00
Andrew Cagney
cb1a6d5f51
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
* xcoffsolib.c (_initialize_xcoffsolib): Update.
* wince.c (_initialize_wince): Update.
* win32-nat.c (_initialize_win32_nat): Update.
* varobj.c (_initialize_varobj): Update.
* valops.c (_initialize_valops): Update.
* utils.c (initialize_utils, initialize_utils): Update.
* tui/tui-win.c (_initialize_tui_win): Update.
* top.c (init_main): Update.
* symfile.c (_initialize_symfile): Update.
* source.c (_initialize_source): Update.
* somsolib.c (_initialize_som_solib): Update.
* solib.c (_initialize_solib): Update.
* solib-frv.c (_initialize_frv_solib): Update.
* serial.c (_initialize_serial): Update.
* ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
* remote.c (_initialize_remote, _initialize_remote): Update.
* remote-vx.c (_initialize_vx): Update.
* remote-utils.c (_initialize_sr_support): Update.
* remote-sds.c (_initialize_remote_sds): Update.
* remote-mips.c (_initialize_remote_mips): Update.
* remote-e7000.c (_initialize_remote_e7000): Update.
* proc-api.c (_initialize_proc_api): Update.
* printcmd.c: Update.
* parse.c (_initialize_parse): Update.
* pa64solib.c (_initialize_pa64_solib): Update.
* p-valprint.c (_initialize_pascal_valprint): Update.
* monitor.c (_initialize_remote_monitors): Update.
* mips-tdep.c (_initialize_mips_tdep): Update.
* mcore-tdep.c (_initialize_mcore_tdep): Update.
* maint.c (_initialize_maint_cmds): Update.
* lin-lwp.c (_initialize_lin_lwp): Update.
* language.c (_initialize_language): Update.
* kod.c (_initialize_kod): Update.
* infrun.c (set_schedlock_func, _initialize_infrun): Update.
* i386-tdep.c (_initialize_i386_tdep): Update.
* gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
* gdbarch.sh: Update.
* gdbarch.c: Re-generate.
* gdb-events.sh: Update.
* gdb-events.c: Re-generate.
* frame.c (_initialize_frame): Update.
* exec.c: Update.
* demangle.c (_initialize_demangler): Update.
* dcache.c (_initialize_dcache): Update.
* cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
* cp-valprint.c (_initialize_cp_valprint): Update.
* corefile.c (_initialize_core): Update.
* command.h: Update.
* cli/cli-decode.h: Update.
* cli/cli-cmds.c (init_cli_cmds): Update.
* charset.c (_initialize_charset): Update.
* breakpoint.c (_initialize_breakpoint): Update.
* arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
* alpha-tdep.c (_initialize_alpha_tdep): Update.
* aix-thread.c (_initialize_aix_thread): Update.
2004-07-26 14:53:06 +00:00
Mark Kettenis
b463213160
Partial fix for PR backtrace/1718.
...
* i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
that GCC migrates into the prolugue. Don't handle any
instructions that clobber %ebx.
2004-07-24 12:59:52 +00:00
Andrew Cagney
822c97322c
2004-07-23 Andrew Cagney <cagney@gnu.org>
...
Use regcache_raw_collect instead of regcache_collect.
* regcache.h (regcache_collect): Delete declaration.
* regcache.c (regcache_colect): Delete function.
* win32-nat.c (do_child_store_inferior_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_fill_reg): Update.
* rs6000-nat.c (store_register): Update.
* remote.c (store_register_using_P, remote_store_registers): Update.
* ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
* ppc-linux-nat.c (store_altivec_register, store_spe_register)
(fill_vrregset, store_spe_registers, fill_gregset)
(fill_gregset): Update.
* nto-procfs.c (procfs_store_registers): Update.
* mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
* mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
* m68klinux-nat.c (store_register, fill_gregset): Update.
* m68k-tdep.c (fill_gregset): Update.
* infptrace.c (store_register): Update.
* i386-nto-tdep.c (i386nto_regset_fill): Update.
* i386-linux-nat.c (store_register, fill_gregset): Update.
* hppa-linux-nat.c (fill_gregset): Update.
* go32-nat.c (store_register): Update.
* armnbsd-nat.c (store_register, store_regs, store_fp_register)
(store_fp_regs): Update.
* arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
(store_nwfpe_extended, store_fpregister, store_fpregs)
(store_register, store_regs, fill_gregset, fill_fpregset): Update.
* alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
* aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
(store_regs_user_thread, store_regs_kernel_thread): Update.
2004-07-24 01:00:21 +00:00
Mark Kettenis
32b05c072b
* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
...
(decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
encoding.
(dwarf2_build_frame_info): Adjust for removal of `addr_size'
member of `struct comp_unit'.
2004-07-23 22:05:20 +00:00
Andrew Cagney
8567c30fd0
2004-07-23 Andrew Cagney <cagney@gnu.org>
...
* infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
2004-07-23 19:37:21 +00:00
Martin Hunt
f6da8dd80e
2004-07-23 Martin Hunt <hunt@redhat.com>
...
Kevin Buettner <kevinb@redhat.com>
* dwarf2-frame.c (execute_cfa_program): Fix typo in which the
alignment was being added to the offset instead of multiplied.
2004-07-23 17:46:03 +00:00
Mark Kettenis
24f033e800
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
...
changed signal trampoline in OpenBSD 3.5-current.
2004-07-23 13:43:36 +00:00
Mark Kettenis
90f3cecd6a
* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
...
<machine/pcb.h> and "bsd-kvm.h".
(sparc64nbsd_supply_pcb): New function.
(_initialize_sparc64nbsd_nat): Renamed from
_initialize_sparcnbsd_nat. Enable libkvm interface.
* Makefile.in (sparc64nbsd-nat.o): Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.
2004-07-23 10:33:37 +00:00
Mark Kettenis
a4954a62fc
* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
2004-07-23 00:15:11 +00:00
Mark Kettenis
bd921882b7
* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
2004-07-22 23:07:37 +00:00
Andrew Cagney
23a6d36940
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
Use regcache_raw_supply instead of supply_register.
* regcache.h (supply_register): Delete declaration.
* regcache.c (supply_register): Delete function.
* wince.c (do_child_fetch_inferior_registers): Update.
* win32-nat.c (do_child_fetch_inferior_registers)
(fetch_elf_core_registers): Update.
* v850ice.c (v850ice_fetch_registers): Update.
* thread-db.c (thread_db_store_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_supply_reg): Update.
* rs6000-nat.c (fetch_register): Update.
* rom68k-rom.c (rom68k_supply_one_register): Update.
* remote.c (remote_wait, remote_async_wait): Update.
* remote-st.c (get_hex_regs): Update.
* remote-sim.c (gdbsim_fetch_register): Update.
* remote-sds.c (sds_fetch_registers): Update.
* remote-rdp.c (remote_rdp_fetch_register): Update.
* remote-rdi.c (arm_rdi_fetch_registers): Update.
* remote-mips.c (mips_wait, mips_fetch_registers): Update.
* remote-m32r-sdi.c (m32r_fetch_register): Update.
* remote-hms.c (init_hms_cmds): Update.
* remote-est.c (init_est_cmds): Update.
* remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
(e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, supply_vrregset)
(fetch_spe_registers): Update.
* ppc-bdm.c (bdm_ppc_fetch_registers): Update.
* monitor.c (monitor_supply_register): Update.
* mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg)
(mipsnbsd_supply_fpreg): Update.
* mips-nat.c (fetch_inferior_registers)
(fetch_core_registers): Update.
* mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
(supply_fpregset, mips64_supply_gregset)
(mips64_supply_fpregset): Update.
* m68klinux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* m68k-tdep.c (supply_gregset, supply_fpregset): Update.
* m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
* lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
* irix5-nat.c (supply_gregset, supply_fpregset): Update.
* infptrace.c (fetch_register): Update.
* ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
* ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_gregset)
(gnu_fetch_registers, gnu_store_registers): Update.
* i386-nto-tdep.c (i386nto_supply_gregset): Update.
* i386-linux-nat.c (fetch_register, supply_gregset)
(dummy_sse_values): Update.
* hpux-thread.c (hpux_thread_fetch_registers): Update.
* hppah-nat.c (fetch_register): Update.
* hppa-linux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* go32-nat.c (fetch_register): Update.
* dve3900-rom.c (fetch_bitmapped_register)
(_initialize_r3900_rom): Update.
* cris-tdep.c (supply_gregset): Update.
* abug-rom.c (init_abug_cmds): Update.
* core-aout.c (fetch_core_registers): Update.
* armnbsd-nat.c (supply_gregset, supply_fparegset)
(fetch_register, fetch_fp_register): Update.
* arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
(fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
* alphanbsd-tdep.c (fetch_core_registers): Update.
* alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
* alpha-nat.c (fetch_osf_core_registers)
(fetch_osf_core_registers, fetch_osf_core_registers): Update.
* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
(supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
2004-07-22 01:31:49 +00:00
Andrew Cagney
73cc75f3b2
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.
2004-07-21 16:17:56 +00:00
Andrew Cagney
a53c66de31
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
(handle_inferior_event): Wrap call to deprecated
IGNORE_HELPER_CALL in #ifdef.
* config/mips/tm-nbsd.h: Update.
2004-07-21 14:23:37 +00:00
Jim Blandy
412b306056
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
...
bfd_mach_ppc has no segment registers.
2004-07-20 22:09:53 +00:00
Jim Blandy
13ac140c31
Include PowerPC SPR numbers for special-purpose registers.
...
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.
2004-07-20 22:08:37 +00:00
Jim Blandy
708ff41185
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
...
replace references with expression used to initialize variable.
2004-07-20 22:06:05 +00:00
Andrew Cagney
1f602b35ff
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* breakpoint.c (deprecated_read_memory_nobpt): Rename
read_memory_nobpt.
* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
(s390_sigtramp_frame_sniffer): Update.
* mn10300-tdep.c (mn10300_analyze_prologue): Update.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips32_fetch_instruction): Update.
* mcore-tdep.c (get_insn): Update.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Update.
* i386-linux-nat.c (child_resume): Update.
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
* hppa-linux-tdep.c (insns_match_pattern): Update.
* gdbcore.h: Update.
* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
* frame.c (safe_frame_unwind_memory): Update.
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
* alpha-tdep.c (alpha_read_insn): Update.
2004-07-20 19:45:07 +00:00
Andrew Cagney
2cd8546d13
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
containing both bytes and mask. Add "frame_type".
* tramp-frame.c (tramp_frame_start): Update.
(tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_o32_sigframe)
(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
(mips_linux_n64_rt_sigframe): Update. Make "static const".
* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
2004-07-20 15:11:37 +00:00
Eli Zaretskii
f928dd6282
Add remapping for bfd/elf32-cr*.c,
...
bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
sim/testsuite/sim/mips/hilo-hazard-[123].s, and
sim/testsuite/sim/mips/fpu64-ps-sb1.s.
2004-07-19 18:42:39 +00:00
Andrew Cagney
860660cb5b
GRR, commit was lost.
2004-07-18 22:29:40 +00:00
Andrew Cagney
8c266f54ea
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* README: Update to 6.2.
2004-07-17 14:46:39 +00:00
Andrew Cagney
a552edd94e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* utils.c (xvasprintf): Call xstrvprintf.
2004-07-17 14:42:01 +00:00
Andrew Cagney
c4a172b506
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* parse.c: Update copyright.
(null_post_parser): Eliminate ARGSUSED.
2004-07-17 14:27:55 +00:00
Andrew Cagney
da745b36fd
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
* tui/tui-win.c (tui_get_cmd_list): Ditto.
* symfile-mem.c (_initialize_symfile_mem): Ditto.
2004-07-17 14:24:07 +00:00
Andrew Cagney
9cbc6ef04e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
* ppc-linux-nat.c: Use "Linux kernel".
* hppa-linux-tdep.c: Use GNU/Linux.
* hppa-linux-nat.c: Use GNU/Linux.
* dwarfread.c: Add [sic] to use of Linux.
2004-07-17 14:15:30 +00:00
Andrew Cagney
1b89295f2f
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* hppa-linux-nat.c: Do not include <string.h>.
(supply_fpregset): Remove "register" attribute.
2004-07-17 13:58:56 +00:00
Andrew Cagney
d5c560f7de
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* solib-frv.c (fetch_loadmap): Use xfree, not free.
2004-07-17 13:53:48 +00:00
Mark Kettenis
b1d19a627e
* configure.in: Define _MSE_INT_H on Solaris 9 too.
...
* configure, config.in: Regenerated.
2004-07-17 11:24:26 +00:00
Mark Kettenis
7ddd770914
* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
...
"bsd-kvm.h".
(vaxbsd_supply_pcb): New function.
(_initialize_vaxbsd_nat): New prototype and function.
* config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
solib-sunos.o.
(LOADLIBES): New variable.
* config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (vaxbsd-nat.o): Update dependencies.
2004-07-17 11:03:49 +00:00
Andrew Cagney
2c07db7ac0
Index: ChangeLog
...
2004-07-16 Andrew Cagney <cagney@gnu.org>
* defs.h (event_loop_p): Replace variable declaration with macro,
always 1.
* main.c (captured_main): Delete options "-async" and "-noasync".
(event_loop_p): Delete variable.
* NEWS: Mention that "-async" and "-noasync" were removed.
Index: doc/ChangeLog
2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Mode Options): Delete documentation on "-async" and
"-noasync".
2004-07-17 03:25:11 +00:00
Andrew Cagney
717eb1cfd8
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* remote-m32r-sdi.c: Re-indent.
2004-07-16 21:16:48 +00:00
Jim Blandy
5109a4386a
* ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
...
(ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
(ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
missing MPC823 SPRs.
(ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
incorrect. (This was corrected in GDB's register name tables on
2004-07-14.)
2004-07-16 20:54:29 +00:00
Jim Blandy
c101bc14b1
* rs6000-tdep.c (registers_602): Correct register name: "esassr"
...
should be "esasrr" ("ESA Save and Restore Register").
2004-07-16 20:53:06 +00:00
Andrew Cagney
7ce450bd0c
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
calls, no longer applicable. Update comments and rename parameter
"step_frame" to "return_frame".
2004-07-16 19:41:48 +00:00
Andrew Cagney
ca73dd9dc6
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* frame.c (fprint_field): New function.
(fprint_frame_id): Use fprint_field.
2004-07-16 19:00:12 +00:00
Joel Brobecker
31941f6dc6
* ada-lang.c (ada_language_defn): Remove commented out code.
2004-07-15 23:49:42 +00:00
Paul N. Hilfinger
8a2225b26e
Replace entry for 2004-06-02 with more detailed log entries.
...
Add missing notice that ada-tasks.c has been removed to 2004-07-09 entry.
2004-07-15 22:13:48 +00:00
Jim Blandy
f86a7158a9
* ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
...
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
2004-07-15 08:02:36 +00:00
Jim Blandy
29bb1356b5
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused.
2004-07-14 23:58:04 +00:00
Jim Blandy
cc98b5cc8a
* ppc-tdep.h (ppc_num_vrs): New enum constant.
2004-07-14 23:18:09 +00:00
Jim Blandy
8f088af792
* ppc-tdep.h (ppc_num_srs): New enum constant.
2004-07-14 23:15:30 +00:00
Jim Blandy
0ea0ec5f1d
* ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
...
(ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
(ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
(ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
(ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
(ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
(ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
(ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
(ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
(ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
(ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
(ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
(ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
(ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
(ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
(ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
(ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
(ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
(ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
(ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
(ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
(ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
(ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
(ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
(ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
(ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
(ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
(ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
(ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
(ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
(ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
(ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
(ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
(ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
(ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
(ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
(ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
(ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
(ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
special-purpose register numbers.
2004-07-14 23:13:13 +00:00
Jim Blandy
c24791eca1
* rs6000-tdep.c (registers_860): Correct register name. (No PPC
...
manual mentions 'md_twb', but many mention 'm_twb', and at that
point in the register list.)
2004-07-14 23:00:59 +00:00
Andrew Cagney
d833db3b34
2004-07-14 Andrew Cagney <cagney@gnu.org>
...
* utils.c (internal_warning_problem): Fix typo, "internal-warning"
instead of "internal-error".
2004-07-14 16:47:46 +00:00
Joel Brobecker
080228b217
* hppa-hpux-tdep.c: Fix a compilation failure due to a comment
...
that was inserted inside a comment.
2004-07-12 17:09:58 +00:00
Randolph Chung
c268433a1a
2004-07-10 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
function.
(hppa_hpux_push_dummy_code): New function.
(hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
Set find_global_pointer method.
2004-07-11 06:51:41 +00:00
Mark Kettenis
71009278ce
* NEWS: Mention BSD libkvm interface.
2004-07-10 21:24:01 +00:00
Michael Snyder
b2fa5097bf
2004-07-10 Michael Snyder <msnyder@redhat.com>
...
* symfile.c (generic_load): Comment typo.
* stack.c (get_selected_block): Ditto.
* regcache.c (regcache_cooked_read): Ditto.
* monitor.c (monitor_debug): Ditto.
* mips-tdep.c (mips_read_pc): Ditto.
* i386-linux-nat.c (ps_get_thread_area): Ditto.
* gdb_mbuild.sh: Ditto.
* gdbarch.sh: Ditto.
* gdbarch.h: Ditto.
2004-07-10 01:17:53 +00:00
Paul N. Hilfinger
c3e5cd34c6
Remove ARI problems:
...
* ada-exp.y (write_var_from_sym): Reformat to put operator at
beginning of line.
* ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
Add comment.
Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
(MIN_OF_SIZE): Rename min_of_size. Add comment.
(UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
(UMIN_OF_SIZE): Remove.
(max_of_type): New function to replace orphan macro in gdbtypes.h
(min_of_type): Ditto.
(discrete_type_high_bound): Use max_of_type.
(discrete_type_low_bound): Use min_of_type.
(possible_user_operator_p): Move operator to beginning of line.
(ada_is_variant_part): Ditto.
(ensure_lval): Rewrite to avoid deprecated operations.
(ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
rather than adding DEPRECATED_FUNCTION_START_OFFSET.
(ada_enum_name): Remove assignments in 'if' statements.
(build_ada_types): Add gdbarch parameter.
(_initialize_ada_language): Replace deprecated_register_gdbarch_swap
with gdbarch_data_register_post_init.
Use add_setshow_uinteger_cmd rather than add_set_cmd and
add_show_from_set.
* ada-valprint.c (inspect_it): Remove declaration.
(repeat_count_threshold): Remove declaration.
(ada_print_floating): Remove assignments in 'if' statements.
(print_str): Move operator to beginning of line.
2004-07-09 19:29:56 +00:00
Jim Blandy
61ce229a50
* rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
2004-07-08 23:43:47 +00:00
Bob Rossi
09bcec8017
Fix crash in symtab.c.
2004-07-08 11:18:27 +00:00
Jeff Johnston
31c27f7773
2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
...
* language.h (struct_language_defn): Add new function pointer:
la_class_name_from_physname. Also add new prototype for
language_class_name_from_physname.
* language.c (language_class_name_from_physname): New function.
(unk_lang_class_name): Ditto.
(unknown_language_defn, auto_language_defn): Change
to add unk_lang_class_name function pointer for
la_class_name_from_physname.
(local_language_defn): Ditto.
* dwarf2read.c (guess_structure_name): Change to call
language_class_name_from_physname.
(determine_class_name): Ditto.
* cp-support.c (class_name_from_physname): Renamed.
(cp_class_name_from_physname): New name of function.
* cp-support.h: Ditto.
* c-lang.c (c_language_defn): Change to add NULL
for class_name_from_physname function pointer.
(cplus_language_defn): Change to add cp_class_name_from_physname.
* jv-lang.c (java_class_name_physname): New function.
(java_find_last_component): New static routine.
(java_language_defn): Add java_class_name_from_physname pointer.
* ada-lang.c (ada_language_defn): Change to add NULL
for class_name_from_physname function pointer.
* f-lang.c (f_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
2004-07-06 19:29:31 +00:00
Andrew Cagney
ee28ca0fd6
2004-07-06 Andrew Cagney <cagney@gnu.org>
...
Patch from Bart Robinson.
* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
(O_LARGEFILE): Define to 0, if not defined.
2004-07-06 14:24:06 +00:00
Mark Kettenis
cb162ff6d2
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
...
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-07-03 15:14:48 +00:00
Mark Kettenis
fdb1bf9d27
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
2004-07-03 13:17:33 +00:00
Mark Kettenis
963c417494
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
...
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.
2004-07-03 13:11:39 +00:00
Mark Kettenis
533f1d8fc5
* osabi.c: Update copyright year.
...
(generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.
2004-07-02 21:27:17 +00:00
Joel Brobecker
6e0cdd28ec
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.
2004-07-02 21:09:45 +00:00
Michael Snyder
6780dcde86
2004-07-01 Michael Snyder <msnyder@redhat.com>
...
* win32-nat.c (core_dll_symbols_add): Re-indent a small section
that seems to have gotten whacked out of line.
2004-07-01 21:34:02 +00:00
Mark Kettenis
67bebe794b
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
...
code.
2004-07-01 20:25:54 +00:00
Paul N. Hilfinger
0b5d887791
* ada-lang.c (decode_packed_array): Minor change to comment.
...
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test. Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
2004-07-01 10:30:57 +00:00
Paul N. Hilfinger
19c1ef65d7
Address complaints from gdb_ari.sh:
...
* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.
* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.
2004-07-01 10:11:11 +00:00
Mark Kettenis
d81cbc94d2
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
...
dead code.
2004-06-30 19:44:22 +00:00
Mark Kettenis
076817596d
* alphabsd-nat.c: Update copyright year.
...
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
2004-06-30 19:23:21 +00:00
Joel Brobecker
f7948b5f30
* i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
...
(i386_cygwin_in_solib_call_trampoline): New function.
(i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
and skip_trampoline_code gdbarch methods.
2004-06-29 18:17:41 +00:00
Jim Blandy
8f113c9aba
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
...
name actually used in the dependency lists.
2004-06-29 17:19:47 +00:00
Randolph Chung
97dc871c11
2004-06-29 Randolph Chung <tausq@debian.org>
...
* NEWS (New native configurations): Mention GNU/Linux/hppa.
2004-06-29 16:13:07 +00:00
Corinna Vinschen
47216e5118
* win32-nat.c (child_pid_to_exec_file): New function.
...
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.
2004-06-29 15:37:31 +00:00
Andrew Cagney
f03b584349
fix scrambled changelog
2004-06-29 15:22:28 +00:00
Andrew Cagney
e623b5041f
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.
2004-06-29 14:57:39 +00:00
Corinna Vinschen
79acc9b3cc
* infcmd.c (attach_command): Move call to target_terminal_inferior
...
behind loading symbol table.
2004-06-29 06:39:06 +00:00
Andrew Cagney
1daf35d984
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.
2004-06-29 01:01:32 +00:00
Andrew Cagney
b435e160dd
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
Index: doc/ChangeLog
2004-06-26 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
2004-06-28 23:59:29 +00:00
Joel Brobecker
06d5cf63af
* ada-lang.c: Re-indent file, with some massaging to help indent
...
a bit when the result is otherwise really too ugly.
2004-06-28 18:59:14 +00:00
Ulrich Weigand
35809fad09
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
...
code_addr_p and special_addr_p to 'unsigned int'.
2004-06-27 22:26:34 +00:00
Mark Kettenis
40e2047218
* i386v4-nat.c: Update copyright year and tweak comment.
...
(regmap): Remove trailing comma.
(supply_gregset): Rename local variable i to regnum. Call
regcache_raw_supply instead of supply_register.
(fill_gregset): Rename argument regno to regnum. Call
regcache_raw_collect instead of regcache_collect.
2004-06-27 21:52:21 +00:00
Ulrich Weigand
12b0b6deed
* frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
...
and special_addr_p.
(frame_id_build, frame_id_build_special): Update comments.
(frame_id_build_wild): New prototype.
* frame.c (frame_id_build, frame_id_build_special): Fill in new
struct frame_id fields.
(frame_id_build_wild): New function.
(frame_id_eq, frame_id_inner): Use new struct frame_id fields.
2004-06-27 20:45:05 +00:00
Mark Kettenis
47b42a3eac
* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
...
hppabsd-tdep.c.
2004-06-27 20:37:36 +00:00
Joel Brobecker
1265e4aaa2
* ada-lang.c: Minor reformatting to conform to GNU coding standards.
2004-06-27 19:28:20 +00:00
Joel Brobecker
76a01679f8
* ada-lang.c: Re-indent file.
2004-06-27 19:06:23 +00:00
Joel Brobecker
7aca490a78
* ada-lang.c (symtab_symbol_info): Remove unused declaration.
...
(no_symtab_msg): Likewise.
2004-06-27 18:55:48 +00:00
Andreas Schwab
5e9879684c
* source.c: Fix whitespace.
2004-06-27 18:36:15 +00:00
Mark Kettenis
d15be92637
* configure.in: Include <sys/param.h> for td_pcb test.
...
* configure: Regenerated.
2004-06-27 16:41:21 +00:00
Mark Kettenis
9062529b14
* i386nbsd-nat.c: New file.
...
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
i386obsd-nat.c and i386obsd-tdep.c.
(i386nbsd-nat.o): New dependency.
* config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
* config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
2004-06-27 16:22:43 +00:00
Mark Kettenis
8010310edb
* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
...
(LOADLIBES): New variable.
2004-06-27 15:59:25 +00:00
Mark Kettenis
efe1d7b9b0
* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
...
fetching from BSD_KVM_PADDR. Correctly lookup address for
"_thread0".
2004-06-27 15:56:20 +00:00
Mark Kettenis
315c4276b1
* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
...
"bsd-kvm.h".
(amd64fbsd_supply_pcb): New funcion.
(_initialize_amd64fbsd_nat): Enable libkvm interface.
2004-06-27 15:44:22 +00:00
David Lecomber
399cfac618
2004-06-27 <david@streamline-computing.com>
...
Partial fix for PR cli/1056.
* valarith.c (value_binop): Check for zero in division and
remainder evaluation.
2004-06-27 07:57:15 +00:00
Mark Kettenis
6235f9c8f2
* i387-tdep.c: Remove excessive whitespace.
2004-06-26 23:20:30 +00:00
Andrew Cagney
2726dafcc9
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
* gdb-events.h, gdb-events.c: Re-generate.
* tui/tui-hooks.c (tui_install_hooks): Update.
(tui_remove_hooks): Update.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
2004-06-26 20:37:13 +00:00
Mark Kettenis
35819f5e08
Remove stray CVS conflict marker.
2004-06-26 11:49:19 +00:00
Mark Kettenis
cb4610693d
* amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
...
(gregset_t, fpregset_t): Remove typedefs.
(REG_OFFSET): Rename argument.
(amd64bsd_r_reg_offset): Rename from reg_offset.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
Remove functions.
(_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
of reg_offset.
* Makefile.in (amd64fbsd-nat.o): Update dependencies.
2004-06-26 11:47:53 +00:00
Mark Kettenis
ecba89de44
* amd64-nat.c (amd64_supply_native_gregset): Fix comment.
2004-06-26 10:38:50 +00:00
Mark Kettenis
4cd804765d
* vax-tdep.c: Tweak comment.
2004-06-26 10:25:20 +00:00
Mark Kettenis
0e56aeafa8
Add OpenBSD/hppa support.
...
* NEWS (New native configurations): Mention OpenBSD/hppa.
* hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
files.
* Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
(hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
* configure.host: Add hppa*-*-openbsd*.
* configure.tgt: Add hppa*-*-openbsd*.
2004-06-26 10:06:35 +00:00
Andrew Cagney
98bbd631cc
2004-06-25 Andrew Cagney <cagney@gnu.org>
...
* defs.h (deprecated_ui_loop_hook): Deprecated.
* wince.c (child_wait): Update.
* win32-nat.c (child_wait): Update.
* v850ice.c (v850ice_wait): Update.
* top.c (deprecated_ui_loop_hook): Update.
* serial.h: Update.
* ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
(do_unix_readchar): Update.
* ser-tcp.c (net_open): Update.
* remote-sim.c (gdb_os_poll_quit): Update.
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
2004-06-25 19:46:08 +00:00
Andrew Cagney
769d7dc4f1
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* defs.h (deprecated_pre_add_symbol_hook)
(deprecated_post_add_symbol_hook): Deprecated.
* symfile.c (symbol_file_add_with_addrs_or_offsets)
(symbol_file_add_with_addrs_or_offsets): Update references.
2004-06-24 22:09:34 +00:00
Andrew Cagney
11c949aaae
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* defs.h (post_add_symbol_hook, pre_add_symbol_hook)
(ui_loop_hook, selected_frame_level_changed_hook): Declare.
* wince.c (ui_loop_hook): Delete extern declaration.
* win32-nat.c (ui_loop_hook): Delete extern declaration..
* v850ice.c (ui_loop_hook): Delete extern declaration..
* ser-unix.c (ui_loop_hook): Delete extern declaration..
* ser-tcp.c (ui_loop_hook): Delete extern declaration..
* remote-sim.c (ui_loop_hook): Delete extern declaration..
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
ui_loop_hook declaration.
2004-06-24 21:51:49 +00:00
Andrew Cagney
eedc19af03
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* objfiles.h (struct entry_info): Delete entry_func_lowpc and
entry_func_highpc fields.
* objfiles.c (init_entry_point_info): Do not clear
entry_func_lowpc and entry_func_highpc.
(objfile_relocate): Do not relocate entry_func_lowpc and
entry_func_highpc.
* dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* blockframe.c (legacy_frame_chain_valid): Replace tests against
entry_func_lowpc and entry_func_highpc with call to
inside_entry_func.
2004-06-24 20:42:42 +00:00
Mark Kettenis
d47079be51
* sparc64-tdep.c (sparc64_store_arguments): Fix passing
...
quad-precision floating point arguments in registers.
2004-06-24 19:36:41 +00:00
Mark Kettenis
2107e348e6
From Michael Mueller <m.mueller99@kay-mueller.de>:
...
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
account.
2004-06-24 19:32:37 +00:00
Andreas Schwab
720c7d64d6
Fix file name.
2004-06-23 15:44:43 +00:00
Jeff Johnston
46587c4207
2004-06-22 Jeff Johnston <jjohnstn@redhat.com>
...
* infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
to -1.
* breakpoint.c (bpstat_stop_status): Move check for ignoring
untriggered watchpoints to a separate if clause. Update function
comment regarding STOPPED_BY_WATCHPOINT argument.
2004-06-22 19:46:40 +00:00
Jim Blandy
226f5cf47a
* gdbarch.sh: Doc fix.
2004-06-22 17:47:59 +00:00
Martin Hunt
f10683bb26
2004-06-21 Martin Hunt <hunt@redhat.com>
...
Kevin Buettner <kevinb@redhat.com>
* config/mips/tm-mips.h (SP_REGNUM): Delete define.
* mips-tdep.h (MIPS_SP_REGNUM): Define.
* mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
to set_gdbarch_sp_regnum(). Use cooked register number.
(SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
2004-06-22 00:01:04 +00:00
Andrew Cagney
412d5987a7
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: When the macro field is empty, do not generate a
macro definition. When the macro field is "=", generate the macro
name from the upper-case function name.
(NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
(FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
(DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
(REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
(DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
(DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
(DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
(DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
(DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
(DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
(DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
(REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
(GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
(BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
(CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
(DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
(DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
(DEPRECATED_USE_STRUCT_CONVENTION)
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
(DEPRECATED_FRAME_INIT_SAVED_REGS)
(DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
(BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
(MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
(DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
(DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
(DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
(DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
(DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
(DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
(FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
(SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
(IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
(NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
(HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
(FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
2004-06-21 19:54:50 +00:00
Andrew Cagney
48f7351b33
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: For gdbarch_dump, print the "function" rather than
macro name, and the function rather than macro value. Only wrap
macro print statements in #ifdef. Move format logic to where it
is needed.
* gdbarch.c: Re-generate.
2004-06-21 17:54:57 +00:00