OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
24 years agoInitial patches for IA-64 EFI (64-bit PE) support.
Jim Wilson [Mon, 17 Apr 2000 23:45:22 +0000 (23:45 +0000)]
Initial patches for IA-64 EFI (64-bit PE) support.
* pe.h (PEP64AOUTHDR): New header for PE+.
(PEP64AOUTSZ): New macro.
(IMAGE_SUBSYSTEM_UNKNOWN): New macro.
(IMAGE_SUBSYSTEM_NATIVE): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto.
(IMAGE_SUBSYSTEM_POSIX_CUI): Ditto.
(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto.
(IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto.
(IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto.
(IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto.
* internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined
already.
* ia64.h: New file.

24 years ago * ChangeLog-gdbtk: Renamed to ChangeLog
Jonathan Larmour [Mon, 17 Apr 2000 20:20:59 +0000 (20:20 +0000)]
    * ChangeLog-gdbtk: Renamed to ChangeLog
        * ChangeLog: New file
        * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c, gdbtk-varobj.c,
        gdbtk-wrapper.h, gdbtk-wrapper.c, gdbtk.h, gdbtk.c: No need for
        changelog-default-name hint for Emacs now

24 years ago * ChangeLog-gdbtk: Renamed to ChangeLog
Jonathan Larmour [Mon, 17 Apr 2000 20:20:20 +0000 (20:20 +0000)]
    * ChangeLog-gdbtk: Renamed to ChangeLog
        * ChangeLog: New file
        * README.GDBTK: No need for changelog-default-name hint for Emacs now

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:14:37 +0000 (16:14 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdb.base/help.exp: Update output for add-symbol-file command.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:12:39 +0000 (16:12 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdb.texinfo (Files): Update description of add-symbol-file
        command.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 16:09:04 +0000 (16:09 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* symfile.h (struct section_addr_info ): Remove fields for special
  treatment of .text, .data and .bss sections.

* solib.c (symbol_add_stub): The special field text_addr is not
  available anymore. Search for the .text field the hard way.

* symfile.c (build_section_addr_info_from_section_table): Don't
  fill in {text, data, bss}_addr any more.
(default_symfile_offsets): Don't use {text, data, bss}_addr fields
  to fill in section_offsets for objfile.
(syms_from_objfile): Don't deal with {text, data, bss}_addr as a
  special case anymore.
        (add_symbol_file_command): Ditto.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 15:59:56 +0000 (15:59 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

symfile.c: (symbol_file_command): Remove support for rombug, to
  simplify code.

24 years ago2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 17 Apr 2000 15:47:17 +0000 (15:47 +0000)]
2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* symfile.c (add_symbol_file_command): Rewrite the arguments
  processing part. Simplify syntax of command. Remove support for
  rombug.
(_initialize_symfile): Update help message for add-symbol-file
  command.

24 years agoFixed incorrect date on the previous entry.
Eli Zaretskii [Mon, 17 Apr 2000 10:56:17 +0000 (10:56 +0000)]
Fixed incorrect date on the previous entry.

24 years ago * gdb.texinfo (Porting GDB): Don't use @value in the node name, it
Eli Zaretskii [Mon, 17 Apr 2000 10:46:50 +0000 (10:46 +0000)]
* gdb.texinfo (Porting GDB): Don't use @value in the node name, it
prevents the build (and is generally a Bad Idea).

24 years ago * gdb.texinfo (Protocol): Prevent makeinfo from complaining about
Eli Zaretskii [Mon, 17 Apr 2000 10:42:13 +0000 (10:42 +0000)]
* gdb.texinfo (Protocol): Prevent makeinfo from complaining about
a comma inside @var.
(Command Files): Index markup changes from Dmitry Sivachenko
<dima@Chg.RU>.

24 years agoFix typo.
Alan Modra [Mon, 17 Apr 2000 07:54:12 +0000 (07:54 +0000)]
Fix typo.

24 years agoOnly dump IEEE_FLOAT when defined.
Andrew Cagney [Mon, 17 Apr 2000 05:59:42 +0000 (05:59 +0000)]
Only dump IEEE_FLOAT when defined.

24 years ago* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
Andrew Cagney [Mon, 17 Apr 2000 02:27:37 +0000 (02:27 +0000)]
* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
(BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
ADDRESS_TO_POINTER): Delete default definition.  Handled by
gdbarch.

* gdbarch.sh: Make multi-arch defaults, defaults for non-
multi-arch targets.
(REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
Provide default/legacy implementation.
(REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
* gdbarch.h, gdbarch.c: Re-generate.

24 years ago*** empty log message ***
Jim Blandy [Sun, 16 Apr 2000 16:04:59 +0000 (16:04 +0000)]
*** empty log message ***

24 years ago* findvar.c (store_typed_address, extract_typed_address): Fix
Jim Blandy [Sun, 16 Apr 2000 16:04:53 +0000 (16:04 +0000)]
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.

24 years ago * Makefile.in (LN_S): Define.
Eli Zaretskii [Sun, 16 Apr 2000 08:47:41 +0000 (08:47 +0000)]
* Makefile.in (LN_S): Define.
(gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't
invoke "ln -s" unless it is known to work.

* configure.in (AC_PROG_LN_S): Add.

24 years ago * config/djgpp/config.sed: Fix the lines which edit clean: and
Eli Zaretskii [Sun, 16 Apr 2000 08:16:03 +0000 (08:16 +0000)]
* config/djgpp/config.sed: Fix the lines which edit clean: and
        uninstall-info: targets.

24 years ago2000-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 14 Apr 2000 19:32:44 +0000 (19:32 +0000)]
2000-04-14  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.

24 years agoBring IEEE_FLOAT under gdbarch's control.
Jim Blandy [Fri, 14 Apr 2000 19:14:19 +0000 (19:14 +0000)]
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).

24 years ago2000-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 14 Apr 2000 19:14:15 +0000 (19:14 +0000)]
2000-04-14  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_NETBSD): Defined.
(ELFOSABI_HURD): Likewise.
(ELFOSABI_SOLARIS): Likewise.
(ELFOSABI_MONTEREY): Likewise.
(ELFOSABI_IRIX): Likewise.
(ELFOSABI_FREEBSD): Likewise.
(ELFOSABI_TRUE64): Likewise.

24 years ago*** empty log message ***
Jim Blandy [Fri, 14 Apr 2000 18:46:19 +0000 (18:46 +0000)]
*** empty log message ***

24 years ago* gdbint.texinfo (Pointers Are Not Always Addresses): New manual
Jim Blandy [Fri, 14 Apr 2000 18:46:17 +0000 (18:46 +0000)]
* gdbint.texinfo (Pointers Are Not Always Addresses): New manual
section.
(Target Conditionals): Document ADDRESS_TO_POINTER,
POINTER_TO_ADDRESS.

24 years ago* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
Jim Blandy [Fri, 14 Apr 2000 18:43:41 +0000 (18:43 +0000)]
* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
functions which architectures can redefine, defaulting to
generic_pointer_to_address and generic_address_to_pointer.
* findvar.c (extract_typed_address, store_typed_address,
generic_pointer_to_address, generic_address_to_pointer): New
functions.
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
definitions.
(extract_address, store_address): Doc fixes.
* values.c (value_as_pointer): Doc fix.
(value_from_pointer): New function.
* defs.h (extract_typed_address, store_typed_address): New
declarations.
* inferior.h (generic_address_to_pointer,
generic_pointer_to_address): New declarations.
* value.h (value_from_pointer): New declaration.

* ax-gdb.c (const_var_ref): Use value_from_pointer, not
value_from_longest.
* blockframe.c (generic_push_dummy_frame): Use read_pc and
read_sp, not read_register.
* c-valprint.c (c_val_print): Use extract_typed_address instead of
extract_address to extract vtable entries and references.
* cp-valprint.c (cp_print_value_fields): Use value_from_pointer
instead of value_from_longest to extract the vtable's address.
* eval.c (evaluate_subexp_standard): Use value_from_pointer
instead of value_from_longest to compute `this', and for doing
pointer-to-member dereferencing.
* findvar.c (read_register): Use extract_unsigned_integer, not
extract_address.
(read_var_value): Use store_typed_address instead of store_address
for building label values.
(locate_var_value): Use value_from_pointer instead of
value_from_longest.
* hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
instead of value_from_longest, to build arguments to __d_shl_get.
* printcmd.c (set_next_address): Use value_from_pointer, not
value_from_longest.
(x_command): Use value_from_pointer, not value_from_longest.
* tracepoint.c (set_traceframe_context): Use value_from_pointer,
not value_from_longest.
* valarith.c (value_add, value_sub): Use value_from_pointer, not
value_from_longest.
* valops.c (find_function_in_inferior, value_coerce_array,
value_coerce_function, value_addr, hand_function_call): Same.
* value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
* values.c (unpack_long): Use extract_typed_address to produce
addresses from pointers and references, not extract_address.
(value_from_longest): Use store_typed_address instead of
store_address to produce pointer and reference values.

24 years ago * console.itb (Console::_complete): Dequoted first argument to
Tom Tromey [Fri, 14 Apr 2000 14:45:37 +0000 (14:45 +0000)]
* console.itb (Console::_complete): Dequoted first argument to
switch.  Window name is `$_twin', not `_twin'.

24 years ago2000-04-13 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Fri, 14 Apr 2000 10:13:50 +0000 (10:13 +0000)]
2000-04-13  Mark Kettenis  <kettenis@gnu.org>

* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
HAVE_PSADDR_T): Add them here instead of in config.in.

* acconfig.h (PRFPREGSET_T_BROKEN): New define.
* configure.in: Add check for broken prfpregset_t type.
* lin-thread.c (gdb_prfpregset): New typedef, depends on
definition of PRFPREGSET_T_BROKEN.
(ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
p_td_thr_setfpregs, thread_db_fetch_registers,
thread_db_store_registers): Use gdb_prfpregset_t instead of
prfpregset_t.
* config.in: Regenerated.
* configure: Regenerated.

24 years ago * gdbtk.c (gdbtk_init): For now, reset gdb_stdtarg to gdb_stdout
Jonathan Larmour [Fri, 14 Apr 2000 08:04:46 +0000 (08:04 +0000)]
    * gdbtk.c (gdbtk_init): For now, reset gdb_stdtarg to gdb_stdout
        when using gdbtk.

24 years agoMore portability patches. Include sysdep.h everywhere.
Alan Modra [Fri, 14 Apr 2000 04:16:58 +0000 (04:16 +0000)]
More portability patches.  Include sysdep.h everywhere.

24 years ago* mips-tdep.c (do_fp_register_row): copy the number of bytes
DJ Delorie [Thu, 13 Apr 2000 22:58:42 +0000 (22:58 +0000)]
* mips-tdep.c (do_fp_register_row): copy the number of bytes
allocated, not the size of the pointer.

24 years ago * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
Peter Schauer [Thu, 13 Apr 2000 18:11:41 +0000 (18:11 +0000)]
* config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS):  Define.
* config/i386/tm-i386sol2.h (HAVE_I387_REGS):  Define.
* i386v4-nat.c (supply_fpregset, fill_fpregset):  Add code
to handle floating point registers if NUM_FREGS is not zero.

24 years ago * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
Nicholas Duffek [Thu, 13 Apr 2000 16:31:50 +0000 (16:31 +0000)]
* sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
and document to_find_new_threads bug.

24 years ago * infrun.c (proceed, normal_stop): Change the error message about
Eli Zaretskii [Thu, 13 Apr 2000 10:22:22 +0000 (10:22 +0000)]
* infrun.c (proceed, normal_stop): Change the error message about
failure to insert breakpoints/watchpoints so that it makes sense
even if ptrace is not used or no other processes can be active.

24 years agoOnly re-generate copying.c when maintainer mode.
Andrew Cagney [Thu, 13 Apr 2000 05:33:41 +0000 (05:33 +0000)]
Only re-generate copying.c when maintainer mode.

24 years agoIA-64 watchpoint support.
Kevin Buettner [Thu, 13 Apr 2000 02:18:13 +0000 (02:18 +0000)]
IA-64 watchpoint support.

24 years ago* Makefile.in (gdb-taz): New target. GDB specific archive.
Andrew Cagney [Thu, 13 Apr 2000 02:17:35 +0000 (02:17 +0000)]
* Makefile.in (gdb-taz): New target.  GDB specific archive.
(do-md5sum): New target.
(MD5PROG): Define.
(PACKAGE): Default to TOOL.
(VER): Default to a shell script.
(taz): Rewrite target.  Move real work to do-proto-toplev.  Include
md5 checksum generation.
(do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link.
(do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link.
(gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2,
insight.tar.bz2): Use gdb-taz to create archive.

24 years agoRemove U suffix from constants for K&R compilers.
Alan Modra [Thu, 13 Apr 2000 01:08:05 +0000 (01:08 +0000)]
Remove U suffix from constants for K&R compilers.
Fix a couple of 64 bit nits.

24 years ago * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
Eli Zaretskii [Wed, 12 Apr 2000 17:04:42 +0000 (17:04 +0000)]
* go32-nat.c (go32_insert_hw_breakpoint): When there are no more
hardware breakpoint resources, return EBUSY.
(go32_handle_nonaligned_watchpoint): If the argument WHAT is not
one of the enumerated values, return EINVAL.

24 years ago * README: Mention special build instructions for DJGPP.
Eli Zaretskii [Wed, 12 Apr 2000 16:51:27 +0000 (16:51 +0000)]
* README: Mention special build instructions for DJGPP.
* NEWS: Update with FP features on x87 platforms, and
DJGPP-related changes.

24 years ago * top.c (gdb_completer_file_name_break_characters): New variable.
Eli Zaretskii [Wed, 12 Apr 2000 16:43:27 +0000 (16:43 +0000)]
* top.c (gdb_completer_file_name_break_characters): New variable.
(line_completion_function): When completing on file names, use
gdb_completer_file_name_break_characters as word break
characters for the readline library.

24 years agoTypos fixed (from Dmitry Sivachenko <dima@Chg.RU>).
Eli Zaretskii [Wed, 12 Apr 2000 16:35:02 +0000 (16:35 +0000)]
Typos fixed (from Dmitry Sivachenko <dima@Chg.RU>).

24 years agoChangelog entry for gdbint.texinfo fix
Daniel Berlin [Wed, 12 Apr 2000 02:27:39 +0000 (02:27 +0000)]
Changelog entry for gdbint.texinfo fix

24 years agoGDB->@value{GDBN}
Daniel Berlin [Wed, 12 Apr 2000 02:26:59 +0000 (02:26 +0000)]
GDB->@value{GDBN}

24 years ago2000-04-12 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 12 Apr 2000 00:22:56 +0000 (00:22 +0000)]
2000-04-12  Mark Kettenis  <kettenis@gnu.org>

* i387-tdep.c (print_i387_value): Avoid call to
floatformat_to_doublest if long double type is the same on host
and target.

24 years agoFix auto-dependency bug.
Alan Modra [Tue, 11 Apr 2000 23:57:13 +0000 (23:57 +0000)]
Fix auto-dependency bug.

24 years agoAllow address wrap for bitfields again.
Alan Modra [Tue, 11 Apr 2000 23:01:50 +0000 (23:01 +0000)]
Allow address wrap for bitfields again.

24 years ago2000-04-11 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 11 Apr 2000 19:41:11 +0000 (19:41 +0000)]
2000-04-11  Fernando Nasser  <fnasser@cygnus.com>

* wrapper.h: Remove definitions of internal functions.
* wrapper.c: Remove definitions of exported functions (which are
already in wrapper.h) and make static all internal wrap_* functions.

24 years agoFit 64-bit nits.
Alan Modra [Tue, 11 Apr 2000 13:07:56 +0000 (13:07 +0000)]
Fit 64-bit nits.

24 years agoMods to allow compilation of BFD all targets.
Timothy Wall [Tue, 11 Apr 2000 04:11:03 +0000 (04:11 +0000)]
Mods to allow compilation of BFD all targets.

24 years agoCleanup USE_INCLUDED_REGEX. Move -D to acconfig.h.
Andrew Cagney [Tue, 11 Apr 2000 01:21:15 +0000 (01:21 +0000)]
Cleanup USE_INCLUDED_REGEX.  Move -D to acconfig.h.

24 years agoMove arm_skip_solib_resolver from arm-linux-nat.c to arm-linux-tdep.c.
Scott Bambrough [Mon, 10 Apr 2000 21:02:33 +0000 (21:02 +0000)]
Move arm_skip_solib_resolver from arm-linux-nat.c to arm-linux-tdep.c.

2000-04-10  Philip Blundell <philb@gnu.org>

* arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
arm-linux-tdep.c.
* arm-linux-tdep.c (arm_skip_solib_resolver): New.

24 years ago2000-04-08 Tom Tromey <tromey@cygnus.com>
Jim Ingham [Mon, 10 Apr 2000 16:49:30 +0000 (16:49 +0000)]
2000-04-08  Tom Tromey  <tromey@cygnus.com>

* console.itb (Console::_build_win): Make Control-a, Control-u,
and Control-w bindings show the insertion point.

24 years ago*** empty log message ***
Jim Blandy [Mon, 10 Apr 2000 15:50:15 +0000 (15:50 +0000)]
*** empty log message ***

24 years agoUse the three-argument form of @xref to get the references right.
Jim Blandy [Mon, 10 Apr 2000 15:50:02 +0000 (15:50 +0000)]
Use the three-argument form of @xref to get the references right.

24 years ago* arm abort fix
Frank Ch. Eigler [Mon, 10 Apr 2000 15:35:56 +0000 (15:35 +0000)]
* arm abort fix

2000-03-11  Philip Blundell  <philb@gnu.org>

* armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
Patch from Allan Skillman <Allan.Skillman@arm.com>.

24 years ago* gdbint.texinfo (Target Architecture Definition): Fix screwed-up
Jim Blandy [Mon, 10 Apr 2000 15:33:19 +0000 (15:33 +0000)]
* gdbint.texinfo (Target Architecture Definition): Fix screwed-up
references to ``Using Different Register and Memory Data
Representations''.

24 years ago2000-04-10 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 10 Apr 2000 15:07:37 +0000 (15:07 +0000)]
2000-04-10  Fernando Nasser  <fnasser@cygnus.com>

From 2000-04-10 Rodney Brown <rdb@redhat.com>:
* command.h (enum command_class): Remove trailing "," to placate
AIX xlc.

24 years ago2000-04-10 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 10 Apr 2000 14:14:54 +0000 (14:14 +0000)]
2000-04-10  Fernando Nasser  <fnasser@cygnus.com>

From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gdb.base/structs2.c: Support platforms defaulting to a unsigned char.

24 years agoTODO, NEWS: Update. Mention MI.
Andrew Cagney [Mon, 10 Apr 2000 10:52:19 +0000 (10:52 +0000)]
TODO, NEWS: Update.  Mention MI.

24 years agoRename gdbarch-utils.[hc] to arch-utils.[hc]
Andrew Cagney [Sun, 9 Apr 2000 14:37:28 +0000 (14:37 +0000)]
Rename gdbarch-utils.[hc] to arch-utils.[hc]

24 years agoRename gdbarch-utils.[hc] to arch-utils.[hc].
Andrew Cagney [Sun, 9 Apr 2000 14:35:35 +0000 (14:35 +0000)]
Rename gdbarch-utils.[hc] to arch-utils.[hc].

24 years agoFix printf botch.
Andrew Cagney [Sun, 9 Apr 2000 14:15:43 +0000 (14:15 +0000)]
Fix printf botch.

24 years ago2000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.c
Andrew Cagney [Sun, 9 Apr 2000 13:29:52 +0000 (13:29 +0000)]
2000-04-07 J.T. Conklin <jtc@redback.com>: lynx-nat.c
(fetch_inferior_registers, store_inferior_registers): replace calls to
target_xfer_memory() with target_read_memory() and
target_write_memory().

24 years agoCompare VALUE_ADDRESS() return value with ZERO not NULL.
Andrew Cagney [Sun, 9 Apr 2000 13:02:10 +0000 (13:02 +0000)]
Compare VALUE_ADDRESS() return value with ZERO not NULL.

24 years agoRemove ``-W -Wall'' from top-level Makefile/configure.
Andrew Cagney [Sun, 9 Apr 2000 12:17:43 +0000 (12:17 +0000)]
Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it.  Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.

24 years ago* am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
Alexandre Oliva [Sun, 9 Apr 2000 09:04:54 +0000 (09:04 +0000)]
* am33.igen: Make SP-relative offsets unsigned.  Add `*am33' for
some instructions that were missing it.

24 years ago* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
Jim Blandy [Sat, 8 Apr 2000 22:35:35 +0000 (22:35 +0000)]
* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
Don't include "bfd-elf.h".
(address_significant_size): Delete variable.
(dwarf2_build_psymtabs_hard): Don't set it, or check for
consistency between it and the Dwarf 2 compilation unit header
address size.
(read_address): Don't mask off bits above
address_significant_size.
* Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
(elf_bfd_h): Remove variable; it's no longer used.

24 years ago*** empty log message ***
Jim Blandy [Sat, 8 Apr 2000 17:49:50 +0000 (17:49 +0000)]
*** empty log message ***

24 years ago* gdbint.texinfo (Using Different Register and Memory Data
Jim Blandy [Sat, 8 Apr 2000 17:49:31 +0000 (17:49 +0000)]
* gdbint.texinfo (Using Different Register and Memory Data
Representations): New section.
(REGISTER_CONVERTIBLE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE,
REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Document.

24 years agoFix copyright comments and file comments.
Timothy Wall [Sat, 8 Apr 2000 17:26:16 +0000 (17:26 +0000)]
Fix copyright comments and file comments.

24 years ago * configure.in (NEW_PROC_API): Escape square brackets when testing
Peter Schauer [Sat, 8 Apr 2000 11:13:17 +0000 (11:13 +0000)]
* configure.in (NEW_PROC_API):  Escape square brackets when testing
for solaris2.[678].
* configure:  Regenerate.

24 years ago* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
J.T. Conklin [Sat, 8 Apr 2000 05:10:43 +0000 (05:10 +0000)]
* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.

24 years agoFix dependency for elfarm-oabi.c
Nick Clifton [Sat, 8 Apr 2000 00:19:37 +0000 (00:19 +0000)]
Fix dependency for elfarm-oabi.c

24 years agoAdd support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocs
Nick Clifton [Sat, 8 Apr 2000 00:10:49 +0000 (00:10 +0000)]
Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocs

24 years agoMerge arm-oabi.h into arm.h
Nick Clifton [Sat, 8 Apr 2000 00:09:26 +0000 (00:09 +0000)]
Merge arm-oabi.h into arm.h

24 years ago2000-04-07 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Fri, 7 Apr 2000 22:26:35 +0000 (22:26 +0000)]
2000-04-07  J.T. Conklin  <jtc@redback.com>

        * gdb.base/funcargs.exp: Relax patterns matching pointers to char.

24 years ago2000-04-07 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Fri, 7 Apr 2000 22:26:11 +0000 (22:26 +0000)]
2000-04-07  Scott Bambrough <scottb@netwinder.org>

* ChangeLog: Correct date on last entry.
* arm-linux-tdep.c (arm_linux_push_arguments): New function.
* config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
* config/arm/tm-embed: Fix build warning from redefinition of
LOWEST_PC.
* config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
* config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
TARGET_BYTE_ORDER.  Add TARGET_BYTE_ORDER_SELECTABLE_P to
override default in tm-arm.h.  Use default target byte order
from tm-arm.h.

24 years ago2000-04-05 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Fri, 7 Apr 2000 22:04:01 +0000 (22:04 +0000)]
2000-04-05  Scott Bambrough <scottb@netwinder.org>

* Makefile.in: Add dependency information for arm-linux-tdep.c.
* config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.

24 years ago2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 7 Apr 2000 20:27:29 +0000 (20:27 +0000)]
2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elfcore.h (elf_core_file_p): preserve value of tdata at entry,
        and restore it on failure.  Release newly allocated tdata on
        failure.

24 years agoFix linker segfault that occured when linking ia64-linux kernel.
Jim Wilson [Fri, 7 Apr 2000 18:36:04 +0000 (18:36 +0000)]
Fix linker segfault that occured when linking ia64-linux kernel.
* dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.
(decode_line_info): Set it.  Report error if unit->line_offset is
equal to or larger than it.

24 years ago * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
Peter Schauer [Fri, 7 Apr 2000 17:18:57 +0000 (17:18 +0000)]
* sol-thread.c (gdb_ps_addr_t):  New typedef, depends on definition
of PROC_SERVICE_IS_OLD.
(ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
rw_common):  Change argument type from psaddr_t to gdb_ps_addr_t.

24 years agoBFD and include/coff support for tic54x target.
Timothy Wall [Fri, 7 Apr 2000 17:06:58 +0000 (17:06 +0000)]
BFD and include/coff support for tic54x target.

24 years agoWhen GCC always enable certain warnings.
Andrew Cagney [Fri, 7 Apr 2000 08:57:39 +0000 (08:57 +0000)]
When GCC always enable certain warnings.
Allow configure to set CFLAGS (-g -O2) when GCC.

24 years agoFrom 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
Andrew Cagney [Fri, 7 Apr 2000 04:33:21 +0000 (04:33 +0000)]
From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* procfs.c (init_procfs_ops):  Set procfs_ops.to_has_memory and
procfs_ops.to_has_all_memory to 1.

24 years ago2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 7 Apr 2000 03:59:23 +0000 (03:59 +0000)]
2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elfcore.h (elf_core_file_p): call backend_object_p which
        thereby gets an opportunity to update the arch/machine type.

24 years agoChangeLog for
Andrew Cagney [Fri, 7 Apr 2000 01:41:06 +0000 (01:41 +0000)]
ChangeLog for
/cvs/src/src/gdb/doc/gdb.texinfo,v  <--  gdb.texinfo
new revision: 1.13; previous revision: 1.12

24 years agoDeprecate sequence-id's.
Andrew Cagney [Fri, 7 Apr 2000 01:33:18 +0000 (01:33 +0000)]
Deprecate sequence-id's.

24 years ago * configure.in (_MSE_INT_H): Define on Solaris 7.
Nicholas Duffek [Fri, 7 Apr 2000 01:16:17 +0000 (01:16 +0000)]
* configure.in (_MSE_INT_H): Define on Solaris 7.
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
* acconfig.h (_MSE_INT_H): Define on Solaris 7.
* configure: Regenerate.
* config.in: Regenerate.

24 years ago * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Nicholas Duffek [Fri, 7 Apr 2000 01:14:10 +0000 (01:14 +0000)]
* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Change to rely on PIDGET etc.
* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
define.  Allow target to use procfs hardware watchpoints.
* config/sparc/nm-sun4sol2.h: ditto.
* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
definitions to use 16 bits for the pid, 15 bits for the tid, and
1 bit for the flag.
* config/sparc/tm-sun4sol2.h: ditto.
(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
for more than 15 thread increments.

24 years agoSEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).
Timothy Wall [Fri, 7 Apr 2000 00:58:06 +0000 (00:58 +0000)]
SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).

24 years agoUpdate copyright notice
Nick Clifton [Thu, 6 Apr 2000 23:38:47 +0000 (23:38 +0000)]
Update copyright notice

24 years agoOnly check EF_xxx flags if the EABI version number is unknown.
Nick Clifton [Thu, 6 Apr 2000 23:32:19 +0000 (23:32 +0000)]
Only check EF_xxx flags if the EABI version number is unknown.

24 years agoAdd definitions of flags in e_flags field from version A-08 of ARM ELF spec.
Nick Clifton [Thu, 6 Apr 2000 23:18:18 +0000 (23:18 +0000)]
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.

24 years ago * top.c (filename_completer): Set subsequent_name to 1 early on,
Eli Zaretskii [Thu, 6 Apr 2000 15:24:36 +0000 (15:24 +0000)]
* top.c (filename_completer): Set subsequent_name to 1 early on,
to prevent an infinite loop if the first file in the directory is
a backup file.

24 years ago * splay-tree.c (splay_tree_remove): New.
Richard Henderson [Thu, 6 Apr 2000 00:16:01 +0000 (00:16 +0000)]
    * splay-tree.c (splay_tree_remove): New.

24 years ago * splay-tree.h (splay_tree_remove): Declare.
Richard Henderson [Thu, 6 Apr 2000 00:15:35 +0000 (00:15 +0000)]
    * splay-tree.h (splay_tree_remove): Declare.

24 years ago2000-04-05 James Ingham <jingham@leda.cygnus.com>
Jim Ingham [Wed, 5 Apr 2000 23:53:12 +0000 (23:53 +0000)]
2000-04-05  James Ingham  <jingham@leda.cygnus.com>

* regwin.itb (RegWin::build_win): Enable the "Display all
registers" menu at startup if any registers have been removed.
(RegWin::save_reg_display_vars): Handle cases where the register
set is not contiguous.
(RegWin::destructor): Actually save away the removed registers.
The latter two are Steve Johnson's change.

* regwin.ith (RegWin): Added "all_regs_shown" and
"disp_all_menu_item" to handle tracking whether any registers have
been removed from the display.

24 years ago* updating copyright dates ("1999" -> "1999, 2000")
Frank Ch. Eigler [Wed, 5 Apr 2000 22:31:29 +0000 (22:31 +0000)]
* updating copyright dates ("1999" -> "1999, 2000")

24 years agoopcodes:
Joern Rennecke [Wed, 5 Apr 2000 21:43:26 +0000 (21:43 +0000)]
opcodes:
* sh-opc.c (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
stc GBR,@-<REG_N> is available for arch_sh1_up.
Group parallel processing insn with identical mnemonics together.
Make three-operand psha / pshl come first.
gas:
* config/tc-sh.c (get_operands): There's no third operand if the
first operand is an immediate.

24 years agosh-dsp REPEAT support:
Joern Rennecke [Wed, 5 Apr 2000 21:23:04 +0000 (21:23 +0000)]
sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years ago*** empty log message ***
Jim Blandy [Wed, 5 Apr 2000 20:41:57 +0000 (20:41 +0000)]
*** empty log message ***