Jason Molenda
c552b3bb47
2004-01-08 Jason Molenda <jmolenda@apple.com>
...
Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo: Update copyright.
(Objective-C): "methodName" typeo fixed. Add @code/@var markup
around names, as appropriate. Minor syntax cleanup of
_NSPrintForDebugger explanation. Two spaces after periods.
GDBN used instead of lit. "gdb". Index entries added for
print-object and _NSPrintForDebugger. @noindent added in one spot.
2004-01-08 22:47:00 +00:00
Michael Chastain
06ded8b85a
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/pthreads.c (done_making_threads): Remove extraneous
semicolon after end of function.
2004-01-08 21:43:39 +00:00
Jeff Johnston
bfec0b41c9
2004-01-08 David Mosberger <davidm@hpl.hp.com>
...
* ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
reality.
2004-01-08 16:46:27 +00:00
Michael Chastain
77c26ae3f4
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
* gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
boilerplate code for compiling and running the program under
test. Add some string method tests.
2004-01-08 09:41:48 +00:00
Michael Chastain
207574861e
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/bs15503.cc: Add copyright notice.
* gdb.cp/bs15503.exp: Adjust line number.
2004-01-08 08:18:35 +00:00
Michael Chastain
0fd3b50324
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
* gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2004-01-08 08:00:55 +00:00
Michael Chastain
10d1bea8d5
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/funcargs.exp: Remove obsolete setup_xfail for
hp_cc_compiler.
2004-01-08 07:26:50 +00:00
Michael Chastain
2789202a9c
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
* gdb.cp/ctti.exp: Use the marker instead of "next".
With gcc, run further before bailing.
2004-01-08 06:35:15 +00:00
Michael Chastain
b862f14c31
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/cttiadd.cc: Add copyright notice.
* gdb.cp/cttiadd1.cc: Likewise.
* gdb.cp/cttiadd2.cc: Likewise.
* gdb.cp/cttiadd3.cc: Likewise.
2004-01-08 06:19:15 +00:00
Andrew Cagney
6214a8a12e
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
architecture's elf flags (when available).
2004-01-08 05:03:59 +00:00
Andrew Cagney
8d5838b592
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
FPU to the start, check the MIPS FPU when looking for an old
architecture.
(set_mipsfpu_single_command): Update the architecture.
(set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
2004-01-08 04:57:38 +00:00
Andrew Cagney
480d3dd25b
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
(mips_mask_address_p): Add "tdep" parameter.
(show_mask_address, mips_addr_bits_remove): Update.
(mips_dump_tdep): Update.
(MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
(MIPS_STACK_ARGSIZE): Delete macro.
(mips_stack_argsize, mips_eabi_push_dummy_call): Update.
(mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
(mips_o64_push_dummy_call, mips_o32_return_value): Update.
(mips_dump_tdep): Update.
(MIPS_SAVED_REGSIZE): Delete macro.
(MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
(mips_saved_regsize, mips_eabi_use_struct_convention): Update.
(mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
(mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
(mips_pop_frame, return_value_location): Update.
(mips_n32n64_return_value, mips_dump_tdep): Update.
2004-01-08 04:20:57 +00:00
Andrew Cagney
ec03c1ac33
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
MIPS ABI.
2004-01-08 02:27:22 +00:00
Michael Chastain
96da2469a0
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
Use gdb_test, gdb_test_multiple. Use floating-point values that
have exact representations in IEEE-ish formats.
2004-01-08 02:13:57 +00:00
Andrew Cagney
16e109cad3
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c: Update copyright.
(mips_gdbarch_init): Merge two code blocks handling the register
name and number layout.
2004-01-08 01:51:13 +00:00
gdbadmin
fe82b0b710
*** empty log message ***
2004-01-08 00:00:02 +00:00
Michael Chastain
053248ffab
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/constvars.exp: Do not force lang=c++ if using HP
compilers. Delete duplicate call to get_compiler_info.
(local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
* gdb.base/volatile.exp: Likewise.
2004-01-07 22:44:54 +00:00
Mark Kettenis
84acecdda8
* gdb.base/gdb1476.exp: Only run the tests if we can't read the
...
memory at address 0.
2004-01-07 22:12:34 +00:00
Michael Chastain
fe11a27fb0
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
to test for hp-ux assembler. Fix copyright years.
2004-01-07 21:56:26 +00:00
Michael Snyder
15255275af
2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
...
* tracepoint.c (validate_actionline): Fix segv at EOF
2004-01-07 19:14:45 +00:00
Andrew Cagney
60ad077b5a
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.c (strerrno): Add "EBUSY".
2004-01-07 16:39:02 +00:00
Andrew Cagney
1c9b8f3352
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
when creating the read-only file. From analysis by Roland McGrath
and Elena Zannoni.
2004-01-07 16:02:27 +00:00
Michael Chastain
9f9057daef
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
properly for static fields.
2004-01-07 13:22:09 +00:00
Michael Chastain
753ccc7a8b
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2004-01-07 08:44:32 +00:00
Michael Chastain
eca3e36bf8
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/cvexpr.c: Be type-safe with function pointers and
data pointers.
2004-01-07 08:32:51 +00:00
gdbadmin
24d22a409b
*** empty log message ***
2004-01-07 00:00:01 +00:00
Michael Chastain
f8d4bac4a7
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/m-static.exp: Compile one source file at a time.
Delete unused call to get_compiler_info.
2004-01-06 19:21:59 +00:00
Jeff Johnston
91562f53e9
Credit Jason Molenda as part of last ChangeLog entry.
2004-01-06 19:11:33 +00:00
Jeff Johnston
0127c0d31c
2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
...
* disasm.c: Update copyright to include 2004.
(do_mixed_source_and_assembly): For uiout asm list
and tuple cleanups, initialize to null_cleanup instead of
NULL and do so prior to loop. Only reset when we close off
the tuple/list. Move check for whether to close off the
asm tuple/list to after dump_insns call where it will be run
on each loop iteration.
2004-01-06 19:06:39 +00:00
Michael Chastain
9b4e0f9493
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
* gdb.base/call-rt-st.exp: Likewise.
* gdb.base/nodebug.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
2004-01-06 19:05:14 +00:00
gdbadmin
c06c4df5f8
*** empty log message ***
2004-01-06 00:00:32 +00:00
Andrew Cagney
54f1137d66
2004-01-05 Andrew Cagney <cagney@redhat.com>
...
* ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
should be a switch case and not a label.
* mips-tdep.c (mips32_next_pc): Delete unused labels
"greater_equal_branch" and "less_zero_branch".
* jv-valprint.c (java_print_value_fields): Delete unused label
"flush_it".
2004-01-05 23:09:45 +00:00
Mark Kettenis
023c10246b
* gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2004-01-05 22:55:33 +00:00
Andrew Cagney
5269965e4c
2004-01-05 Andrew Cagney <cagney@redhat.com>
...
* target.c (unpush_target): Only close a target that is in the
target stack.
2004-01-05 22:32:23 +00:00
Mark Kettenis
9515395e66
* sparc-tdep.c (sparc_extract_struct_value_address): Get the
...
address from [sp + 64] instead of %o2.
2004-01-05 20:38:57 +00:00
Mark Kettenis
dbc22fa117
* frame.c (get_prev_frame): Don't try to unwind the PC. This
...
fixes PR backtrace/1476.
2004-01-05 20:33:35 +00:00
Andrew Cagney
5439edaaea
2004-01-05 Andrew Cagney <cagney@redhat.com>
...
* libunwind-frame.h (struct frame_id): Add opaque declaration,
move to start of file.
* i386-tdep.h (struct regcache): Add opaque declaration.
* config/ia64/nm-linux.h (struct target_ops): Add opaque
declaration.
* ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
(ia64_gdbarch_init): Use "GNU/Linux" in comment.
* win32-nat.c (fake_create_process): Use ISO C style definition.
* stabsread.c (define_symbol): Delete #ifndef
DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
stabs_argument_has_addr call, macro never defined.
2004-01-05 19:53:08 +00:00
Michael Chastain
19703c4ab8
2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
hppa*-hp-hpux*.
2004-01-05 12:32:11 +00:00
gdbadmin
4e3b70a6f3
*** empty log message ***
2004-01-05 00:00:02 +00:00
Michael Chastain
19061abea9
2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
...
* op50-rom.c: Delete.
* w89k-rom.c: Delete.
* Makefile.in: Remove references.
2004-01-04 23:21:17 +00:00
Mark Kettenis
e53bef9fbd
* x86-64-tdep.c: Update copyright year.
...
(struct amd64_register_info): Rename from x86_64_register_info.
(amd64_register_info): Rename from x86_64_register_info.
(AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
(amd64_register_name): Rename from x86_64_register_name.
(amd64_register_type): Rename from x86_64_register_type.
(amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
(amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
(amd64_dwarf_reg_to_regnum): Rename from
x86_64_dwarf_reg_to_regnum.
(amd64_convert_register_p): Rename from x86_64_convert_register_p.
(amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
(AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
(struct amd64_frame_cache): Renamed from x86_64_frame_cache.
(amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
(amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
(amd64_skip_prologue): Rename from x86_64_skip_prologue.
(amd64_frame_cache): Rename from x86_64_frame_cache.
(amd64_frame_this_id): Rename from x86_64_frame_this_id.
(amd64_frame_prev_register): Rename from
x86_64_frame_prev_register.
(amd64_frame_unwind): Rename from x86_64_frame_unwind.
(amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
(amd64_sigtramp_frame_cache): Rename from
x86_64_sigtramp_frame_cache.
(amd64_sigtramp_frame_prev_register): Rename from
x86_64_sigtramp_frame_prev_register.
(amd64_sigtramp_frame_unwind): Rename from
x86_64_sigtramp_frame_unwind.
(amd64_sigtramp_frame_sniffer): Rename from
x86_64_sigtramp_frame_sniffer.
(amd64_frame_base_address): Rename from x86_64_frame_base_address.
(amd64_frame_base): Rename from x86_64_frame_base.
(amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
(amd64_frame_align): Rename from x86_64_frame_align.
(amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
(amd64_regset_from_core_section): Rename from
x86_64_regset_from_core_section.
(x86_64_init_abi): Update comments.
2004-01-04 19:07:02 +00:00
Nick Roberts
c681880448
(write after approval): Add myself.
2004-01-04 15:27:24 +00:00
Nick Roberts
fca6aa58fd
*** empty log message ***
2004-01-04 15:26:47 +00:00
Mark Kettenis
ba6219c89f
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
...
x86_64-*-*.
2004-01-04 15:04:41 +00:00
Mark Kettenis
18b6703720
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
...
sparc64-*-* and sparc*-solaris2*.
2004-01-04 14:06:00 +00:00
Mark Kettenis
8ada74e3cc
* sparc64-tdep.c (sparc64_store_arguments): Fix handling of
...
`float' arguments.
2004-01-04 12:18:25 +00:00
gdbadmin
3390c393e1
*** empty log message ***
2004-01-04 00:00:02 +00:00
Mark Kettenis
1bfbbb9d24
* gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
...
return ${tests}" test. The ${tests} already mentions the
filename.
2004-01-03 23:49:31 +00:00
Mark Kettenis
5154b0cdb1
* sparc64-tdep.c (sparc64_store_floating_fields): Update comment
...
such that it mentions a specific version of GCC that exhibits this
bug.
2004-01-03 23:24:57 +00:00
Mark Kettenis
200cc5539f
* sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
...
structure that has a single `float' member, store it in %f1 in
addition to %f0.
2004-01-03 20:46:30 +00:00
Mark Kettenis
e226a4a0de
* sparc-sol2-nat.c: Add missing ''.
2004-01-03 18:21:01 +00:00
Mark Kettenis
b9d4c5eddc
* sparc-tdep.c (sparc32_return_value): New function.
...
(sparc32_use_struct_convention, sparc32_return_value_on_stack):
Remove functions.
(sparc32_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value, use_struct_convention
and return_value_on_stack.
2004-01-03 17:59:04 +00:00
Mark Kettenis
fb316966f9
* sparc-sol2-nat.c: Add missing ')'.
2004-01-03 15:56:15 +00:00
Joel Brobecker
1af510a802
* infrun.c (handle_step_into_function): New function.
...
(handle_inferior_event): Extract out some code into the new
function above.
2004-01-03 15:22:21 +00:00
Joel Brobecker
5cf4d23a4e
* infrun.c (handle_inferior_event): Move the declaration of
...
real_stop_pc inside the if blocks where it is used.
2004-01-03 15:17:09 +00:00
Mark Kettenis
60af1db256
* sparc64-tdep.c (sparc64_16_byte_align_p)
...
(sparc64_store_floating_fields, sparc64_store_floating_fields):
Use check_typedef to get subtypes of structures and unions.
(sparc64_store_return_value): Fix calculation of the appropriate
offset into VALBUF when storing a structure or union.
(sparc64_return_value): New function.
(sparc64_use_struct_convention): Remove function.
(sparc64_init_abi): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
2004-01-03 15:00:10 +00:00
Eli Zaretskii
1a901d3f9c
* config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
...
bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
gdb/config/alpha/xm-alphaosf.h,
gdb/config/powerpc/tm-ppcle-eabi.h,
gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
Remove lines for .cvsignore files.
2004-01-03 13:44:53 +00:00
Joel Brobecker
ef52e463d0
* infrun.c: Backout the previous change.
2004-01-03 13:02:00 +00:00
Mark Kettenis
f0424ef6d4
* NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
...
sparc-*-sunos4* to the list of REMOVED configurations.
2004-01-03 12:21:09 +00:00
Mark Kettenis
cb1bf9dc67
* configure.tgt: Add back sparc-*-vxworks*.
...
* remote-vxsparc.c: Remove all includes except for "defs.h",
"regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
Include "sparc-tdep.h".
(SPARC_R_G1): New define.
(vxsparc_gregset): New variable.
(ext_format_sparc): Remove extern declaration.
(vx_read_register): Rewrite to use sparc32_supply_gregset and
sparc32_supply_fpregset.
(vx_write_register): Rewrite to use sparc32_collect_gregset,
sparc_collect_rwindow and sparc32_collect_fpregset.
* config/sparc/tm-vxworks.h: New file, based on recently removed
tm-vxsparc.h.
* config/sparc/vxworks.mt: New file, based on recently removed
vxworks.mt.
2004-01-03 12:09:48 +00:00
Joel Brobecker
5e938f9ff1
* infrun.c (handle_step_into_function): New function.
...
(handle_inferior_event): Extract out some code into the new
function above.
2004-01-03 11:51:22 +00:00
Mark Kettenis
386c036baa
* Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
...
sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
(sparc_nat_h): New variable.
(sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
(tm-sun4os4.h): Remove dependency.
(sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
(sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
sparc-tdep.o): Update dependencies.
(sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
dependencies.
* configure.host: Remove existing sparc-*-lynxos*,
sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
triplets.
* configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
sparc64-*-solaris2* and sparc64-*-* triplets.
* sparc64-tdep.c: Update copyright year. Include "inferior.h",
"symtab.h" and "objfiles.h".
(BIAS): Remove define.
(X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
(X_DISP19): Remove macros.
(sparc_fetch_instruction): Remove function.
(struct gdbarch_tdep): Remove definition.
(SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
(sparc_breakpoint_from_pc): Remove function.
(struct sparc64_frame_cache): Remove definition.
(sparc64_alloc_frame_cache, sparc64_analyze_prologue,
sparc64_unwind_pc): Remove functions.
(sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
`struct sparc64_frame_cache. Call sparc_analyze_prologue instead
of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
(sparc64_frame_cache): Change return type to `struct
sparc_frame_cache *'. Simply call sparc_frame_cache.
(sparc64_frame_this_id, sparc64_frame_prev_register,
sparc64_frame_base_address): Use `struct sparc_frame_cache'
instead of `struct sparc64_frame_cache.
(sparc_unwind_dummy_id, sparc_extract_struct_value_address,
sparc_analyze_control_transfer, sparc_software_single_step,
sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
_initialize_sparc64_tdep): Remove functions.
(TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
(PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
macros.
(sparc64_supply_gregset, sparc64_collect_gregset,
sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
(sparc64_init_abi): New function.
* sparc64-tdep.h: Update copyright year. Fix typo in multiple
inclusion guard. Include "sparc-tdep.h".
(BIAS): Define.
(r_tstate_offset, r_fprs_offset): New defines.
(enum sparc_regnum): Remove defenition.
(enum sparc64_regnum): Reformat.
(sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
(sparc64_init_abi, sparc64_supply_gregset,
sparc64_collect_gregset, sparc64_supply_fpregset,
sparc64_collect_fpregset): New prototypes.
(sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
Add extern declarations.
(sparc64_sol2_init_abi): New prototype.
(sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
(sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
prototypes.
* sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
"sparnbsd-nat.h".
(sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
functions.
(_initialize_sparc64fbsd_nat): Remove initialization of
sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
* sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
"frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
(sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
(sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
(sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
(sparc64fbsd_r_y_offset): Remove variables.
(sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
Make static and const.
(sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
(sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
functions.
(sparc64fbsd_gregset): New variable.
(fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
and sparc64_supply_fpregset.
(sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
(sparc64fbsd_sigtramp_frame_this_id)
(sparc64fbsd_sigtramp_frame_prev_register): New functions.
(sparc64fbsd_sigtramp_frame_unwind): New variable.
(sparc64fbsd_sigtramp_frame_sniffer): New function.
(sparc64fbsd_init_abi): Set pc_in_sigtramp, append
sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
* sparcnbsd-tdep.c: Update copyright year. Include
"floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
"trad-frame.h" and "gdb_assert.h", don't include "target.h",
"value.h" and "sparcnbsd-tdep.h".
(REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
(REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
(REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
(REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
defines.
(sparcnbsd_gregset): New variable.
(sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
(sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
(sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
(sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
(sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
variables.
(sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
(sparc32nbsd_sigcontext_frame_this_id)
(sparc32nbsd_sigcontext_frame_prev_register): New functions.
(sparc32nbsd_sigcontext_frame_unwind): New variable.
(sparc32nbsd_sigtramp_frame_sniffer): New function.
(sparcnbsd_get_longjmp_target_32,
sparcnbsd_get_longjmp_target_64): Remove functions.
(sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
(sparcnbsd_init_abi_common, sparcnbsd_init_aout,
sparcnbsd_init_elf): Remove.
(sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
(sparcnbsd_elf_init_abi): New functions.
(_initialize_sparcnbsd_tdep): New prototype.
(_initialize_sparnbsd_tdep): Update.
* config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
corelow.o. Add sparc64-nat.o and sparc-nat.o.
* config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
* config/sparc/linux.mh: Update comment.
(XM_FILE, HOST_IPC): Remove variables.
(NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
sparc-linux-nat.o.
* config/sparc/linux.mt: Update comment.
(TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
* config/sparc/nbsd.mt: Reformat.
* config/sparc/nbsd64.mh: Update comment.
(NATDEPFILES): Add sparc-nat.o.
* config/sparc/nbsd64.mt: Update comment.
(TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
(TM_FILE): Set to tm-nbsd.h.
* config/sparc/nbsdelf.mh: Update comment.
(NATDEPFILES): Add sparc-nat.o.
(XM_FILE): Delete.
* config/sparc/nbsdaout.mh: Update comment.
(NATDEPFILES): Add sparc-nat.o
(XM_FILE): Delete.
* config/sparc/nm-linux.h: Update copyright year. Don't include
"config/nm-svr4.h" and "solib.h". Add protection against multiple
inclusion.
(KERNEL_U_SIZE): Remove define.
(kernel_u_size): Remove prototype.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
* config/sparc/nm-nbsd.h: Update copyright. Don't include
"regcache.h".
(CHILD_PREPARE_TO_STORE): Remove define.
* config/sparc/nm-nbsdaout.h: Tweak some comments.
* sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
sparcnbsd-nat.c: Rewrite files.
* config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
* sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
sparcnbsd-tdep.h: Remove files.
* config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
* sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
* config/sparc/linux64.mh, config/sparc/linux64.mt,
config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
2004-01-03 10:08:45 +00:00
Michael Chastain
06846494ce
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/local.exp: Accept gcc abi 2.
2004-01-03 01:46:09 +00:00
Michael Chastain
3b0cb2022c
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept gcc abi 2.
2004-01-03 00:03:11 +00:00
gdbadmin
3cf67e0eff
*** empty log message ***
2004-01-03 00:00:02 +00:00
Michael Chastain
0643ec3f3c
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.cc: Remove supports_template_debugging.
* gdb.cp/templates.exp: Do not test supports_template_debugging.
2004-01-02 23:20:51 +00:00
Andrew Cagney
ede47fe902
Revert accidental commit.
2004-01-02 22:53:12 +00:00
Andrew Cagney
ee84457a00
2004-01-02 Andrew Cagney <cagney@redhat.com>
...
From 2003-12-18 Kazuhiro Inaoka:
* configure.host: Add m32r-linux target.
2004-01-02 22:51:00 +00:00
Michael Chastain
0bc2134ec9
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
...
* top.c (print_gdb_version): Update year to 2004.
2004-01-02 20:53:11 +00:00
Mark Mitchell
89a72f9c32
* MAINTAINERS: Add myself to the write-after-approval category.
2004-01-02 20:28:54 +00:00
Daniel Jacobowitz
86b013ed0b
From Bernardo Innocenti <bernie@develer.com>:
...
* configure.tgt: Add uClinux target.
2004-01-02 17:43:44 +00:00
Andrew Cagney
e42c953419
2004-01-02 Andrew Cagney <cagney@redhat.com>
...
* utils.c (do_my_cleanups): Make static, add forward declaration.
* defs.h (do_my_cleanups): Delete declaration.
2004-01-02 17:35:01 +00:00
Eli Zaretskii
162467d3b4
*** empty log message ***
2004-01-02 14:32:49 +00:00
Eli Zaretskii
8de9499d0f
* config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
...
bfd/ChangeLog-0203.
2004-01-02 14:32:20 +00:00
Mark Kettenis
af1c6d4556
Roll ChangeLog / ChangeLog-2003.
2004-01-02 13:01:24 +00:00
Mark Kettenis
78434e5985
* configure.in: Check for <machine/reg.h>. Check for `struct reg'
...
in <machine/reg.h>.
* configure, config.in: Regenerate.
2004-01-02 12:40:09 +00:00
Michael Chastain
d231d0b13f
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/namespace.exp: Accept gcc abi 2.
2004-01-02 06:38:01 +00:00
Michael Chastain
44ffb27cc2
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/method.exp: Accept gcc abi 2.
2004-01-02 06:17:19 +00:00
Michael Chastain
184ad4855f
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Generate identical results as old version.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
2004-01-02 04:46:45 +00:00
gdbadmin
5d3786c41d
*** empty log message ***
2004-01-02 00:00:32 +00:00
Michael Chastain
116f09e7e9
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
mysterious bug with sourceware version of expect.
2004-01-01 23:05:12 +00:00
Michael Chastain
b13797763f
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/overload.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to xfail missing "const" in "const char *"
and kfail PR gdb/1155.
2004-01-01 09:46:21 +00:00
Michael Chastain
6b7a4c0e17
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to kfail PR gdb/1498.
2004-01-01 06:58:44 +00:00
Michael Chastain
51615d7251
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program. Use
gdb_test_multiple and gdb_test for all tests.
2004-01-01 02:30:59 +00:00
Mark Kettenis
7b79a9d72e
* gdb.asm/asm-source.exp: Update copyright year. Link statically
...
for *-*-solaris2*.
2004-01-01 01:13:42 +00:00
gdbadmin
e55f603b53
*** empty log message ***
2004-01-01 00:00:31 +00:00
Michael Chastain
1cd3489fb3
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program several
times. Use gdb_test_multiple and gdb_test for all tests.
2003-12-31 20:59:11 +00:00
gdbadmin
9545963939
*** empty log message ***
2003-12-31 00:00:32 +00:00
Eli Zaretskii
40a7debcab
* configure.in: Check for st_blocks member in struct stat and
...
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.
* configure, config.in: Regenerated.
2003-12-30 10:33:37 +00:00
Eli Zaretskii
6d53e9818a
Remove entry for reverted change to configure.in.
2003-12-30 07:10:50 +00:00
Eli Zaretskii
8e65259860
Temporary fix for last change.
2003-12-30 07:05:21 +00:00
Eli Zaretskii
1dd727e9e9
* remote-fileio.c (remote_fileio_to_fio_stat)
...
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.
* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
2003-12-30 06:52:09 +00:00
gdbadmin
283853005f
*** empty log message ***
2003-12-30 00:00:32 +00:00
Eli Zaretskii
ccbc3e6f71
* go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
...
mismatches between format string and arguments (avoids compiler
warnings).
2003-12-29 07:42:43 +00:00
Eli Zaretskii
228a417ca2
* configure.in: Set ac_cv_search_tgetent to "none required" for
...
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).
* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.
* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.
2003-12-29 07:35:35 +00:00
gdbadmin
9ef86733b3
*** empty log message ***
2003-12-29 00:00:32 +00:00
Mark Kettenis
8349554deb
* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
...
(i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
TDEP->sc_reg_offset and TDEP->sc_num_regs.
2003-12-28 19:48:15 +00:00
Mark Kettenis
2666fb59a0
* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
...
I386_SS_REGNUM.
2003-12-28 19:45:35 +00:00
gdbadmin
5afeb40cd6
*** empty log message ***
2003-12-28 00:00:32 +00:00
Mark Kettenis
3588991722
* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
...
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA. Don't overwrite the initialized register
rule for registers left unspecified by the CFI. Remove the
special handling of PC_REGNUM. Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM. Add support for the REG_CFA rule.
2003-12-27 23:15:00 +00:00
gdbadmin
1b0c858ffa
*** empty log message ***
2003-12-27 00:00:32 +00:00
Mark Kettenis
6745701255
* i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
...
"gdb_string.h".
(i386obsd_r_reg_offset): New variable.
(i386obsd_aout_supply_regset)
(i386obsd_aout_regset_from_core_section): New functions.
(i386obsd_supply_reg, fetch_core_registers): Remove functions.
(i286obsd_core_fns): Remove variable.
(i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Set
regset_from_core_section. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(_initialize_i386obsd_tdep): Don't call add_core_fns.
2003-12-26 18:07:00 +00:00
Mark Kettenis
f6943e4a1d
* i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
...
(_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.
2003-12-26 17:59:48 +00:00
Mark Kettenis
4ffc84662b
* i386-linux-nat.c: Add comment.
2003-12-26 15:42:58 +00:00
Christopher Faylor
d6dc804979
* win32-nat.c: Add some comments about below change.
2003-12-26 14:56:45 +00:00
Christopher Faylor
3ade53336e
Fix for PR threads/1048
...
* win32-nat.c (thread_info_struct): Add reload_context flag.
(thread_rec): Don't reload thread context here. Just set a flag.
(do_child_fetch_inferior_registers): Reload thread context here if appropriate.
Avoid doing anything if current_thread is NULL thanks to strange Windows
behavior.
(child_fetch_inferior_registers): Avoid doing anything if current_thread is
NULL.
(do_child_store_inferior_registers): Ditto.
(child_store_inferior_registers): Ditto.
(child_kill_inferior): Ditto.
(fake_create_process): Pretend to create a process for pathological windows
attach situation.
(get_child_debug_event): Call fake_create_process when the first event noticed
is thread creation rather than process creation.
(child_attach): Always set attach_flag when attaching.
(child_create_inferior): Set attach_flag to zero since we're not attaching.
2003-12-26 04:29:22 +00:00
Christopher Faylor
87a45c9606
* win32-nat.c (get_child_debug_event): Keep main thread id around even after
...
thread exits since Windows insists on continuing to report events against it.
2003-12-26 00:39:04 +00:00
gdbadmin
ffeaf0e8c6
*** empty log message ***
2003-12-26 00:00:02 +00:00
gdbadmin
3acdd7e208
*** empty log message ***
2003-12-25 00:00:31 +00:00
gdbadmin
eb4dbeda06
*** empty log message ***
2003-12-24 00:00:02 +00:00
gdbadmin
231bc717e9
*** empty log message ***
2003-12-23 00:00:02 +00:00
Mark Kettenis
79c4cb80ee
* dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
...
address column.
2003-12-22 20:32:51 +00:00
Jim Blandy
6c50ab1c7f
* breakpoint.c (bpstat_do_actions): To ensure that
...
clear_proceed_status doesn't free the command tree we're
evaluating out from under us, zero the bpstat's pointer to it, and
take care of freeing it ourselves.
* cli/cli-script.c (make_cleanup_free_command_lines): Make this
function externally visible.
* cli/cli-script.h (make_cleanup_free_command_lines): New
declaration.
2003-12-22 03:43:19 +00:00
gdbadmin
7d0c64e53f
*** empty log message ***
2003-12-22 00:00:31 +00:00
gdbadmin
f65333104b
*** empty log message ***
2003-12-21 00:00:01 +00:00
Mark Kettenis
59207364ed
* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
...
RIP.
2003-12-20 13:36:00 +00:00
gdbadmin
6c55c395b7
*** empty log message ***
2003-12-20 00:00:34 +00:00
Michael Chastain
a2379359b4
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.
2003-12-19 06:45:03 +00:00
Kevin Buettner
d40fcd7bc1
* frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
...
from mips-tdep.c.
(frv_analyze_prologue): Rework to account for intermixed prologue /
body instructions.
2003-12-19 00:34:26 +00:00
gdbadmin
a53cf7226d
*** empty log message ***
2003-12-19 00:00:01 +00:00
Michael Chastain
8e8b2dbaae
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
Document type sizes for hppa*-*-hpux* compilers available to me.
2003-12-18 22:13:48 +00:00
Michael Chastain
e584bbaf70
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppam3-nat.c: Delete obsolete file.
* hppab-nat.c: Delete obsolete file.
* Makefile.in: Remove references.
2003-12-18 18:22:35 +00:00
Michael Chastain
850742db45
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
source files.
2003-12-18 16:25:21 +00:00
Michael Chastain
eb4bbda805
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/environ.exp: Handle compiling test case from multiple
source files.
2003-12-18 07:48:37 +00:00
gdbadmin
cd0d3a42b4
*** empty log message ***
2003-12-18 00:00:32 +00:00
Michael Chastain
e42c777187
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-17 22:32:18 +00:00
Jeff Johnston
bffe1ece0e
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* symtab.c (decode_line_spec): Change call to decode_line_1.
2003-12-17 22:21:02 +00:00
Jeff Johnston
68219205a7
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* linespec.h (decode_line_1): Add new not_found_ptr parameter.
* linespec.c (decode_line_1): Add new parameter. Pass on
new parameter to decode_variable and symtab_from_filename
functions.
(decode_variable): Add new not_found_ptr parameter. Throw exception
rather than failing if the not_found_ptr is non-null and the
function is not found.
(symtab_from_filename): Add new not_found_ptr parametr. Throw
exception rather than failing if the not_found_ptr is non-null and
the source file is not found.
* breakpoint.c: Change all callers of decode_line_1 to add default
extra parameter for decode_line_1 calls.
* tracepoint.c: Ditto.
* cli/cli-cmds.c: Ditto.
2003-12-17 21:47:47 +00:00
Jim Blandy
5f06973a05
* gdb.base/freebpcmd.c: Add copyright notice.
2003-12-17 21:34:51 +00:00
Jim Blandy
80e4b428e6
* gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2003-12-17 21:28:40 +00:00
Joel Brobecker
b639a77072
* irix5-nat.c: Include mips-tdep.h.
2003-12-17 06:19:29 +00:00
Michael Chastain
0ab84fb789
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2003-12-17 05:43:46 +00:00
gdbadmin
4f2e8a1399
*** empty log message ***
2003-12-17 00:00:32 +00:00
Mark Kettenis
729b7ed750
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
...
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
2003-12-16 21:46:10 +00:00
Mark Kettenis
c683153733
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
...
Needed to fix PR backtrace/1476.
2003-12-16 21:23:50 +00:00
David Carlton
5d09de9d6b
2003-12-16 David Carlton <carlton@kealia.com>
...
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
(method_name_from_physname): Ditto.
2003-12-16 19:27:11 +00:00
gdbadmin
ab4f2b471a
*** empty log message ***
2003-12-16 00:02:03 +00:00
Mark Kettenis
6a9756ed29
* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
...
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
2003-12-15 21:54:30 +00:00
gdbadmin
b1c1720c5d
*** empty log message ***
2003-12-15 00:00:02 +00:00
Mark Kettenis
e34e1a8519
* proc-api.c (procfs_note): Add format string to fprintf call.
2003-12-14 13:40:19 +00:00
Mark Kettenis
5daa5b4ecc
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
...
for `subl' and `xorl' instructions.
2003-12-14 10:59:08 +00:00
gdbadmin
1eb4d9af74
*** empty log message ***
2003-12-14 00:00:01 +00:00
Jim Blandy
27bfe10e37
* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
...
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.
2003-12-13 22:29:06 +00:00
Jim Blandy
e481341f06
* osabi.c (gdbarch_init_osabi): Reformat error message with better
...
line breaks.
2003-12-13 21:41:10 +00:00
Jim Blandy
1b3bb3d032
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2003-12-13 20:12:31 +00:00
Mark Kettenis
f614e9d90b
* blockframe.c (inside_main_func): Reformat. Introduce new local
...
variables to prevent long lines. Update comments to reflect
reality.
2003-12-13 13:16:52 +00:00
Kevin Buettner
503ff15d38
From David Mosberger <davidm@hpl.hp.com>:
...
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
with a single unw_dyn_info_t pointer.
(libunwind_find_dyn_list): Likewise.
* libunwind-frame.h: Likewise.
* ia64-tdep.c (ia64_find_unwind_table): Switch to using
UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
entire unwind-table at once. Support for this table format has
been added to libunwind v0.95.
(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
(ia64_get_dyn_info_list): Adjust for interface change for
libunwind_find_dyn_list().
2003-12-13 03:51:56 +00:00
Kevin Buettner
3a4c93712e
* gdb.asm/frv.inc: New file.
...
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2003-12-13 01:01:08 +00:00
gdbadmin
34ce82ec84
*** empty log message ***
2003-12-13 00:00:02 +00:00
Jeff Johnston
468d015dea
2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
...
* breakpoint.c (breakpoint_enabled): New function to test whether
breakpoint is active and enabled.
(insert_bp_location, insert_breakpoints): Call new function to test
for enabled breakpoint.
(remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
(disable_watchpoints_before_interactive_call_start)
(breakpoint_re_set_one): Ditto.
(bpstat_stop_status): Use new function and simplify test.
2003-12-12 19:04:46 +00:00
Mark Kettenis
f82de61cdc
* observer.c (observer_test_first_observer)
...
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.
2003-12-12 16:14:26 +00:00
gdbadmin
1b80b9a026
*** empty log message ***
2003-12-12 00:00:32 +00:00
Mark Kettenis
9db7c108d9
* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
...
of (0).
2003-12-11 13:45:12 +00:00
Dhananjay Deshpande
8bfdb6721b
* MAINTAINERS (write after approval): Add myself
2003-12-11 06:30:10 +00:00
Dhananjay Deshpande
454d05118b
Fix GDB crash problem when object file of different H8 cpu is loaded
2003-12-11 06:21:12 +00:00
gdbadmin
8f02783d3a
*** empty log message ***
2003-12-11 00:00:01 +00:00
Joel Brobecker
7ae4c3a566
* frame.c (select_frame): Get the current frame PC using
...
get_frame_address_in_block() instead of get_frame_pc().
* stack.c (get_frame_language): Likewise.
2003-12-10 17:40:43 +00:00
gdbadmin
eda9487562
*** empty log message ***
2003-12-10 00:00:01 +00:00
Fred Fish
a1dea79abe
Committed after testing and independent approval/endorsement.
...
2003-12-09 Fred Fish <fnf@redhat.com>
* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
functions to break1.c and leave prototypes behind. Add more
"set breakpoint NN here" comments.
* gdb.base/break1.c: New file.
* gdb.base/break.exp: Handle compiling test case from multiple
source files and change source file references as needed.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
hardcoded line numbers.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/completion.exp: Use "break1" for completion tests since
"break" is no longer a unique prefix.
2003-12-09 18:19:20 +00:00
gdbadmin
42e44c6dee
*** empty log message ***
2003-12-09 00:00:02 +00:00
Kevin Buettner
9b74d5d385
* remote.c (remote_open_1, remote_cisco_open): Avoid closing
...
remote_desc more than once.
2003-12-08 17:00:06 +00:00
gdbadmin
d992e8df4a
*** empty log message ***
2003-12-08 00:00:31 +00:00
Andrew Cagney
e7ebf6d61f
2003-12-07 Andrew Cagney <cagney@redhat.com>
...
* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
directly calling strcmp equivalents. Add disclaimer.
2003-12-07 17:22:29 +00:00
gdbadmin
ff85c3bec4
*** empty log message ***
2003-12-07 00:00:32 +00:00
Andrew Cagney
8ccc128739
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value. Use regcache_raw_supply. Fix suggested by
Jonathan Larmour.
2003-12-06 22:58:27 +00:00
Andrew Cagney
5266b69c16
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented". When an unimplemented struct return
architecture, report incorrect values as a KFAIL
2003-12-06 22:49:02 +00:00
Michael Chastain
374451f0e9
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.
2003-12-06 04:40:42 +00:00
Michael Chastain
ba9b20a7b1
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.
2003-12-06 02:06:22 +00:00
Jeff Johnston
32edc941e1
2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
format to be the i387 extended float format which is used for
long doubles stored in memory.
2003-12-06 00:17:04 +00:00
gdbadmin
e1f1f9b8c3
*** empty log message ***
2003-12-06 00:00:31 +00:00
Mark Kettenis
2af2aeb01d
From Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
...
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.
2003-12-05 21:14:49 +00:00
Michael Chastain
362ff85603
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR c++/1465.
Fix for PR c++/1377.
* cp-support.h (cp_lookup_rtti_type): New function.
* cp-support.c (cp_lookup_rtti_type): New function.
* gnu-v2-abi.c: Update copyright years.
(gnuv2_rtti_type): Call cp_lookup_rtti_type.
* gnu-v3-abi.c: Update copyright years.
(gnuv3_rtti_type): Call cp_lookup_rtti_type.
2003-12-05 04:25:09 +00:00
Michael Chastain
b74b6d0b9f
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.
2003-12-05 01:53:46 +00:00
Joel Brobecker
149d821b1e
* stabsread.c (read_type): Save a reference to types that are defined
...
as cross references to other types.
2003-12-05 00:45:39 +00:00
gdbadmin
d97d0546d3
*** empty log message ***
2003-12-05 00:00:01 +00:00
Michael Chastain
ccfa340233
2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-04 04:37:54 +00:00
Roland McGrath
77f091ddb5
.
2003-12-04 00:20:51 +00:00
Roland McGrath
cdbc0b18d6
2003-12-02 Roland McGrath <roland@redhat.com>
...
* thread-db.c (enable_thread_event): Change return type to
td_err_e. Return TD_OK or error code.
(enable_thread_event_reporting): Update callers.
2003-12-04 00:20:25 +00:00
gdbadmin
4a9ecc4bcb
*** empty log message ***
2003-12-04 00:00:02 +00:00
Ian Lance Taylor
59659be2f6
* NEWS: Mention new C++ demangler code.
2003-12-03 19:53:11 +00:00
Andrew Cagney
56d0d96a62
2003-12-03 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-nat.c (store_register, fetch_register): Convert
between ptrace and regcache's wordsize.
(ppc_register_u_addr): Use the ptrace wordsize.
2003-12-03 19:37:03 +00:00
Kevin Buettner
251a3ae3a6
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.
2003-12-03 04:50:33 +00:00
gdbadmin
2460582e7b
*** empty log message ***
2003-12-03 00:00:32 +00:00
Michael Chastain
f6246aba72
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
2003-12-02 17:53:58 +00:00
Michael Chastain
13ae734acd
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
2003-12-02 17:03:30 +00:00
Michael Chastain
d8e1cdeed9
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
2003-12-02 16:57:16 +00:00
Daniel Jacobowitz
188dd5d64f
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
...
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments. Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.
2003-12-02 16:41:39 +00:00
gdbadmin
37c8b24511
*** empty log message ***
2003-12-02 00:00:02 +00:00
Michael Chastain
96457b64cf
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
gcc_compiled with call to test_compiler_info.
2003-12-01 22:09:06 +00:00
Michael Chastain
013be87271
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
...
* dwarfread.c: Update documentation on the state of dwarf-1.
2003-12-01 22:03:12 +00:00
Andrew Cagney
0748d941c8
2003-12-01 Andrew Cagney <cagney@redhat.com>
...
Obsolete old MIPS SVr3 and SVr4 systems.
* NEWS: Mention obsoleted systems.
* configure.tgt: Mark mips*-*-sysv4* as obsolete.
* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
obsolete.
* config/mips/decstation.mh: Mark as obsolete.
* config/mips/littlemips.mh: Mark as obsolete.
* config/mips/nm-mips.h: Mark as obsolete.
* config/mips/xm-mips.h: Mark as obsolete.
* config/mips/news-mips.mh: Mark as obsolete.
* config/mips/nm-news-mips.h: Mark as obsolete.
* config/mips/riscos.mh: Mark as obsolete.
* config/mips/nm-riscos.h: Mark as obsolete.
* config/mips/xm-riscos.h: Mark as obsolete.
* config/mips/mipsv4.mt: Mark as obsolete.
* config/mips/tm-mipsv4.h: Mark as obsolete.
* config/mips/xm-mipsv4.h: Mark as obsolete.
2003-12-01 21:10:46 +00:00
Andrew Cagney
5994185b33
2003-12-01 Andrew Cagney <cagney@redhat.com>
...
Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
m680[01]0-sun-sunos3* as obsolete.
* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
* config/m68k/sun3os4.mh: Mark file obsolete.
* config/m68k/xm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mh: Mark file obsolete.
* config/m68k/nm-sun3.h: Mark file obsolete.
* config/m68k/xm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mh: Mark file obsolete.
* config/m68k/sun2os3.mh: Mark file obsolete.
* config/m68k/nm-sun2.h: Mark file obsolete.
* config/m68k/xm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mh: Mark file obsolete.
* config/m68k/nm-sysv4.h: Mark file obsolete.
* config/m68k/xm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mh: Mark file obsolete.
* config/m68k/nm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mh: Mark file obsolete.
* config/m68k/xm-dpx2.h: Mark file obsolete.
* config/m68k/nm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mh: Mark file obsolete.
* config/m68k/xm-delta68.h: Mark file obsolete.
* config/m68k/nm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mh: Mark file obsolete.
* config/m68k/xm-3b1.h: Mark file obsolete.
* config/m68k/sun3os4.mt: Mark file obsolete.
* config/m68k/tm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mt: Mark file obsolete.
* config/m68k/tm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mt: Mark file obsolete.
* config/m68k/tm-sun2os4.h: Mark file obsolete.
* config/m68k/sun2os3.mt: Mark file obsolete.
* config/m68k/tm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mt: Mark file obsolete.
* config/m68k/tm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mt: Mark file obsolete.
* config/m68k/tm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mt: Mark file obsolete.
* config/m68k/tm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mt: Mark file obsolete.
* config/m68k/tm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mt: Mark file obsolete.
* config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 14:53:42 +00:00
gdbadmin
68c0be47f8
*** empty log message ***
2003-12-01 00:00:01 +00:00
Michael Chastain
f35309fcfd
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.
2003-11-30 23:13:34 +00:00
Michael Chastain
d7afdf9bce
2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
2003-11-30 06:50:49 +00:00
gdbadmin
a99c632e4f
*** empty log message ***
2003-11-30 00:00:02 +00:00
Mark Kettenis
71507b5617
* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
...
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
2003-11-29 13:55:17 +00:00
Michael Chastain
f81f93f75e
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-29 06:56:06 +00:00
Mark Kettenis
720aa42891
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
...
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.
2003-11-29 00:54:41 +00:00
gdbadmin
1c9277c14f
*** empty log message ***
2003-11-29 00:00:01 +00:00
Michael Chastain
9a77938ecf
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-28 03:31:24 +00:00
gdbadmin
0d60309505
*** empty log message ***
2003-11-28 00:00:32 +00:00
Mark Kettenis
35883a3f2f
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
...
zero. Reorganize code a bit.
2003-11-27 23:33:07 +00:00
Mark Kettenis
3e74aeeda6
* dwarf2-frame.c: Fix another comment.
2003-11-27 20:50:43 +00:00
Mark Kettenis
e8367dc76a
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
...
pattern for the KFAILs.
2003-11-27 20:40:52 +00:00
Mark Kettenis
efb1c01c42
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
...
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
2003-11-27 20:35:38 +00:00
Mark Kettenis
e4e9607c60
* dwarf2-frame.c: Fix some comments and whitespace problems.
2003-11-27 17:17:04 +00:00
Mark Kettenis
13739f4d37
* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
...
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs. Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.
2003-11-27 13:28:50 +00:00
Mark Kettenis
597684c51b
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
...
.note.netbsdcore.procinfo section to recognize NetBSD core files.
2003-11-27 12:43:36 +00:00
gdbadmin
f2d0e87dbf
*** empty log message ***
2003-11-27 00:00:02 +00:00
Michael Chastain
37e79b6be7
2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
...
* cp-abi.c: Update copyright years.
2003-11-26 22:04:00 +00:00
Adam Fedor
526c61eee0
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
...
* gdb.objc/objcdecode.m: New file.
2003-11-26 04:23:25 +00:00
Adam Fedor
28f2d60014
* gdb.objc/nondebug.exp: Test for PR objc/1236.
...
* gdb.objc/nondebug.m: New file.
2003-11-26 04:21:51 +00:00
Ben Elliston
a3895ceeba
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
...
NetBSD as it does on FreeBSD. Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2003-11-26 01:17:16 +00:00
gdbadmin
5b761a580b
*** empty log message ***
2003-11-26 00:00:32 +00:00
Andrew Cagney
24557e30a9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* thread-db.c (enable_thread_event): New function. Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.
2003-11-25 23:31:40 +00:00
Michael Snyder
78c63a3b6f
2003-11-25 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.
2003-11-25 22:15:24 +00:00
Michael Chastain
c9f2c8a388
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 17:39:07 +00:00
Michael Chastain
15a0587afe
Fix typo in my e-mail address in last ChangeLog commit.
...
Argh!
2003-11-25 17:10:57 +00:00
Andrew Cagney
aff6338aa9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD. Add comments.
* Makefile.in (infrun.o): Update dependencies.
2003-11-25 16:01:36 +00:00
Michael Chastain
f4e8b6f343
2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
...
* gdb/class2.exp: New file.
* gdb/class2.cc: New file.
2003-11-25 15:01:31 +00:00
Michael Chastain
3c00b5704f
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.
2003-11-25 14:34:37 +00:00
gdbadmin
e3ab1ac027
*** empty log message ***
2003-11-25 00:00:32 +00:00
Daniel Jacobowitz
9e08b29bd1
* NEWS: Mention improved location expression support.
2003-11-24 17:02:34 +00:00
gdbadmin
c765be85d5
*** empty log message ***
2003-11-24 00:00:01 +00:00
Andrew Cagney
603942cc64
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.
2003-11-23 23:13:00 +00:00
Andrew Cagney
dd3ecc148c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_unwind_signed_register): Delete function.
* frame.h (frame_unwind_register_signed): Delete declaration.
* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
2003-11-23 21:49:12 +00:00
Andrew Cagney
eec1a5606c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
2003-11-23 21:32:42 +00:00
Mark Kettenis
7027acc712
* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
...
of gdb_test "run".
2003-11-23 21:14:45 +00:00
Andrew Cagney
cb137aa501
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* defs.h (DEPRECATED_STREQN): Rename STREQN.
(DEPRECATED_STREQ): Rename STREQ.
* ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
* config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
* config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
* dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
* eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
* jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
* mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
* p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
* source.c, sparc-tdep.c, stack.c, target.c: Update.
2003-11-23 20:41:17 +00:00
Mark Kettenis
b0e1598abf
* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
...
"continue" into "run".
2003-11-23 19:30:52 +00:00
Andrew Cagney
66c5728963
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* elfread.c (elf_symtab_read): Delete STREQ from comment.
2003-11-23 19:24:05 +00:00
Michael Chastain
4d9eda44f5
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.
2003-11-23 18:24:46 +00:00
Michael Chastain
b729099eb3
2003-11-23 Michael Chastain <mec@shout.net>
...
Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.
2003-11-23 17:48:00 +00:00
Andrew Cagney
213cc0adce
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_frame_xmalloc): Delete function.
(deprecated_set_frame_extra_info_hack): Delete function.
(deprecated_set_frame_saved_regs_hack): Delete function.
* frame.h (deprecated_frame_xmalloc): Delete declaration.
(deprecated_set_frame_extra_info_hack): Delete declaration.
(deprecated_set_frame_saved_regs_hack): Delete declaration.
* mcore-tdep.c (analyze_dummy_frame): Instead of
deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
and deprecated_set_frame_extra_info_hack use
deprecated_frame_xmalloc_with_cleanup.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Delete call to
deprecated_set_frame_saved_regs_hack.
2003-11-23 02:48:40 +00:00
Andrew Cagney
35bb18ac33
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_frame_chain): Delete call to
deprecated_inside_entry_file.
2003-11-23 01:25:39 +00:00
Andrew Cagney
d422fe19c6
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-23 01:09:19 +00:00
Andrew Cagney
38a7ce4b44
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
2003-11-23 00:27:54 +00:00
gdbadmin
86e3c56bd7
*** empty log message ***
2003-11-23 00:00:01 +00:00
Andrew Cagney
47ebcfbef9
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_register_convertible): Delete function.
(mips_register_convert_to_virtual): Delete function.
(mips_register_convert_to_raw): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_convertible",
"deprecated_register_convert_to_virtual", or
"deprecated_register_convert_to_raw".
(mips_pseudo_register_write, mips_pseudo_register_read): Handle
32/64 cooked to raw register conversions.
2003-11-22 23:24:16 +00:00
Andrew Cagney
2a9264f126
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_get_frame_context): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
(struct frame_info): Delete member "context".
* frame.h (deprecated_get_frame_context): Delete declaration.
(deprecated_set_frame_context): Delete declaration.
2003-11-22 23:00:37 +00:00
Andrew Cagney
7af6341f3b
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
2003-11-22 22:43:05 +00:00
Andrew Cagney
10a08821d3
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
mips_regsize.
(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
* config/mips/tm-irix5.h: Update copyright.
(SIGFRAME_REG_SIZE): Delete macro.
2003-11-22 22:32:28 +00:00
Andrew Cagney
00d3340373
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
declaration.
(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
* infcall.c (call_function_by_hand): Delete #ifdef
DEPRECATED_VALUE_RETURNED_FROM_STACK code.
* infcmd.c (print_return_value): Ditto.
2003-11-22 22:15:23 +00:00
Andrew Cagney
74da7425d5
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (skip_prologue_using_sal): New function.
(mips32_skip_prologue, mips16_skip_prologue): Use
skip_prologue_using_sal to get an upper bound on the search.
2003-11-22 21:12:24 +00:00
Andrew Cagney
369864a44d
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
#if 0'ed macro.
* infrun.c (step_into_function): Delete #ifdef
PROLOGUE_FIRSTLINE_OVERLAP code.
* symtab.c (find_function_start_sal): Ditto.
2003-11-22 16:01:03 +00:00
Andrew Cagney
a5a12285cc
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* remote-rdp.c: Update copyright.
(rdp_init): #if 0 references to "target_byte_order".
2003-11-22 15:48:30 +00:00
Andrew Cagney
29dfb2ac4c
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_o32_store_return_value): Delete function.
(mips_o32_return_value): Replace mips_o32_xfer_return_value.
(mips_o32_extract_return_value): Delete function.
(mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
(mips_n32n64_extract_return_value): Delete function.
(mips_n32n64_store_return_value): Delete function.
(mips_gdbarch_init): For o32 and n32n64, set "return_value"
instead of "store_return_value", "extract_return_value", and
"use_struct_convention".
(mips_n32n64_use_struct_convention): Delete function.
2003-11-22 14:04:39 +00:00
gdbadmin
b05aa31a76
*** empty log message ***
2003-11-22 00:00:04 +00:00
Kevin Buettner
3a3da38cb0
* frv-tdep.c (frv_frame_this_id): Eliminate call to
...
inside_entry_func().
2003-11-21 21:36:23 +00:00