external/binutils.git
25 years agoThis is the merge of the Itcl3.0 gdbtk development branch into the
Jim Ingham [Thu, 28 Jan 1999 03:50:17 +0000 (03:50 +0000)]
This is the merge of the Itcl3.0 gdbtk development branch into the
trunk.  To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.

25 years ago * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.
Doug Evans [Thu, 28 Jan 1999 01:37:10 +0000 (01:37 +0000)]
* cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.

25 years ago * sim-profile.h: Make like sim-trace.h.
Doug Evans [Thu, 28 Jan 1999 01:28:03 +0000 (01:28 +0000)]
* sim-profile.h: Make like sim-trace.h.
(PROFILE_USEFUL_MASK): New macro.
* sim-profile.c (profile_options): Make like trace_options, allow
optional on|off arg where applicable.
(set_profile_option_mask): New function.
(sim_profile_set_option): New function.
(profile_option_handler): Simplify.
Have -p only enable selected things, not everything.
Add missing break to OPTION_PROFILE_PC_RANGE.
* cgen-scache.c (scache_options): Allow optional on|off arg to
--profile-scache.
(scache_option_handler): Use sim_profile_set_option.

25 years ago* coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC to F_PIC_INT.
Stan Cox [Wed, 27 Jan 1999 22:57:06 +0000 (22:57 +0000)]
* coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC to F_PIC_INT.
* coffcode.h (coff_set_arch_mach_hook): Removed F_ARM_2a and
F_ARM_3M labels.  Changed F_PIC to F_PIC_INT.

25 years agoWed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 27 Jan 1999 21:59:10 +0000 (21:59 +0000)]
Wed Jan 27 16:50:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* hp-psymtab-read.c: reformatted using indent.

25 years agoWed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 27 Jan 1999 18:22:44 +0000 (18:22 +0000)]
Wed Jan 27 13:20:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* hp-psymtab-read.c: reformatted comments, updated copyright.

25 years agoAdd preliminary DWARF2 dumpping capability to readelf.
Nick Clifton [Wed, 27 Jan 1999 18:17:08 +0000 (18:17 +0000)]
Add preliminary DWARF2 dumpping capability to readelf.

25 years agoAdd typedefs for structures found in dwarf2 debug sections
Nick Clifton [Wed, 27 Jan 1999 18:08:17 +0000 (18:08 +0000)]
Add typedefs for structures found in dwarf2 debug sections

25 years agoFix bug in handling R_FR20 relocations.
Nick Clifton [Wed, 27 Jan 1999 12:17:28 +0000 (12:17 +0000)]
Fix bug in handling R_FR20 relocations.

25 years ago* mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
Andrew Cagney [Wed, 27 Jan 1999 04:45:28 +0000 (04:45 +0000)]
* mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
elf_info.

25 years ago1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 27 Jan 1999 01:51:26 +0000 (01:51 +0000)]
1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)

        * simops.c (OP_5605): Sign extend MIN32 and MAX32 before saturation
        comparison.
        (OP_5607): Ditto.
        (OP_2A00): Ditto.
        (OP_2800): Ditto.

PRs 18435 18436 18437 18439.

25 years ago1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 27 Jan 1999 00:48:10 +0000 (00:48 +0000)]
1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)

        * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
        system.

Without this you'll get a build failure in gdbtk.c because it includes
stdarg.h but tui.h includes varargs.h; gdbtk.c tries to use va_start
and things die.

25 years ago * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
Mark Alexander [Wed, 27 Jan 1999 00:15:00 +0000 (00:15 +0000)]
* v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
and structures for handling differences in register names for
v850 and v850e.
(struct reg_list): Define new structure for creating tables
of register bit masks in v850e instrutions.
(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
and pushm.
(v850_target_architecture_hook): New function to set register
names based on current machine.
(_initialize_v850_tdep): Set up target_architecture_hook.
* config/v850/tm-v850.h (v850_register_names): Declare.
(REGISTER_NAME): Define to refer to v850_register_names.
(SR0_REGNUM, CTBP_REGNUM): Define.
(PS_REGNUM): Redefine in terms of SR0_REGNUM.

25 years agoTue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 26 Jan 1999 23:32:39 +0000 (23:32 +0000)]
Tue Jan 26 18:27:26 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* Makefile.in (c-exp.tab.c): use BISON instead of YACC, to pick
the correct value from configure output.
(jv-exp.tab.c): ditto.
(f-exp.tab.c): ditto.
(m2-exp.tab.c): ditto.

25 years ago1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 26 Jan 1999 23:15:13 +0000 (23:15 +0000)]
1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)

        * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
        * frame.h (select_and_print_frame): Add prototype.
        * stack.c (func_command): Call select_and_print_frame with correct
        number of arguments.  Reformat whitespace.

As far as I can tell, the func command (only enabled in --dbx mode) doesn't
actually work right now, even with this rather glaring fix.  I'm not going
to spend time on it; dbx mode looks pretty seriously broken after a five
second glance.

25 years agoTue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 26 Jan 1999 21:57:10 +0000 (21:57 +0000)]
Tue Jan 26 16:53:54 1999  Fernando Nasser  <fnasser@cygnus.com>

        * remote.c (remote_query): fix maximum packet size to account for
          remote_debug use.
          (putpkt): add comment to alert about extra byte need.

25 years ago* Patch for PR 18607.
Frank Ch. Eigler [Tue, 26 Jan 1999 16:46:13 +0000 (16:46 +0000)]
* Patch for PR 18607.
1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
* binary.c (binary_set_section_contents): Emit warning for
huge file offsets due to widely-dispersed section LMAs.

25 years agoam33 sanitize changes
Jeff Law [Tue, 26 Jan 1999 14:52:15 +0000 (14:52 +0000)]
am33 sanitize changes

25 years agoam33 sanitization changes
Jeff Law [Tue, 26 Jan 1999 14:40:02 +0000 (14:40 +0000)]
am33 sanitization changes

25 years agoam33 sanitization changes.
Jeff Law [Tue, 26 Jan 1999 14:30:38 +0000 (14:30 +0000)]
am33 sanitization changes.

25 years agoam33 sanitization changes.
Jeff Law [Tue, 26 Jan 1999 14:21:09 +0000 (14:21 +0000)]
am33 sanitization changes.

25 years agoam33 sanitization changes
Jeff Law [Tue, 26 Jan 1999 14:19:24 +0000 (14:19 +0000)]
am33 sanitization changes

25 years agoam33 is now kept with --keep-cygnus.
Jeff Law [Tue, 26 Jan 1999 14:07:52 +0000 (14:07 +0000)]
am33 is now kept with --keep-cygnus.

25 years agoam33 is now kept with --keep-cygnus.
Jeff Law [Tue, 26 Jan 1999 14:02:27 +0000 (14:02 +0000)]
am33 is now kept with --keep-cygnus.

25 years ago* Update copyright year.
Frank Ch. Eigler [Tue, 26 Jan 1999 11:34:10 +0000 (11:34 +0000)]
* Update copyright year.

25 years ago* Implement --memory-fill and fix --memory-clear options,
Frank Ch. Eigler [Tue, 26 Jan 1999 11:29:17 +0000 (11:29 +0000)]
* Implement --memory-fill and fix --memory-clear options,
  for internal PR 18869 and 18870.
1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
* sim-memopt.c (memory_options): Add MEMORY_FILL option.
(memory_option_handler): Implement MEMORY_FILL option.  Make
  MEMORY_CLEAR an alias for MEMORY_FILL=0.
(parse_ulong_value): New function.
(do_memopt_add): Allocate all buffers.  Optionally fill them.

25 years ago * sh-tdep.c (sh_target_architecture_hook): Return immediately
Mark Alexander [Tue, 26 Jan 1999 03:57:32 +0000 (03:57 +0000)]
* sh-tdep.c (sh_target_architecture_hook): Return immediately
when a matching machine is found.

25 years agoInitial implementation of fixes for MPC860 version C0 & earlier.
James Lemke [Fri, 22 Jan 1999 21:53:57 +0000 (21:53 +0000)]
Initial implementation of fixes for MPC860 version C0 & earlier.

25 years agoFix for PR 18873:
Mark Alexander [Fri, 22 Jan 1999 17:15:21 +0000 (17:15 +0000)]
Fix for PR 18873:
* remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
(common_breakpoint): Restore support for instruction breakpoints
on non-LSI targets.

25 years agoFix typos.
Andrew Cagney [Fri, 22 Jan 1999 03:21:25 +0000 (03:21 +0000)]
Fix typos.

25 years ago From J.T. Conklin <jtc@redbacknetworks.com>:
Stan Shebs [Fri, 22 Jan 1999 03:09:06 +0000 (03:09 +0000)]
From J.T. Conklin <jtc@redbacknetworks.com>:
* top.c (init_main): Fix tipo in description of the remotetimeout
variable.
* breakpoint.c (bpstat_stop_status): Handle systems where
DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.

25 years ago * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
Stan Shebs [Fri, 22 Jan 1999 02:30:37 +0000 (02:30 +0000)]
* procfs.c (init_procfs_ops): New function, fills in procfs_ops,
init only nonzero fields, leave to_require_attach and
to_require_detach empty, not needed for /proc systems yet.
(_initialize_procfs): Call init_procfs_ops.

25 years ago * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
Mark Alexander [Fri, 22 Jan 1999 01:29:46 +0000 (01:29 +0000)]
* mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.

25 years ago * remote-sds.c (sds_ops): Define only once.
Stan Shebs [Thu, 21 Jan 1999 03:08:02 +0000 (03:08 +0000)]
* remote-sds.c (sds_ops): Define only once.
(init_sds_ops, sds_command, _initialize_remote_sds): Declare.
(init_sds_ops): Init only non-zero fields.

25 years ago * gdb.texinfo: Make many HPPA conditionals unconditional,
Stan Shebs [Thu, 21 Jan 1999 01:51:30 +0000 (01:51 +0000)]
* gdb.texinfo: Make many HPPA conditionals unconditional,
including catchpoint description, since now on for all configs.
* all-cfg.texi: @clear HPPA, since is mainly for very HP-specific
specializations.

25 years agoChanges for PR 8996:
Mark Alexander [Wed, 20 Jan 1999 23:54:03 +0000 (23:54 +0000)]
Changes for PR 8996:
* h8300-tdep.c (original_register_names, h8300h_register_names,
h8300_register_names): Define new variables.
(set_register_names): New function to set register names based on
current CPU type.
(h8300_command, h8300h_command, h8300s_command): Call
set_register_names.
* config/h8300/tm-h8300.h (h8300_register_names): Declare.
(REGISTER_NAME): Define to refer to h8300_register_names.

25 years agoremove fr30 sanitization
Doug Evans [Wed, 20 Jan 1999 21:01:15 +0000 (21:01 +0000)]
remove fr30 sanitization

25 years agonew dir cross-build needs to be kept.
Felix Lee [Wed, 20 Jan 1999 15:18:32 +0000 (15:18 +0000)]
new dir cross-build needs to be kept.

25 years agonew file, shlib-call.exp, should be kept.
Felix Lee [Wed, 20 Jan 1999 01:27:09 +0000 (01:27 +0000)]
new file, shlib-call.exp, should be kept.

25 years agosanitization fix: add directory bsp
Felix Lee [Wed, 20 Jan 1999 00:27:59 +0000 (00:27 +0000)]
sanitization fix: add directory bsp

25 years agoShame on Jimbo.
Jason Molenda [Tue, 19 Jan 1999 23:31:52 +0000 (23:31 +0000)]
Shame on Jimbo.

25 years ago1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Tue, 19 Jan 1999 20:45:31 +0000 (20:45 +0000)]
1999-01-19  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
v850ice.c win32-nat.c: cosmetic changes to conform to coding
standards.

25 years agofix copyright years (forgot to add 1999).
David Taylor [Tue, 19 Jan 1999 17:01:36 +0000 (17:01 +0000)]
fix copyright years (forgot to add 1999).

25 years agoUse aclocal to generate GDB's aclocal.m4 script.
Jim Blandy [Tue, 19 Jan 1999 16:57:32 +0000 (16:57 +0000)]
Use aclocal to generate GDB's aclocal.m4 script.
* acinclude.m4: New file, containing the hand-written local macro
definitions that used to be in aclocal.m4.  Don't sinclude
../bfd/aclocal.m4 any more; running aclocal in this directory will
get us the definitions we need.  HOWEVER: Do sinclude
../bfd/acinclude.m4, because we need the definition of
BFD_NEED_DECLARATION.
* aclocal.m4: Regenerated by aclocal.
* configure: Regenerated by autoconf.

25 years ago*** empty log message ***
Jim Blandy [Tue, 19 Jan 1999 16:57:09 +0000 (16:57 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Tue, 19 Jan 1999 16:56:22 +0000 (16:56 +0000)]
*** empty log message ***

25 years agodisable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
David Taylor [Tue, 19 Jan 1999 16:20:39 +0000 (16:20 +0000)]
disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
updated.  new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c).
PR 16495 / PR 18213.

25 years agoDisplay ARM syntax for PC relative offsets, as well as symbolic addresses.
Nick Clifton [Tue, 19 Jan 1999 15:52:20 +0000 (15:52 +0000)]
Display ARM syntax for PC relative offsets, as well as symbolic addresses.

25 years agofix comments and some indentation.
David Taylor [Tue, 19 Jan 1999 15:52:19 +0000 (15:52 +0000)]
fix comments and some indentation.

25 years agoonly declare child_post_attach if CHILD_POST_ATTACH is defined.
David Taylor [Tue, 19 Jan 1999 15:29:06 +0000 (15:29 +0000)]
only declare child_post_attach if CHILD_POST_ATTACH is defined.

25 years agoMore make_cleanups/catch_errors warning fixes.
Andrew Cagney [Tue, 19 Jan 1999 12:28:20 +0000 (12:28 +0000)]
More make_cleanups/catch_errors warning fixes.

25 years agoHPMERGE:
Andrew Cagney [Tue, 19 Jan 1999 02:17:00 +0000 (02:17 +0000)]
HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout.
More upddates to calls of catch_errors() so that call matches new interface.

25 years ago * ser-ocd.c (ocd_open): Handle Unix case gracefully.
Stan Shebs [Tue, 19 Jan 1999 02:13:06 +0000 (02:13 +0000)]
* ser-ocd.c (ocd_open): Handle Unix case gracefully.
fixes bug reported on ecos-discuss

25 years ago * target.c (dummy_target): Don't initialize statically.
Stan Shebs [Tue, 19 Jan 1999 00:49:41 +0000 (00:49 +0000)]
* target.c (dummy_target): Don't initialize statically.
(init_dummy_target): New function, fills in dummy_target.
(initialize_targets): Use it.
* hpux-thread.c (hpux_thread_ops): Don't initialize statically.
(init_hpux_thread_ops): New function, fills in hpux_thread_ops.
(_initialize_hpux_thread): Use it.
* m3-nat.c (m3_ops): Don't initialize statically.
(init_m3_ops): New function, fills in m3_ops.
(_initialize_m3): Use it.

25 years ago1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Tue, 19 Jan 1999 00:39:04 +0000 (00:39 +0000)]
1999-01-18  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * sol-thread.c: delete compile time initialization of target_ops
          (_initialize_sol_thread): initialize target_ops at run time.
        * hpux-thread.c: added target_ops entry.
        * m3-nat.c: ditto.

25 years agochange initialization of procfs_ops from compile time to run time.
David Taylor [Mon, 18 Jan 1999 20:22:43 +0000 (20:22 +0000)]
change initialization of procfs_ops from compile time to run time.

25 years ago* configure.in: Ensure that -luser32 is always linked in for cygwin build.
Christopher Faylor [Mon, 18 Jan 1999 17:54:36 +0000 (17:54 +0000)]
* configure.in: Ensure that -luser32 is always linked in for cygwin build.
* configure: Regenerated.

25 years ago * values.c (value_virtual_fn_field): Clear the pointed-to
Mark Alexander [Mon, 18 Jan 1999 16:43:01 +0000 (16:43 +0000)]
* values.c (value_virtual_fn_field): Clear the pointed-to
offset when casting to the base class.

25 years agofix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile.
David Taylor [Mon, 18 Jan 1999 15:35:10 +0000 (15:35 +0000)]
fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile.

25 years agoHPMERGE:
Andrew Cagney [Mon, 18 Jan 1999 01:24:06 +0000 (01:24 +0000)]
HPMERGE:
Pass gdb_stderr instead of stderr.
In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*

25 years agoFix warnings from calls to catch_errors() and make_cleanup().
Andrew Cagney [Mon, 18 Jan 1999 00:46:13 +0000 (00:46 +0000)]
Fix warnings from calls to catch_errors() and make_cleanup().

25 years agocatch_errors() takes PTR argument/func instead of char* argument/func.
Andrew Cagney [Sun, 17 Jan 1999 23:23:42 +0000 (23:23 +0000)]
catch_errors() takes PTR argument/func instead of char* argument/func.
Update breakpoint.c.
Fix (?) cover_target_enable_exception_callback().  Wasn't returning a
value.

25 years ago1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Sat, 16 Jan 1999 19:01:23 +0000 (19:01 +0000)]
1999-01-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * remote.c (remote_query): new function - creates proper interface
        to the remote protocol "q" command.

25 years agoDo not merge two instructions when the left hand one kills the right hand one.
Nick Clifton [Sat, 16 Jan 1999 13:33:46 +0000 (13:33 +0000)]
Do not merge two instructions when the left hand one kills the right hand one.

25 years ago * hppa.h (mtsarcm): Add new PA2.0 instruction.
Jeff Law [Sat, 16 Jan 1999 08:03:32 +0000 (08:03 +0000)]
    * hppa.h (mtsarcm): Add new PA2.0 instruction.

25 years ago * Fix mask for PA2.0 floating point load instructions.
Jeff Law [Sat, 16 Jan 1999 06:42:11 +0000 (06:42 +0000)]
    * Fix mask for PA2.0 floating point load instructions.

25 years agoChanged ABI to match a GCC change. Structs passed by value are always
Zdenek Radouch [Fri, 15 Jan 1999 22:17:00 +0000 (22:17 +0000)]
Changed ABI to match a GCC change.  Structs passed by value are always
passed using a pointer.

25 years agoFri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Jan 1999 19:17:31 +0000 (19:17 +0000)]
Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
and compiled w/o GCC.

25 years agoFri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Jan 1999 19:10:52 +0000 (19:10 +0000)]
Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform
and compiled w/o GCC.

* gdb.hp/watch-hp.exp: ditto.

* gdb.hp/xdb1.exp: ditto.

* gdb.hp/xdb2.exp: ditto.

* gdb.hp/dbx.exp: ditto.

25 years ago1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 15 Jan 1999 17:30:25 +0000 (17:30 +0000)]
1999-01-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * target.h: added entry for target queries (to_query)
          target.c: ditto.

25 years ago1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 15 Jan 1999 16:22:07 +0000 (16:22 +0000)]
1999-01-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * .Sanitize: add Kernel Objects Display (a.k.a. KOD) sanitization.

25 years agoOnly allow allocated sections to contribute to the size of a region.
Nick Clifton [Fri, 15 Jan 1999 08:50:15 +0000 (08:50 +0000)]
Only allow allocated sections to contribute to the size of a region.

25 years agosanitize last entry
Doug Evans [Fri, 15 Jan 1999 08:29:15 +0000 (08:29 +0000)]
sanitize last entry

25 years agoMerge egcs-19990112.
Jeff Law [Fri, 15 Jan 1999 08:19:02 +0000 (08:19 +0000)]
Merge egcs-19990112.

25 years agoregenerate
Doug Evans [Fri, 15 Jan 1999 07:40:02 +0000 (07:40 +0000)]
regenerate

25 years ago * Makefile.in (stamp-arch): Pass FLAGS to cgen.
Doug Evans [Fri, 15 Jan 1999 07:27:00 +0000 (07:27 +0000)]
* Makefile.in (stamp-arch): Pass FLAGS to cgen.
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
* traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.

25 years ago * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
Doug Evans [Fri, 15 Jan 1999 07:02:30 +0000 (07:02 +0000)]
* cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
(sim_disassemble_insn): Update prototype.
(sim_engine_invalid_insn): Ditto.
* cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
(SEM_BRANCH_INIT): PCADDR->IADDR.
(SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
* cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
* cgen-scache.h (*): Ditto.
* cgen-trace.c (*): Ditto.
* cgen-trace.h (*): Ditto.
* cgen-utils.c (*): Ditto.
* cgen-types.h (integer modes): Use signedNN/unsignedNN types.
(insn_t): Delete.
* genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
(simple engine framework): Rewrite.
* sim-module.c (modules): Install model module sooner (and in
particular before the profile module).

25 years ago * coffdump.c (xcalloc): Remove, in libiberty now.
Jeff Law [Fri, 15 Jan 1999 06:40:20 +0000 (06:40 +0000)]
    * coffdump.c (xcalloc): Remove, in libiberty now.
        * srconv.c (xcalloc): Likewise.
        * sysdump.c (xcalloc): Likewise.

25 years agoadd 1999 to copyright date
Doug Evans [Fri, 15 Jan 1999 05:33:23 +0000 (05:33 +0000)]
add 1999 to copyright date

25 years ago * constvars.c: Remove C++-isms.
Stan Shebs [Fri, 15 Jan 1999 02:41:19 +0000 (02:41 +0000)]
* constvars.c: Remove C++-isms.
* constvars.exp: Use gdb_test everywhere, add xfails if compiled
  with GCC.

25 years ago * Makefile.in (GDBvn.texi): Fix match expression to work with
Stan Shebs [Fri, 15 Jan 1999 01:12:49 +0000 (01:12 +0000)]
* Makefile.in (GDBvn.texi): Fix match expression to work with
current format of VERSION in gdb/Makefile.in.
* gdb.texinfo: Fix node ref to match new readline.

25 years agofix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
David Taylor [Thu, 14 Jan 1999 23:40:25 +0000 (23:40 +0000)]
fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.

25 years agoWed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 14 Jan 1999 18:46:54 +0000 (18:46 +0000)]
Wed Jan 13 14:59:02 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.

25 years agoOutput formatting change to improve readability.
Nick Clifton [Thu, 14 Jan 1999 09:53:22 +0000 (09:53 +0000)]
Output formatting change to improve readability.

25 years ago1999-01-13 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Thu, 14 Jan 1999 00:46:01 +0000 (00:46 +0000)]
1999-01-13  Jason Molenda  (jsm@bugshack.cygnus.com)

* t-sadd.s: New file.
* Makefile.in (TESTS): Add t-sadd.

PR 18438.

25 years agoinsert_breakpoints -- insert cast to eliminate warning.
David Taylor [Thu, 14 Jan 1999 00:37:26 +0000 (00:37 +0000)]
insert_breakpoints -- insert cast to eliminate warning.

25 years agoWed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 13 Jan 1999 23:53:30 +0000 (23:53 +0000)]
Wed Jan 13 14:59:02 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.

25 years agospelling fix.
Michael Snyder [Wed, 13 Jan 1999 23:49:55 +0000 (23:49 +0000)]
spelling fix.

25 years ago * thread.c: cull duplicate prototypes. Move prototypes to top.
Michael Snyder [Wed, 13 Jan 1999 23:44:07 +0000 (23:44 +0000)]
    * thread.c: cull duplicate prototypes.  Move prototypes to top.
        * serial.c: indentation cleanup.
        * breakpoint.c: add casts to eliminate compiler warnings.

25 years agochange by Edie.
David Taylor [Wed, 13 Jan 1999 17:18:32 +0000 (17:18 +0000)]
change by Edie.

25 years agoWed Jan 13 10:38:40 1999 Edith Epstein <eepstein@sophia.cygnus.com>
Edith Epstein [Wed, 13 Jan 1999 16:02:06 +0000 (16:02 +0000)]
Wed Jan 13 10:38:40 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

* gdb.texinfo: Changes made as part of a project to merge in
  changes made by HP. Documentation makes extensive use of
  @ifclear HPPA and @ifset HPPA. The HP manual omits doumentation
  on remote debugging. There are differences in documentation
    (HP vs.  non-HP) on C++ support (aCC vs. gnu gcc++). Also,
  the HP manual discusses catchpoints, hardware watchpoints, and
  some HPUX specific limitations for shared library support.

  There are also a number of @node changes.

25 years agoRemoved fr30.sh and fr30.sc.
Nick Clifton [Wed, 13 Jan 1999 09:23:09 +0000 (09:23 +0000)]
Removed fr30.sh and fr30.sc.
Added elf32fr30.sh

25 years ago1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 13 Jan 1999 01:49:33 +0000 (01:49 +0000)]
1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)

        * monitor.c (init_base_monitor_ops): Whitespace cleanup.
        (_initialize_remote_monitors): Same.

25 years ago1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 13 Jan 1999 01:45:04 +0000 (01:45 +0000)]
1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)

        * monitor.c (init_monitor_ops): Initialize the monitor_ops
        structure if it hasn't already been done.

PR 18735

25 years ago1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 13 Jan 1999 01:35:53 +0000 (01:35 +0000)]
1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)

        * gdbint.texinfo (Formatting): Disambiguate a sentence.
        (C Usage): Same.

I am stupid, so I had trouble reading these two sentences.
Now I can read them, so I am happy.

25 years agoFlush the Cygnus-ized reference card, hasn't been used in years.
Stan Shebs [Wed, 13 Jan 1999 01:04:33 +0000 (01:04 +0000)]
Flush the Cygnus-ized reference card, hasn't been used in years.

25 years ago * inftarg.c (child_ops): Don't initialize statically.
Stan Shebs [Tue, 12 Jan 1999 22:58:18 +0000 (22:58 +0000)]
* inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
(_initialize_inftarg): Use it.
(child_post_attach): Declare extern.
(child_wait): Fix ambiguous parens.
(child_attach_to_process): Remove unused local wstatus.
(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
child_has_forked, child_insert_exec_catchpoint,
child_remove_exec_catchpoint): Return a value.

25 years agoTue Jan 12 16:54:37 1999 Edith Epstein <eepstein@sophia.cygnus.com>
Edith Epstein [Tue, 12 Jan 1999 22:03:58 +0000 (22:03 +0000)]
Tue Jan 12 16:54:37 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

        * gdb.texinfo (Shell Commands): fixed messages about shell usage.
          HP was insisting on C shell. Now all UNIX platforms have the
          same message. removed @ifset HPPA and @ifclear HPPA

Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

* inftarg.c (child_create_inferior): fixed HPUXHPPA specific
  call to fork_inferior. The shell param is now NULL.

25 years ago * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
Doug Evans [Tue, 12 Jan 1999 21:46:47 +0000 (21:46 +0000)]
* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.

25 years ago * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
Doug Evans [Tue, 12 Jan 1999 21:25:21 +0000 (21:25 +0000)]
* sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
* sim-model.c (sim_mach_lookup_bfd_name): New function.
(sim_model_init): Call it.