gdbadmin [Tue, 25 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 24 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 24 Mar 2003 16:11:46 +0000 (16:11 +0000)]
Add --info command line switch
Nick Clifton [Mon, 24 Mar 2003 15:43:15 +0000 (15:43 +0000)]
Rename the all occurances of C54X to TIC54X.
Nick Clifton [Mon, 24 Mar 2003 11:28:35 +0000 (11:28 +0000)]
Move display_info() function into bucomm.c
Richard Earnshaw [Mon, 24 Mar 2003 09:53:41 +0000 (09:53 +0000)]
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
value was renamed to ARM_FLOAT_SOFT_FPA.
Andrew Cagney [Mon, 24 Mar 2003 03:54:51 +0000 (03:54 +0000)]
Index: ChangeLog
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
(DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update.
* objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* frame.c (legacy_saved_regs_this_id): Update.
(legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
* dummy-frame.h: Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-sun3.h: Update.
* blockframe.c (inside_main_func, frame_chain_valid): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
(rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
(frame_get_saved_regs): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
(i386_interix_back_one_frame): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
(hppa_init_extra_frame_info): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Index: doc/ChangeLog
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Algorithms, Target Architecture Definition):
Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID.
gdbadmin [Mon, 24 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Sun, 23 Mar 2003 10:16:44 +0000 (10:16 +0000)]
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.
gdbadmin [Sun, 23 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Danny Smith [Sat, 22 Mar 2003 21:04:50 +0000 (21:04 +0000)]
* dlltool.c (gen_def_file): Put demangled name comments on
own line preceding export name.
Richard Earnshaw [Sat, 22 Mar 2003 20:39:21 +0000 (20:39 +0000)]
* arm-tdep.h (arm_float_model): Add AUTO and LAST values.
(arm_get_fp_model): Declare.
* arm-tdep.c (fp_model_strings): New string array.
(arm_fp_model, current_fp_model): New variables.
(arm_get_fp_model): New function.
(arm_set_fp): New function.
(set_fp_model_sfunc): New function.
(show_fp_model): New function.
(_initialize_arm_tdep): Add new command to set/show the FPU.
(arm_extract_return_value): Use arm_get_fp_model.
(arm_store_return_value): Likewise.
(arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
to initialize the floating-point data types.
* arm-linux-tdep.c (arm_linux_init_abi): The default floating point
model is FPA.
Doug Evans [Sat, 22 Mar 2003 18:56:45 +0000 (18:56 +0000)]
* i386-dis.c (dis386): Recognize icebp (0xf1).
Richard Earnshaw [Sat, 22 Mar 2003 18:01:38 +0000 (18:01 +0000)]
* arm-tdep.c (show_arm_command): Don't print out help. Instead, show
the current setting of each value.
(_initialize_arm_tdep): Delete variable new_cmd and add new vars
new_set and new_show. Use add_setshow_cmd_full and
add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
commands and add new version as subcommands of "set/show arm".
Richard Earnshaw [Sat, 22 Mar 2003 16:22:18 +0000 (16:22 +0000)]
* arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
(set_arm_command, show_arm_command): New functions.
(_initialize_arm_tdep): Add them.
(num_disassembly_options): Renamed from num_flavor_options.
(valid_disassembly_styles): Renamed from valid_flavors.
(disassembly_style): Renamed from disassembly_flavor.
(set_disassembly_style_sfunc): Renamed from
set_disassembly_flavor_sfunc.
(set_disassembly_style): Renamed from set_disassembly_flavor.
(arm_othernames): Updated.
(_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
command. Add "set/show arm disassembly" commands. Deprecate
"othernames" command.
Richard Earnshaw [Sat, 22 Mar 2003 14:54:58 +0000 (14:54 +0000)]
* Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
(arm-tdep.o): Depend on elf_arm_h.
Richard Earnshaw [Sat, 22 Mar 2003 14:42:54 +0000 (14:42 +0000)]
* Makefile.in (coff_internal_h): Define.
(arm-tdep.o): Update dependencies.
Richard Earnshaw [Sat, 22 Mar 2003 14:31:30 +0000 (14:31 +0000)]
* arm-tdep.c (prologue_cache): Delete.
(check_prologue_cache, save_prologue_cache): Delete.
(arm_scan_prologue): Don't check or update the prologue_cache.
(arm_gdb_arch_init): Don't initialize it.
(_initialize_arm_tdep): Likewise.
gdbadmin [Sat, 22 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 21 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Stephane Carrez [Fri, 21 Mar 2003 20:34:38 +0000 (20:34 +0000)]
* gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
Stephane Carrez [Fri, 21 Mar 2003 20:00:20 +0000 (20:00 +0000)]
* MAINTAINERS (tui): Maintainer of tui code.
DJ Delorie [Fri, 21 Mar 2003 19:49:11 +0000 (19:49 +0000)]
* elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
_bfd_elf_rela_local_sym.
Andreas Schwab [Fri, 21 Mar 2003 14:02:09 +0000 (14:02 +0000)]
* config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
avoid aliasing issue.
Martin Schwidefsky [Fri, 21 Mar 2003 13:28:09 +0000 (13:28 +0000)]
* s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
S390_OPCODE_ZARCH.
(print_insn_s390): Use new modes field of s390_opcodes.
* s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove.
(s390_opcode_mode_val, s390_opcode_cpu_val): New enums.
(struct op_struct): Remove archbits. Add mode_bits and min_cpu.
(insertOpcode): Replace archbits by min_cpu and mode_bits.
(dumpTable): Write mode_bits and min_cpu instead of archbits.
(main): Adapt to new format in s390-opcode.txt.
* s390-opc.c (s390_opformats): Replace archbits by min_cpu and
mode_bits.
* s390-opc.txt: Replace archbits by min_cpu and mode_bits.
Martin Schwidefsky [Fri, 21 Mar 2003 13:26:21 +0000 (13:26 +0000)]
* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
(s390_opcode): Remove architecture. Add modes and min_cpu.
Martin Schwidefsky [Fri, 21 Mar 2003 13:24:46 +0000 (13:24 +0000)]
* config/tc-s390.c (s390_arch_size): Initialize to zero.
(current_arch_mask): Rename to current_mode_mask.
(current_arch_requested): Remove variable.
(current_cpu): New variable.
(init_default_arch): Set defaults values for s390_arch_size,
current_mode_mask and current_cpu.
(md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
(md_begin): Replace current_arch_mask by current_cpu.
(md_assemble): Adapt check and error message to current_mode_mask and
current_cpu.
Corinna Vinschen [Fri, 21 Mar 2003 10:07:18 +0000 (10:07 +0000)]
* Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
(i386-cygwin-tdep.o): Add dependencies.
* defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
* i386-cygwin-tdep.c: New file.
* osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
* config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
gdbadmin [Fri, 21 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 20 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 20 Mar 2003 22:52:53 +0000 (22:52 +0000)]
2003-03-20 Andrew Cagney <cagney@redhat.com>
* infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
(handle_inferior_event): Remove code calling
DYNAMIC_TRAMPOLINE_NEXTPC.
Andrew Cagney [Thu, 20 Mar 2003 22:43:10 +0000 (22:43 +0000)]
2003-03-20 Andrew Cagney <cagney@redhat.com>
* Makefile.in (init.c): Don't add $(srcdir) prefix when a file
already has a full path.
Andrew Cagney [Thu, 20 Mar 2003 22:25:16 +0000 (22:25 +0000)]
2003-03-20 Andrew Cagney <cagney@redhat.com>
* main.c (gdb_main): Return 1.
(captured_main): Call error to report an invalid interpreter.
Andrew Cagney [Thu, 20 Mar 2003 22:09:54 +0000 (22:09 +0000)]
2003-03-20 Andrew Cagney <cagney@redhat.com>
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
* alpha-osf1-tdep.c: Include "gdb_string.h".
H.J. Lu [Thu, 20 Mar 2003 16:04:18 +0000 (16:04 +0000)]
2003-03-20 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
non-ELF outputs.
Corinna Vinschen [Thu, 20 Mar 2003 14:45:50 +0000 (14:45 +0000)]
* gdb.base/default.exp: Fix regular expression.
Corinna Vinschen [Thu, 20 Mar 2003 14:42:15 +0000 (14:42 +0000)]
* gdb.base/args.exp: Fix regular expression.
Corinna Vinschen [Thu, 20 Mar 2003 14:19:41 +0000 (14:19 +0000)]
* gdb.base/help.exp: Allow Win32 child process.
Corinna Vinschen [Thu, 20 Mar 2003 14:10:17 +0000 (14:10 +0000)]
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
Corinna Vinschen [Thu, 20 Mar 2003 13:27:49 +0000 (13:27 +0000)]
* gdb.base/default.exp: Check for win32 specific message when calling
"run" without executable.
Corinna Vinschen [Thu, 20 Mar 2003 13:06:51 +0000 (13:06 +0000)]
* gdb.base/args.exp: Expect .exe in output.
Corinna Vinschen [Thu, 20 Mar 2003 12:57:48 +0000 (12:57 +0000)]
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
Nick Clifton [Thu, 20 Mar 2003 12:32:05 +0000 (12:32 +0000)]
fix date on latest ChangeLog entry.
Nick Clifton [Thu, 20 Mar 2003 12:25:07 +0000 (12:25 +0000)]
Add Cirrus Maverick support to arm simulator
Nick Clifton [Thu, 20 Mar 2003 09:02:09 +0000 (09:02 +0000)]
Initialise $idata2 and $idata5 in case bfd_coff_final_link is not called.
D.Venkatasubramanian [Thu, 20 Mar 2003 06:00:25 +0000 (06:00 +0000)]
Added Commandline Support.
2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* compile.c (cmdline_location): Added function to
return the location of 8-bit (256 locations) where the
Command Line arguments would be stored.
(decode): Added a TRAP to 0xcc for Commandline
processing using pseudo opcode O_SYS_CMDLINE.
(sim_resume): Added handling of O_SYS_CMDLINE Trap.
(sim_create_inferior): Setting a pointer to
Commandline Args array.
* inst.h: Added a new variable ptr_command_line for
storing pointer to Commandline array.
gdbadmin [Thu, 20 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 19 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Wed, 19 Mar 2003 20:14:01 +0000 (20:14 +0000)]
* hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
method, now that hppa_push_dummy_frame has a conformant prototype.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
for the switch to multiarch partial.
Kevin Buettner [Wed, 19 Mar 2003 19:45:49 +0000 (19:45 +0000)]
* mdebugread.c (parse_symbol): For stEnd, we're done counting
when iss is issNull.
Andreas Schwab [Wed, 19 Mar 2003 09:56:06 +0000 (09:56 +0000)]
* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.
Jakub Jelinek [Wed, 19 Mar 2003 09:26:51 +0000 (09:26 +0000)]
* elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count
field.
(canon_reloc_count): Define.
(sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table,
sparc64_elf_canonicalize_dynamic_reloc): Use it instead of
reloc_count.
(sparc64_elf_canonicalize_reloc): New routine.
(bfd_elf64_canonicalize_reloc): Define.
Kevin Buettner [Wed, 19 Mar 2003 06:49:17 +0000 (06:49 +0000)]
* mips-tdep.c (mips_register_name): Fix fencepost error involving
NUM_REGS bounds check.
Kevin Buettner [Wed, 19 Mar 2003 06:21:14 +0000 (06:21 +0000)]
Print correct register names for MIPS targets using n32/n64 ABIs.
gdbadmin [Wed, 19 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jakub Jelinek [Tue, 18 Mar 2003 23:14:35 +0000 (23:14 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
againt mergeable sections. Take r_addend into account when caching
trampolines.
Alan Modra [Tue, 18 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 18 Mar 2003 22:03:29 +0000 (22:03 +0000)]
2003-03-18 Andrew Cagney <cagney@redhat.com>
* printcmd.c (print_scalar_formatted): Change VALADDR parameter to
a void pointer.
* gdbtypes.h (print_scalar_formatted): Update declaration.
* expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
Andrew Cagney [Tue, 18 Mar 2003 21:50:27 +0000 (21:50 +0000)]
just pretend these didn't get committed.
Danny Smith [Tue, 18 Mar 2003 21:33:43 +0000 (21:33 +0000)]
* defilep.y (opt_base): If no number given, set to default
(-1), not 0.
Joel Brobecker [Tue, 18 Mar 2003 19:06:54 +0000 (19:06 +0000)]
* infrun.c (observer.h): Add #include.
(normal_stop): Add call to observer_notify_normal_stop.
* Makefile.in (infrun.o): Add dependency on observer.h.
Joel Brobecker [Tue, 18 Mar 2003 18:57:48 +0000 (18:57 +0000)]
Continuing work to convert the hppa targets to multiarch partial.
* hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
parameter. Reformat comment.
* config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
(DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
to match new profile.
Richard Henderson [Tue, 18 Mar 2003 18:57:40 +0000 (18:57 +0000)]
* elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
local symbols that have no dyninfo.
Joel Brobecker [Tue, 18 Mar 2003 18:26:41 +0000 (18:26 +0000)]
* hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
appear to be working in any case.
Joel Brobecker [Tue, 18 Mar 2003 18:05:51 +0000 (18:05 +0000)]
* observer.c (observer_test_first_observer): New static variable.
(observer_test_second_observer): Likewise.
(observer_test_third_observer): Likewise.
(observer_test_first_notification_function): New static function.
(observer_test_second_notification_function): Likewise.
(observer_test_third_notification_function): Likewise.
Joel Brobecker [Tue, 18 Mar 2003 17:44:23 +0000 (17:44 +0000)]
* gdbint.texinfo (Algorithms): Add new section describing the
Observer paradigm.
(Top): Add menu entry to new observer appendix.
* observer.texi: New file.
* Makefile.in (GDBINT_DOC_SOURCE_INCLUDES): Add dependency on
new observer.texi file.
gdbadmin [Tue, 18 Mar 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Mon, 17 Mar 2003 23:25:09 +0000 (23:25 +0000)]
* hppa-tdep.c (gdb_assert.h): Add missing #include.
* somsolib.c (gdb_assert.h): Likewise.
* Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
(somsolib.o): Likewise.
DJ Delorie [Mon, 17 Mar 2003 23:09:54 +0000 (23:09 +0000)]
merge from gcc
Alan Modra [Mon, 17 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 17 Mar 2003 20:06:16 +0000 (20:06 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
vector registes.
* gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
* gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
Andrew Cagney [Mon, 17 Mar 2003 19:57:12 +0000 (19:57 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* disasm.c (gdb_disassembly): Set di.mach using the architecture's
BFD. Simplify setting of di.endian.
David Carlton [Mon, 17 Mar 2003 19:51:58 +0000 (19:51 +0000)]
2003-03-17 David Carlton <carlton@math.stanford.edu>
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
test, for PR breakpoints/38.
Call test_watchpoint_and_breakpoint.
* gdb.base/watchpoint.c (func3): New function.
(main): Call func3.
Daniel Jacobowitz [Mon, 17 Mar 2003 19:39:53 +0000 (19:39 +0000)]
* configure.in: Check for stdlib.h.
* configure: Regenerated.
* config.in: Regenerated.
Andrew Cagney [Mon, 17 Mar 2003 18:27:07 +0000 (18:27 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (ppc_floating_point_unit_p): New function.
* ppc-tdep.h (ppc_floating_point_unit_p): Declare.
From Elena Zannoni <ezannoni@redhat.com>
* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
vector and floating-point parameters.
(ppc_sysv_abi_use_struct_convention): Handle e500 struct return
convention.
(ppc_sysv_abi_broken_use_struct_convention): Ditto.
DJ Delorie [Mon, 17 Mar 2003 18:01:07 +0000 (18:01 +0000)]
merge from gcc
Fernando Nasser [Mon, 17 Mar 2003 15:01:48 +0000 (15:01 +0000)]
* MAINTAINERS: Remove my name from several maintainership roles.
Andrew Cagney [Mon, 17 Mar 2003 14:46:35 +0000 (14:46 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (DATE): Delete. Remove date from titles. Mention
that GNU Press update the manual version number.
Andrew Cagney [Mon, 17 Mar 2003 14:23:50 +0000 (14:23 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
Fix frame off-by-one bug.
* frame-unwind.h (frame_this_id_ftype): Replace
frame_unwind_id_ftype.
(frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
(struct frame_unwind): Replace "id" with "this_id". Replace "reg"
with "prev_register".
* frame-unwind.c (frame_unwind_find_by_pc): Return
legacy_saved_regs_unwind instead of trad_frame_unwind. Update
comment.
* dummy-frame.c (cached_find_dummy_frame): Delete function.
(dummy_frame_this_id): Replace dummy_frame_id_unwind.
(dummy_frame_prev_register): Replace dummy_frame_register_unwind.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_prev_register): Replace
sentinel_frame_register_unwind.
(sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
(sentinel_frame_unwinder): Update.
* frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
(struct frame_info): Rename "unwind_cache" to "prologue_cache".
* frame.c (create_sentinel_frame): Update. Initialize
"prologue_cache" instead of "unwind_cache".
(frame_register_unwind): Call this frame's prev_register with the
next frame and this frame's prologue cache.
(get_prev_frame): Simplify. Always call prev frame's this_id with
this frame and prev frame's prologue cache. Document that this
call is shifted one to the left when compared to the
frame_register_unwind call.
(legacy_saved_regs_prev_register): Replace
frame_saved_regs_register_unwind.
(legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
(legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
(legacy_saved_regs_unwind): Replace trad_frame_unwind.
* d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
(d10v_frame_unwind): Update.
(d10v_frame_prev_register): Replace d10v_frame_register_unwind.
(d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
(saved_regs_unwinder): Replace this "frame" with "next_frame", and
"saved_regs" with "this_saved_regs".
Nick Clifton [Mon, 17 Mar 2003 11:43:30 +0000 (11:43 +0000)]
Fix formatting. Update copyright date.
Nick Clifton [Mon, 17 Mar 2003 11:16:51 +0000 (11:16 +0000)]
(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
lines.
Nick Clifton [Mon, 17 Mar 2003 10:34:29 +0000 (10:34 +0000)]
(O_SYS_CMDLINE): New pseudo opcode for command line processing.
Nick Clifton [Mon, 17 Mar 2003 10:14:07 +0000 (10:14 +0000)]
nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
value when --size-sort is used, unless -S is used.
doc/binutils.texi (--size-sort): For non-bsd formats both the value and size
of the symbols are displayed.
gdbadmin [Mon, 17 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 16 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 16 Mar 2003 20:47:40 +0000 (20:47 +0000)]
2003-03-16 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_pop): Don't call target_store_registers. Fix
problem reported by Mark Kettenis.
Mark Kettenis [Sun, 16 Mar 2003 20:14:57 +0000 (20:14 +0000)]
* i386-tdep.c (i386_register_type): Renamed from
i386_register_virtual_type. Adjust function signature.
(i386_gdbarch_init): Set register_type instead of
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size and register_virtual_type.
gdbadmin [Sun, 16 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 15 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 15 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 14 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 14 Mar 2003 21:07:54 +0000 (21:07 +0000)]
ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
Nathanael Nerode [Fri, 14 Mar 2003 20:49:14 +0000 (20:49 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.
Andrew Cagney [Fri, 14 Mar 2003 20:34:14 +0000 (20:34 +0000)]
2003-03-14 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): When a legacy frame, always call
legacy_get_prev_frame. Simplify unwind code using assumption that
the unwinder is new.
(legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
(legacy_frame_p): When no gdbarch_unwind_dummy_id, or
SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
Michael Chastain [Fri, 14 Mar 2003 18:59:59 +0000 (18:59 +0000)]
2003-03-14 Michael Chastain <mec@shout.net>
* Makefile.in: Regenerate with correct Makefile.def.
Andrew Cagney [Fri, 14 Mar 2003 17:07:01 +0000 (17:07 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_saved_register): Delete function.
* xstormy16-tdep.c: Update comment.
* regcache.h: Update comments.
* sparc-tdep.c (sparc_init_extra_frame_info): Instead of
get_saved_register and extract_address, use
frame_read_unsigned_register.
(sparc_frame_saved_pc): Ditto.
(sparc_get_saved_register): Instead of get_saved_register, use
frame_register.
(sparc_pop_frame): Ditto.
* frame.h (get_saved_register): Delete declaration.
* findvar.c: Update comments.
(value_of_register): Call frame_register instead of
get_saved_register.
(value_from_register): Ditto.
* config/sparc/tm-sparc.h: Update comment.
* breakpoint.c: Update comment.
Index: doc/ChangeLog
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
references to get_saved_register.
Andrew Cagney [Fri, 14 Mar 2003 16:05:36 +0000 (16:05 +0000)]
2003-03-14 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
GET_SAVED_REGISTER.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h: Update comments.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frame.c (frame_register): Update.
(get_saved_register): Update.
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
Nick Clifton [Fri, 14 Mar 2003 12:47:20 +0000 (12:47 +0000)]
(ieee_write_expression): Handle the case where symbol is NULL.
D.Venkatasubramanian [Fri, 14 Mar 2003 04:12:01 +0000 (04:12 +0000)]
File I/O Support added.
2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* compile.c (decode): Added code for some more magic traps.
* compile.c (sim_resume): Added support for File I/O system
calls through callback to host_system.
System calls provided support for :
open, read, write, lseek, close, stat, fstat
Only basic support for stat and fstat.