OSDN Git Service

pf3gnuchains/sourceware.git
24 years agoInclude "arch-utils.h".
cagney [Thu, 27 Apr 2000 04:25:45 +0000 (04:25 +0000)]
Include "arch-utils.h".

24 years ago* mount.cc (main): Add "-X" option to specify a "Cygwin executable".
cgf [Thu, 27 Apr 2000 03:44:23 +0000 (03:44 +0000)]
* mount.cc (main): Add "-X" option to specify a "Cygwin executable".

24 years ago* path.cc (normalize_win32_path): Don't add a trailing slash when one already
cgf [Thu, 27 Apr 2000 03:26:23 +0000 (03:26 +0000)]
* path.cc (normalize_win32_path): Don't add a trailing slash when one already
exists.
(mount_info::conv_to_win32_path): Use existing code for dealing with relative
path names when input is already a win32 path.

24 years ago2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Thu, 27 Apr 2000 01:04:52 +0000 (01:04 +0000)]
2000-04-26  Michael Snyder  <msnyder@seadog.cygnus.com>

* procfs.c (comments): Eliminate "???" in comments, which GCC
wants to interpret as a trigraph.  (fill_gregset, supply_gregset,
fill_fpregset, supply_fpregset): declare.
(procfs_wait): Sysargs is a long, change printf format to match.
(test-mapping, mapping_test, test_mapping_cmd) Remove (test only).

24 years ago * proc-api.c (write_with_trace): Change 'arg' from long to int.
msnyder [Thu, 27 Apr 2000 00:53:41 +0000 (00:53 +0000)]
    * proc-api.c (write_with_trace): Change 'arg' from long to int.
        Treat 'off_t' and 'size_t' as unsigned long in printfs.
        (lseek_with_trace): Treat 'off_t' as unsigned long in printf.

24 years ago2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Thu, 27 Apr 2000 00:45:18 +0000 (00:45 +0000)]
2000-04-26  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
        This test depends on parsing the printf output from the target.
        Since the sparclet stub doesn't do stdio, this will never work.
        * gdb.base/call-rt-st.exp: ditto.
        * gdb.base/call-strs: ditto.

24 years ago2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Thu, 27 Apr 2000 00:41:49 +0000 (00:41 +0000)]
2000-04-26  Michael Snyder  <msnyder@seadog.cygnus.com>

        * wrapper.h: fix minor comment typo.

24 years agoReference count .plt and .got on x86 for garbage collection code. Fix a
amodra [Thu, 27 Apr 2000 00:31:16 +0000 (00:31 +0000)]
Reference count .plt and .got on x86 for garbage collection code.  Fix a
couple of m68k and ppc bugs discovered while testing x86 gc.

24 years agoDocument IRIX->ARM cross compile problem.
cagney [Thu, 27 Apr 2000 00:23:02 +0000 (00:23 +0000)]
Document IRIX->ARM cross compile problem.

24 years ago2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Thu, 27 Apr 2000 00:15:14 +0000 (00:15 +0000)]
2000-04-26  Michael Snyder  <msnyder@seadog.cygnus.com>

        * utils.c (internal_verror): Call target_terminal_ours.

24 years agoAdd section discussing future changes to output syntax.
cagney [Wed, 26 Apr 2000 23:39:53 +0000 (23:39 +0000)]
Add section discussing future changes to output syntax.

24 years ago * config.bfd: Remove extraneous bfd_powerpc_64_arch.
cpopetz [Wed, 26 Apr 2000 21:35:19 +0000 (21:35 +0000)]
* config.bfd: Remove extraneous bfd_powerpc_64_arch.

24 years agoAdd mapping ia64-linux-nat.c -> ia64linux-nat.c.
kevinb [Wed, 26 Apr 2000 21:27:35 +0000 (21:27 +0000)]
Add mapping ia64-linux-nat.c -> ia64linux-nat.c.

24 years ago* Makefile.in (install): install regexp.h
dj [Wed, 26 Apr 2000 18:19:22 +0000 (18:19 +0000)]
* Makefile.in (install): install regexp.h

24 years ago * syscalls.cc (stat_worker): Previous patch could succeed
corinna [Wed, 26 Apr 2000 15:28:06 +0000 (15:28 +0000)]
    * syscalls.cc (stat_worker): Previous patch could succeed
        in stating a non-existant file.

24 years ago Add XCOFF64 support.
cpopetz [Wed, 26 Apr 2000 15:09:42 +0000 (15:09 +0000)]
Add XCOFF64 support.

bfd:
* Makefile.am (coff64-rs6000.lo): New rule.
* Makefile.in: Regenerate.
* coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
xcoff_is_local_label_name, xcoff_rtype2howto,
xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
(NO_COFF_SYMBOLS): Define.
(xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
internally.
(MINUS_ONE): New macro.
(xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
relocation.
(coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
coff_SWAP_aux_out): Map to the new functions.
* coff64-rs6000.c: New file.
* libcoff.h (bfd_coff_backend_data): Add new fields
_bfd_coff_force_symnames_in_strings and
_bfd_coff_debug_string_prefix_length.
(bfd_coff_force_symnames_in_strings,
bfd_coff_debug_string_prefix_length): New macros for above fields.
* coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
Set machine to 620 for XCOFF64.  Use bfd_coff_swap_sym_in instead
of using coff_swap_sym_in directly.
(FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
(coff_set_flags) Set magic for XCOFF64.
(coff_compute_section_file_positions): Add symbol name length to
string section length if bfd_coff_debug_string_prefix_length is
true.
(coff_write_object_contents): Don't do reloc overflow for XCOFF64.
(coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
using coff_swap_lineno_in directly.
(bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
and _bfd_coff_debug_string_prefix_length fields.
* coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
symbol names into strings table when
bfd_coff_force_symnames_in_strings is true.
* coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
SET_RELOC_VADDR): New macros.
(coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
(coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
code.
(coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
changes within RS6000COFF_C specific code.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Extend existing hack on target name.
* xcofflink.c (XCOFF_XVECP): Extend existing hack on
target name.
* coff-tic54x.c (ticof): Keep up to date with new fields
in bfd_coff_backend_data.
* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
targ_selvecs to include rs6000coff64_vec for rs6000.
* configure.in: Add rs6000coff64_vec case.
  * cpu-powerpc.c: New bfd_arch_info_type.

gas:
* as.c (parse_args): Allow md_parse_option to override -a listing
option.
* config/obj-coff.c (add_lineno): Change type of offset parameter
from "int" to "bfd_vma."
* config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
(ppc_mach, ppc_subseg_align, ppc_target_format): New.
(ppc_change_csect): Align correctly for XCOFF64.
(ppc_machine): New function, which discards "ppc_machine" line.
(ppc_tc): Cons for 8 when code is 64 bit.
(md_apply_fix3): Don't check operand->insert.  Handle 64 bit
relocations.
(md_parse_option): Handle -a64 and -a32.
(ppc_xcoff64): New.
* config/tc-ppc.h (TARGET_MACH): Define.
(TARGET_FORMAT): Move to function.
(SUB_SEGMENT_ALIGN): Use ppc_subseg_align.

include:
* include/coff/rs6k64.h: New file.

opcodes:
* configure.in: Add bfd_powerpc_64_arch.
* disassemble.c (disassembler): Use print_insn_big_powerpc for
64 bit code.

24 years agoAdd another INTERNET_OPTION.
cgf [Wed, 26 Apr 2000 15:04:53 +0000 (15:04 +0000)]
Add another INTERNET_OPTION.

24 years ago * ax-gdb.c (agent_command): Remove now useless cast of
phdm [Wed, 26 Apr 2000 12:41:47 +0000 (12:41 +0000)]
* ax-gdb.c (agent_command): Remove now useless cast of
`free_current_contents' when passed to `make_cleanup'.
* coffread.c (coff_symfile_read): Ditto.
* dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
(dwarf_decode_lines): Ditto.
* eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
(parse_and_eval, parse_to_comma_and_eval): Ditto.
* parse.c (parse_exp_1): Ditto.
* printcmd.c (print_command_1, output_command, set_command): Ditto.
(x_command, print_frame_args, printf_command): Ditto.
* top.c (execute_control_command): Ditto.
* tracepoint.c (validate_actionline): Ditto.
* typeprint.c (whatis_exp, ptype_command): Ditto.
(maintenance_print_type): Ditto.

24 years agoDocument bfd/doc/Makefile.in TEXINPUTS problem.
cagney [Wed, 26 Apr 2000 08:12:39 +0000 (08:12 +0000)]
Document bfd/doc/Makefile.in TEXINPUTS problem.

24 years agoAdd arch-utils.h to IA-64 *-tdep.c files.
kevinb [Wed, 26 Apr 2000 07:16:15 +0000 (07:16 +0000)]
Add arch-utils.h to IA-64 *-tdep.c files.

24 years ago* exceptions.cc (interruptible): Allocate slightly more space for directory
cgf [Wed, 26 Apr 2000 05:13:32 +0000 (05:13 +0000)]
* exceptions.cc (interruptible): Allocate slightly more space for directory
name check.  Windows 95 seems to null-terminate the directory otherwise.
(interrupt_on_return): Issue a fatal error if we can't find the caller's stack.
* spawn.cc (find_exec): Accept a path_conv argument rather than a buffer so
that the caller can find things out about a translated path.
(perhaps_suffix): Ditto.
(spawn_guts): Allocate path_conv stuff here so that we can find out stuff about
the translated path (this is work in progress).
* environ.cc (environ_init): Accept an as-yet unused argument indicating
whether we were invoked from a cygwin parent or not.
(winenv): Ditto.
(posify): Accept an argument indicating whether the path has already been
translated.
* dlfcn.cc (check_access): Provide a path_conv buffer to find_exec.
* exec.cc (sexecvpe): Ditto.
* path.cc (path_conv::check): Rename from path_conv::path_conv.
(mount_item::getmntent): Recognize "Cygwin executable" bit.
(symlink_info::check): Remove debugging statements.
* path.h (class path_conv): Add iscygexec method.  Rewrite constructor to call
"check" method to allow multiple operations on a path_conv variable.
* pinfo.cc (pinfo_init): Pass argument to environ_init.
* shared.h: Bump PROC_MAGIC.
* winsup.h: Reflect above changes to function arguments.
* include/sys/mount.h: Add MOUNT_CYGWIN_EXEC type.

24 years ago2000-04-25 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 26 Apr 2000 02:53:02 +0000 (02:53 +0000)]
2000-04-25  Michael Snyder  <msnyder@seadog.cygnus.com>

        * blockframe.c: Fix a minor typo in a comment.

24 years agoRecognize store instructions in examine_prologue().
kevinb [Tue, 25 Apr 2000 23:18:35 +0000 (23:18 +0000)]
Recognize store instructions in examine_prologue().

24 years agoRemove '/' from comment_chars for FreeBSD so divide operator works.
amodra [Tue, 25 Apr 2000 22:55:19 +0000 (22:55 +0000)]
Remove '/' from comment_chars for FreeBSD so divide operator works.
Fix as.1 typo.

24 years agoMention IA-64.
wilson [Tue, 25 Apr 2000 20:54:41 +0000 (20:54 +0000)]
Mention IA-64.

24 years ago * syscalls.cc (stat_worker): Previous patch failed to stat
corinna [Tue, 25 Apr 2000 19:39:04 +0000 (19:39 +0000)]
    * syscalls.cc (stat_worker): Previous patch failed to stat
        each drives root dir on 9X.

24 years ago2000-04-25 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 25 Apr 2000 19:22:30 +0000 (19:22 +0000)]
2000-04-25  Mumit Khan  <khan@xraylith.wisc.edu>

* include/winspool.h: Add 2 more PRINTER_ATTRIBUTE_* macros.

24 years ago2000-04-25 Martin Kotulla <martin-k@softmaker.de>
khan [Tue, 25 Apr 2000 19:13:50 +0000 (19:13 +0000)]
2000-04-25  Martin Kotulla  <martin-k@softmaker.de>

* include/ddeml.h (DdeCreateStringHandle{A,W}): Fix prototype.
* include/shlobj.h (IShellLink{A,W}::GetPath): Fix prototype.
* include/wingdi.h: Add LPFNDEVMODE and LPFNDEVCAPS callbacks.
* include/winuser.h: Add WM_* macros. Add PCOPYDATASTRUCT typedef.

24 years agoTue Apr 25 13:51:58 2000 glen mccready <gkm@pobox.com>
glen [Tue, 25 Apr 2000 17:55:36 +0000 (17:55 +0000)]
Tue Apr 25 13:51:58 2000  glen mccready  <gkm@pobox.com>

* rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong
patch being applied `Fri Apr  7 13:44:38 2000'.

24 years ago * Makefile.am: Add PA64 support. Add missing dependencies for
law [Tue, 25 Apr 2000 17:21:28 +0000 (17:21 +0000)]
    * Makefile.am: Add PA64 support.  Add missing dependencies for
        PA32 elf support.
        * Makefile.in: Rebuilt.
        * configure.tgt: Add PA64 support (currently disabled).

24 years ago * configure.in: Configury support for PA64 (currently disabled).
law [Tue, 25 Apr 2000 17:02:33 +0000 (17:02 +0000)]
    * configure.in: Configury support for PA64 (currently disabled).
        * configure: Rebuilt.

24 years ago * fhandler.cc (fhandler_disk_file::open): Check for allow_ntsec
corinna [Tue, 25 Apr 2000 16:31:14 +0000 (16:31 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Check for allow_ntsec
        when determining exec flag.
        * path.cc (symlink_info::check): Remove call to get_file_attribute().
        * security.cc (read_sd): Rename, ditto for variables to conform
        to common naming convention. Use GetFileSecurity() instead of
        BackupRead() to avoid permission problems when reading ACLs.
        (write_sd): Same renaming as for read_sd().
        (alloc_sd): Change default permissions according to Linux permissions
        for group and world when write permission is set.
        * syscalls.cc (stat_worker): Avoid different permission problems
        when requesting file informations.

24 years agoUse record_alignment, not bfd_set_section_alignment.
amodra [Tue, 25 Apr 2000 10:02:20 +0000 (10:02 +0000)]
Use record_alignment, not bfd_set_section_alignment.

24 years ago* am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
aoliva [Tue, 25 Apr 2000 09:48:40 +0000 (09:48 +0000)]
* am33.igen (inc4 Rn): Use genericAdd so as to modify flags.

24 years agoKeep shift count smaller than 32.
amodra [Tue, 25 Apr 2000 08:55:00 +0000 (08:55 +0000)]
Keep shift count smaller than 32.

24 years agoForgot ChangeLog
corinna [Tue, 25 Apr 2000 08:51:40 +0000 (08:51 +0000)]
Forgot ChangeLog

24 years ago* net.cc: Avoid a warning in declaration inet_network.
corinna [Tue, 25 Apr 2000 08:50:22 +0000 (08:50 +0000)]
* net.cc: Avoid a warning in declaration inet_network.

24 years agoCope with PE relocs.
amodra [Tue, 25 Apr 2000 07:19:46 +0000 (07:19 +0000)]
Cope with PE relocs.

24 years agoHandle signal handler frames and call dummy frames.
kevinb [Tue, 25 Apr 2000 06:36:51 +0000 (06:36 +0000)]
Handle signal handler frames and call dummy frames.

24 years agoplace_orphan optimisations
amodra [Tue, 25 Apr 2000 05:14:15 +0000 (05:14 +0000)]
place_orphan optimisations

24 years agoReally fix last IA-64 gas testsuite failure.
wilson [Tue, 25 Apr 2000 01:52:27 +0000 (01:52 +0000)]
Really fix last IA-64 gas testsuite failure.
* gas/ia64/opc-i.d: Change pmin2.u to pmin2.  Change pmax2.u to pmax2.
Change MLI to MLX.  Switch operands for output matching tbit.z.orcm,
tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm,
tnat.nz.orcm, tnat.nz.andcm inputs.
* gas/ia64/opc-i.pl: Insert padding nops before last dep.
* gas/ia64/opc-i.s: Regenerate.

24 years agoNote that output section data commands can only appear inside output section
nickc [Tue, 25 Apr 2000 00:27:23 +0000 (00:27 +0000)]
Note that output section data commands can only appear inside output section
descriptions and not between them.

24 years agoDocument behaviour of .align 0 for ARM targets.
nickc [Mon, 24 Apr 2000 23:57:29 +0000 (23:57 +0000)]
Document behaviour of .align 0 for ARM targets.
Remove incomplete v5e code from tc-arm.c

24 years agoFix last remaining IA-64 gas testsuite failure.
wilson [Mon, 24 Apr 2000 23:53:53 +0000 (23:53 +0000)]
Fix last remaining IA-64 gas testsuite failure.
* gas/ia64/opc-i.s: Regenerate.
* gas/ia64/opc-f.pl: Add explicit stop at end.

24 years ago * obj-som.c: Terminate obj_pseudo_table.
law [Mon, 24 Apr 2000 23:48:11 +0000 (23:48 +0000)]
     * obj-som.c: Terminate obj_pseudo_table.

24 years ago* fhandler_console.cc (fhandler_console::read): Detect extended keycode
cgf [Mon, 24 Apr 2000 21:41:11 +0000 (21:41 +0000)]
* fhandler_console.cc (fhandler_console::read): Detect extended keycode
information for Windows 9x so that function keys will work correctly.

24 years ago2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Mon, 24 Apr 2000 21:32:51 +0000 (21:32 +0000)]
2000-04-24  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.base/miscexprs.exp: make sizeof long array test portable.

        * gdb.base/ending-run.exp: After connecting to a remote target,
        but before running, the target will appear to be in a random
        location.  Specify both a file and a line for breakpoints.
        Also, the function that calls main may be called 'init'
        rather than 'start'.

24 years agoInitialise signed_overflow field
nickc [Mon, 24 Apr 2000 17:32:36 +0000 (17:32 +0000)]
Initialise signed_overflow field

24 years ago* net.cc (cygwin_inet_network): new function.
dj [Mon, 24 Apr 2000 15:44:11 +0000 (15:44 +0000)]
* net.cc (cygwin_inet_network): new function.
* cygwin.din (inet_network): new export

24 years ago * config.bfd: Only disable elf32-hppa vectors, not all of the
law [Mon, 24 Apr 2000 08:31:33 +0000 (08:31 +0000)]
    * config.bfd: Only disable elf32-hppa vectors, not all of the
        BSD and OSF configuration support.  Provide (disabled) clauses
        for PA64 support.
        * configure.in: Add clause for PA64 support.
        * configure: Rebuilt.

24 years ago * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
law [Mon, 24 Apr 2000 08:26:09 +0000 (08:26 +0000)]
    * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
        (bfd_elf64_hppa_vec): Declare.

24 years ago * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
law [Mon, 24 Apr 2000 08:23:47 +0000 (08:23 +0000)]
    * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
        (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
        (elf64-hppa.lo): Add dependencies.
        * Makefile.in: Rebuilt.

24 years ago * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
law [Mon, 24 Apr 2000 08:17:57 +0000 (08:17 +0000)]
    * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.

24 years ago * libhppa.h (dis_assemble_16): New function.
law [Mon, 24 Apr 2000 08:14:43 +0000 (08:14 +0000)]
    * libhppa.h (dis_assemble_16): New function.
        (pa_arch): Added pa20w element.

24 years ago * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
law [Mon, 24 Apr 2000 07:55:09 +0000 (07:55 +0000)]
    * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
        bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
        bfd_elf64_slurp_reloc_table.

        * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
        definitions to get external names.
        (elf_write_relocs): Renamed from write_relocs and make global.
        (elf_slurp_reloc_table): Make global.
        (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.

24 years ago * archive.c (hpux_uid_gid_encode): New function.
law [Mon, 24 Apr 2000 07:52:50 +0000 (07:52 +0000)]
    * archive.c (hpux_uid_gid_encode): New function.
        (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
        defined and the ID is greater than 99999.
        (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
        special uid/gid fields into 32 bit values.

24 years ago * Makefile.in (GDBMI_DIR): New variable.
eliz [Sun, 23 Apr 2000 08:15:48 +0000 (08:15 +0000)]
* Makefile.in (GDBMI_DIR): New variable.
(SET_TEXINPUTS): Add $(GDBMI_DIR).
(SFILES_DOC): Add $(GDBMI_DIR)/gdbmi.texinfo.
(gdbmi.texinfo): New target, for texi2roff.
(gdb.me, gdb.ms, gdb.mm): Depend on gdbmi.texinfo.
(gdb.info, gdb_toc.html): Add "-I ${GDBMI_DIR}".

* gdb.texinfo (Top): Add GDB/MI to the main menu and @include
gdbmi.texinfo.
(Mode Options): Add xref to GDB/MI docs and remove a FIXME
comment.

* gdbmi.texinfo: Lots of changes, to include this document as part
of the GDB manual.

* TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB
manual.

24 years agoFix the date of the last entry.
eliz [Sun, 23 Apr 2000 07:35:44 +0000 (07:35 +0000)]
Fix the date of the last entry.

24 years ago * djunpack.bat: New file.
eliz [Sun, 23 Apr 2000 07:23:05 +0000 (07:23 +0000)]
* djunpack.bat: New file.

* config/djgpp/README: Explain how to unpack using djunpack.bat.

24 years agoClean up F-unit assembly and tests.
twall [Sun, 23 Apr 2000 02:53:34 +0000 (02:53 +0000)]
Clean up F-unit assembly and tests.

24 years agoMisc assembly/disassembly fixes.
twall [Sun, 23 Apr 2000 02:39:12 +0000 (02:39 +0000)]
Misc assembly/disassembly fixes.

24 years agoFix typo in comment.
cgf [Sat, 22 Apr 2000 15:54:56 +0000 (15:54 +0000)]
Fix typo in comment.

24 years agoConvert REG_STRUCT_HAS_ADDR to multi-arch. Use REG_STRUCT_HAS_ADDR_P
cagney [Sat, 22 Apr 2000 06:44:39 +0000 (06:44 +0000)]
Convert REG_STRUCT_HAS_ADDR to multi-arch.  Use REG_STRUCT_HAS_ADDR_P
in conversion.

24 years ago2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
law [Fri, 21 Apr 2000 22:19:43 +0000 (22:19 +0000)]
2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.

24 years agoA misc IA-64 ELF patch I missed in the first pass.
wilson [Fri, 21 Apr 2000 22:17:28 +0000 (22:17 +0000)]
A misc IA-64 ELF patch I missed in the first pass.
* testsuite/ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.

24 years ago * hppa-dis.c (extract_16): New function.
law [Fri, 21 Apr 2000 22:04:29 +0000 (22:04 +0000)]
    * hppa-dis.c (extract_16): New function.
        (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
        new operand types l,y,&,fe,fE,fx.

24 years ago * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
law [Fri, 21 Apr 2000 21:55:21 +0000 (21:55 +0000)]
    * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
        * configure: Rebuilt.

24 years ago * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
law [Fri, 21 Apr 2000 21:52:48 +0000 (21:52 +0000)]
    * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.

24 years ago * config.bfd: Add NetBSD/sparc64 support.
law [Fri, 21 Apr 2000 21:50:52 +0000 (21:50 +0000)]
    * config.bfd: Add NetBSD/sparc64 support.

24 years ago * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode
law [Fri, 21 Apr 2000 21:04:04 +0000 (21:04 +0000)]
    * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode
        forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements).
        New operand types l,y,&,fe,fE,fx added to support above forms.
        (pa_opcodes): Replaced usage of 'x' as source/target for
        floating point double-word loads/stores with 'fx'.

Fr

24 years ago * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
law [Fri, 21 Apr 2000 20:34:00 +0000 (20:34 +0000)]
    * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.

        * config/tc-hppa.c (CHECK_ALIGN): New macro.
        Added handling of new operand types l,y,&,fe,fE,fx.

24 years agoIA-64 ELF support.
wilson [Fri, 21 Apr 2000 20:22:21 +0000 (20:22 +0000)]
IA-64 ELF support.

24 years ago * scripttempl/elfd30v.sc: Place .gcc_except_table.
rth [Fri, 21 Apr 2000 17:29:15 +0000 (17:29 +0000)]
    * scripttempl/elfd30v.sc: Place .gcc_except_table.

24 years ago * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
rth [Fri, 21 Apr 2000 17:25:29 +0000 (17:25 +0000)]
    * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
        contents when performing a partial link.
        (bfd_elf_d30v_reloc_21): Likewise.

24 years ago * config.sub (d30v): Add d30v as a basic machine type.
rth [Fri, 21 Apr 2000 17:22:34 +0000 (17:22 +0000)]
    * config.sub (d30v): Add d30v as a basic machine type.

24 years ago * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
rth [Fri, 21 Apr 2000 17:20:02 +0000 (17:20 +0000)]
    * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
        bundling a non-delayed branch type instruction.

24 years agoFix handling of /.filename
cgf [Fri, 21 Apr 2000 14:37:48 +0000 (14:37 +0000)]
Fix handling of /.filename

24 years ago2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Fri, 21 Apr 2000 14:33:33 +0000 (14:33 +0000)]
2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdb-stabs.h (SECT_OFF_MAX): Increase to 40.

24 years ago2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Fri, 21 Apr 2000 14:24:44 +0000 (14:24 +0000)]
2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* win32-nat.c  (handle_load_dll): Don't treat .text as a special
  section anymore.
* somread.c (som_symfile_offsets): Ditto.
* somsolib.c (som_solib_add_solib_objfile): Ditto.

24 years agoMake Jimmy Guo H.P. maintainer.
cagney [Fri, 21 Apr 2000 06:19:27 +0000 (06:19 +0000)]
Make Jimmy Guo H.P. maintainer.

24 years ago* path.cc (normalize_posix_path): Previous two patches were still incorrect so
cgf [Fri, 21 Apr 2000 05:32:19 +0000 (05:32 +0000)]
* path.cc (normalize_posix_path): Previous two patches were still incorrect so
rewrite this function to deal with trailing dots.
(mount_info::conv_to_win32_path): Just check for '/' where appropriate.
Eliminate nofinalslash call since it is handled in normalize_posix_path now.

24 years agoMake help_all static.
cagney [Fri, 21 Apr 2000 05:21:55 +0000 (05:21 +0000)]
Make help_all static.

24 years ago* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
cagney [Fri, 21 Apr 2000 04:21:20 +0000 (04:21 +0000)]
* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
(d10v_stack_align): Make static.
* config/d10v/tm-d10v.h (STACK_ALIGN): Delete.

24 years ago* valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
cagney [Fri, 21 Apr 2000 04:17:18 +0000 (04:17 +0000)]
* valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
run-time test for STACK_ALIGN_P.
* gdbarch.sh: Add support for function and variable predicates.
(STACK_ALIGN): Add.  Implement with predicate - STACK_ALIGN_P.
* gdbarch.h, gdbarch.c: Re-generate.

24 years ago* defs.h, utils.c (free_current_contents): Change parameter to
cagney [Fri, 21 Apr 2000 04:10:18 +0000 (04:10 +0000)]
* defs.h, utils.c (free_current_contents): Change parameter to
void*.

From Philippe De Muyter  <phdm@macqel.be>:
* printcmd.c (print_address_symbolic): Call `make_cleanup' with
`(free_current_contents, &x)', not `(free, x)'.
* utils.c (free_current_contents): Do not `free (NULL)'.

* printcmd.c (print_address_symbolic): Cleanup after a failed
call to build_address_symbolic.

24 years agoAdd target info:
cagney [Fri, 21 Apr 2000 03:41:09 +0000 (03:41 +0000)]
Add target info:

24 years ago* wince-stub.c (FREE): New macro.
cgf [Fri, 21 Apr 2000 03:04:35 +0000 (03:04 +0000)]
* wince-stub.c (FREE): New macro.
(mempool): Just free any buffer prior to reuse.  Don't bother with realloc.
(flag_single_step): New function.
(skip_message): Detect "helpful" Windows CE messages and skip sending them to
the host.
(wait_for_debug_event): Use skip_message to avoid sending debug messages to the
host.
(dispatch): Prelimary implementation of single step detection.
* wince.c: Rework SH single stepping code to be more consistent with other
wince targets.
(handle_output_debug_string): Allow first chance exceptions to come through
since they seem to be all that we get on some versions of Windows CE.
(check_for_step): New function, conditionally compiled based on target.
(regptr): Delete obsolete function.
(handle_exception): Detect illegal instructions.
(get_child_debug_event): Return success only if event code matches target.
(child_create_inferior): Reflect change to get_child_debug_event arguments.

24 years ago* win32-nat.c (thread_rec): Be more defensive about suspending already
cgf [Fri, 21 Apr 2000 02:26:14 +0000 (02:26 +0000)]
* win32-nat.c (thread_rec): Be more defensive about suspending already
suspended threads.
(safe_symbol_file_add_stub): New function.
(safe_symbole_file_add_cleanup): New function.
(safe_symbol_file_add): New function.
(handle_load_dll): Use wrapper to add DLL symbol information to avoid bogus
errors from non-stabs DLLs.
(handle_exception): Add work around for detection of first exception breakpoint
which does not seem to occur on W2K.  Detect more "signals" that can be
effectively passed to the debuggee.  Reorganize to eliminate continue_status
global.
(child_continue): Reorganize to eliminate continue_status global.
(child_wait): Ditto.
(child_resume): Ditto.
(get_child_debug_event): Ditto.  Recognize when an a breakpoint exception
should be ignored.  Change method for signalling when an important event has
occured to the caller.
(child_create_inferior): Use new method for noticing when get_child_debug_event
has found something interesting.

24 years agoFri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>
glen [Thu, 20 Apr 2000 23:54:45 +0000 (23:54 +0000)]
Fri Apr  7 13:44:38 2000  glen mccready  <gkm@pobox.com>

        * rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
          fails due to lack of space.

24 years agoFri Mar 24 12:10:38 2000 glen mccready <gkm@pobox.com>
glen [Thu, 20 Apr 2000 23:51:01 +0000 (23:51 +0000)]
Fri Mar 24 12:10:38 2000  glen mccready  <gkm@pobox.com>

        * command.c, command.h (help_all): Add functionality to display
        a complete listing of available commands.

24 years ago* config/tc-mn10300.c (HAVE_AM30): Define.
aoliva [Thu, 20 Apr 2000 22:18:27 +0000 (22:18 +0000)]
* config/tc-mn10300.c (HAVE_AM30): Define.
(md_assemble): Use it.

24 years ago* m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
aoliva [Thu, 20 Apr 2000 22:15:32 +0000 (22:15 +0000)]
* m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
(disassemble): Use them.

24 years ago* exceptions.cc (handle_exceptions): Search further for stack info to
cgf [Thu, 20 Apr 2000 21:33:58 +0000 (21:33 +0000)]
* exceptions.cc (handle_exceptions): Search further for stack info to
accomodate Windows 95.

24 years agoChanges to support core files and linux threads.
scottb [Thu, 20 Apr 2000 21:13:19 +0000 (21:13 +0000)]
Changes to support core files and linux threads.

2000-04-20  Scott Bambrough <scottb@netwinder.org>

* arm-linux-nat.c (PIDGET, TIDGET): New.
(get_thread_id, GET_THREAD_ID): New.
(fetch_nwfpe_register, store_nwfpe_register): New.
(fetch_register, store_register): New.
(fetch_fpregister, store_fpregister): New.
(fill_gregset, supply_gregset): New.
(fill_fpregset, supply_fpregset): New.
(fetch_fpregs): Modified to use thread id's.
(store_fpregs): Modified to use thread id's and
fetch_nwfpe_register.
(fetch_regs): Modified to use thread id's.
(store_regs): Modified to use thread id's.
(fetch_inferior_registers): Modified to handle single register
fetches.
(store_inferior_registers): Modified to handle single register
stores.
(arm_linux_register_u_addr): Removed.

* configure.tgt: Added gdbserver to configdirs for arm*-*-linux*.

* config/arm/linux.mh
(NATDEPFILES): Removed core-aout.o.  Added core-regset.o.
(LOADLIBES): Define.

* config/arm/nm-linux.h: Include config/nm-linux.h.
(ATTACH_DETACH): Removed.  Defined in config/nm-linux.h.
(REGISTER_U_ADDR): Removed.
(SVR4_SHARED_LIBS): Removed.  Defined in config/nm-linux.h.
(#include "solib.h"): Removed.  Included via config/nm-linux.h.

24 years ago * path.cc (normalize_posix_path): Previous change failed to take root
cgf [Thu, 20 Apr 2000 20:42:14 +0000 (20:42 +0000)]
* path.cc (normalize_posix_path): Previous change failed to take root
access into account.

24 years ago * syscalls.cc (_link): Check new link path for trailing dot.
corinna [Thu, 20 Apr 2000 13:52:41 +0000 (13:52 +0000)]
    * syscalls.cc (_link): Check new link path for trailing dot.

24 years agoAppend NULL to enum based commands follow-fork and scheduler-locking.
cagney [Thu, 20 Apr 2000 11:00:34 +0000 (11:00 +0000)]
Append NULL to enum based commands follow-fork and scheduler-locking.

24 years agoFrom Alexandre Oliva <aoliva@cygnus.com>
cagney [Thu, 20 Apr 2000 07:26:07 +0000 (07:26 +0000)]
From Alexandre Oliva <aoliva@cygnus.com>
* generic/tclPosixStr.c (Tcl_SignalId, Tcl_SignalMsg): Do not
issue SIGPWR case if it's the same as SIGLOST.

24 years agoH.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.
amodra [Thu, 20 Apr 2000 05:37:05 +0000 (05:37 +0000)]
H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.

24 years ago* fhandler.h (fhandler_base::hclose): New virtual method.
cgf [Thu, 20 Apr 2000 04:38:10 +0000 (04:38 +0000)]
* fhandler.h (fhandler_base::hclose): New virtual method.
(fhandler_base::set_inheritance): Make this a method so that we can use the
appropriate close methods.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
* path.cc (normalize_posix_path): Eliminate /.  trailing path component.