Commit Graph

38731 Commits

Author SHA1 Message Date
Richard Earnshaw c1dac9e669 * Makefile.in (coff_internal_h): Define.
(arm-tdep.o): Update dependencies.
2003-03-22 14:42:54 +00:00
Richard Earnshaw 2702d96c11 * 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.
2003-03-22 14:31:30 +00:00
gdbadmin 29e0ede4d5 *** empty log message *** 2003-03-22 00:00:31 +00:00
Alan Modra 39a204f8bb daily update 2003-03-21 23:00:05 +00:00
Stephane Carrez 71b10041ee * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-21 20:34:38 +00:00
Stephane Carrez 27d5d74b1c * MAINTAINERS (tui): Maintainer of tui code. 2003-03-21 20:00:20 +00:00
DJ Delorie 25f14c34bd * elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
_bfd_elf_rela_local_sym.
2003-03-21 19:49:11 +00:00
Andreas Schwab e39edc66a9 * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
avoid aliasing issue.
2003-03-21 14:02:09 +00:00
Martin Schwidefsky af169f2333 * 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.
2003-03-21 13:28:09 +00:00
Martin Schwidefsky 1bd490c46b * 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.
2003-03-21 13:26:21 +00:00
Martin Schwidefsky 37a5879375 * 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.
2003-03-21 13:24:46 +00:00
Corinna Vinschen 1762d96d29 * 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.
2003-03-21 10:07:18 +00:00
gdbadmin 81c07bdb6c *** empty log message *** 2003-03-21 00:00:32 +00:00
Alan Modra a53a0369d7 daily update 2003-03-20 23:00:05 +00:00
Andrew Cagney f20d38b7ff 2003-03-20 Andrew Cagney <cagney@redhat.com>
* infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
	(handle_inferior_event): Remove code calling
	DYNAMIC_TRAMPOLINE_NEXTPC.
2003-03-20 22:52:53 +00:00
Andrew Cagney 0022b73869 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.
2003-03-20 22:43:10 +00:00
Andrew Cagney 864dbc904e 2003-03-20 Andrew Cagney <cagney@redhat.com>
* main.c (gdb_main): Return 1.
	(captured_main): Call error to report an invalid interpreter.
2003-03-20 22:25:16 +00:00
Andrew Cagney 4c2e239184 2003-03-20 Andrew Cagney <cagney@redhat.com>
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
	* alpha-osf1-tdep.c: Include "gdb_string.h".
2003-03-20 22:09:54 +00:00
H.J. Lu 04b3329bce 2003-03-20 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
	non-ELF outputs.
2003-03-20 16:04:18 +00:00
Corinna Vinschen 2512cf80ca * gdb.base/default.exp: Fix regular expression. 2003-03-20 14:45:50 +00:00
Corinna Vinschen 0d195a4f2d * gdb.base/args.exp: Fix regular expression. 2003-03-20 14:42:15 +00:00
Corinna Vinschen 8a2dbca8e1 * gdb.base/help.exp: Allow Win32 child process. 2003-03-20 14:19:41 +00:00
Corinna Vinschen bf02868245 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
2003-03-20 14:10:17 +00:00
Corinna Vinschen 182dbe8580 * gdb.base/default.exp: Check for win32 specific message when calling
"run" without executable.
2003-03-20 13:27:49 +00:00
Corinna Vinschen d67a6ba598 * gdb.base/args.exp: Expect .exe in output. 2003-03-20 13:06:51 +00:00
Corinna Vinschen a955b5bb63 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
2003-03-20 12:57:48 +00:00
Nick Clifton dd97b6fd7d fix date on latest ChangeLog entry. 2003-03-20 12:32:05 +00:00
Nick Clifton f603c8fe44 Add Cirrus Maverick support to arm simulator 2003-03-20 12:25:07 +00:00
Nick Clifton c25cfdf8a2 Initialise $idata2 and $idata5 in case bfd_coff_final_link is not called. 2003-03-20 09:02:09 +00:00
D.Venkatasubramanian d1360fb06a 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.
2003-03-20 06:00:25 +00:00
gdbadmin bef85dc6ef *** empty log message *** 2003-03-20 00:00:31 +00:00
Alan Modra 1548bd26cd daily update 2003-03-19 23:00:06 +00:00
Joel Brobecker 5ef7553b46 * 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.
2003-03-19 20:14:01 +00:00
Kevin Buettner 7bde89676d * mdebugread.c (parse_symbol): For stEnd, we're done counting
when iss is issNull.
2003-03-19 19:45:49 +00:00
Andreas Schwab 4f39e30283 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.
2003-03-19 09:56:06 +00:00
Jakub Jelinek 3e1d7f19ec * 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.
2003-03-19 09:26:51 +00:00
Kevin Buettner b006a9e9ba * mips-tdep.c (mips_register_name): Fix fencepost error involving
NUM_REGS bounds check.
2003-03-19 06:49:17 +00:00
Kevin Buettner 5e2e9765a7 Print correct register names for MIPS targets using n32/n64 ABIs. 2003-03-19 06:21:14 +00:00
gdbadmin 2512814ebc *** empty log message *** 2003-03-19 00:00:02 +00:00
Jakub Jelinek 3fa1d9175d * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
againt mergeable sections.  Take r_addend into account when caching
	trampolines.
2003-03-18 23:14:35 +00:00
Alan Modra 19a0fc411b daily update 2003-03-18 23:00:06 +00:00
Andrew Cagney a2867626c1 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.
2003-03-18 22:03:29 +00:00
Andrew Cagney ac3b79201d just pretend these didn't get committed. 2003-03-18 21:50:27 +00:00
Danny Smith 4064c85643 * defilep.y (opt_base): If no number given, set to default
(-1), not 0.
2003-03-18 21:33:43 +00:00
Joel Brobecker 06600e0681 * infrun.c (observer.h): Add #include.
(normal_stop): Add call to observer_notify_normal_stop.
        * Makefile.in (infrun.o): Add dependency on observer.h.
2003-03-18 19:06:54 +00:00
Joel Brobecker 7daf4f5bcc 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.
2003-03-18 18:57:48 +00:00
Richard Henderson f86b235ae5 * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
local symbols that have no dyninfo.
2003-03-18 18:57:40 +00:00
Joel Brobecker 3371ccc06e * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
appear to be working in any case.
2003-03-18 18:26:41 +00:00
Joel Brobecker 4fbe891ea1 * 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.
2003-03-18 18:05:51 +00:00
Joel Brobecker bcd7e15f07 * 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.
2003-03-18 17:44:23 +00:00