binutils-gdb.git
25 years ago1999-02-02 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 2 Feb 1999 21:26:56 +0000 (21:26 +0000)]
1999-02-02  Martin Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (get_register): For RAW display, concat all the
pieces together before calling fputs.

25 years ago1999-02-02 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 2 Feb 1999 21:11:16 +0000 (21:11 +0000)]
1999-02-02  Martin Hunt  <hunt@cygnus.com>

* printcmd.c (print_scalar_formatted): Use strcat to concat all
the output together before calling fprintf_filtered().

25 years agoconfigure sparc subdir if --with-cgen
Doug Evans [Tue, 2 Feb 1999 20:40:33 +0000 (20:40 +0000)]
configure sparc subdir if --with-cgen

25 years agosparc cgen port
Doug Evans [Tue, 2 Feb 1999 19:38:43 +0000 (19:38 +0000)]
sparc cgen port

25 years agolose sparc for now
Doug Evans [Tue, 2 Feb 1999 19:17:42 +0000 (19:17 +0000)]
lose sparc for now

25 years agoDump tags found after the comp unit entry in a .debug_info section/
Nick Clifton [Tue, 2 Feb 1999 15:59:56 +0000 (15:59 +0000)]
Dump tags found after the comp unit entry in a .debug_info section/

25 years agoTue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 2 Feb 1999 15:17:34 +0000 (15:17 +0000)]
Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.

* gdb.c++/method.exp: Add missing close brace.

25 years agoAdd ability to dump .debug_aranges sections
Nick Clifton [Tue, 2 Feb 1999 12:44:54 +0000 (12:44 +0000)]
Add ability to dump .debug_aranges sections

25 years agoDisplayDWARF2 basic type encodings.
Nick Clifton [Tue, 2 Feb 1999 12:12:11 +0000 (12:12 +0000)]
DisplayDWARF2 basic type encodings.

25 years agoFix spelling typo.
Nick Clifton [Tue, 2 Feb 1999 11:45:18 +0000 (11:45 +0000)]
Fix spelling typo.

25 years agoReplace {...} with [...]
Nick Clifton [Tue, 2 Feb 1999 09:13:08 +0000 (09:13 +0000)]
Replace {...} with [...]

25 years ago * elfarm-nabi.c: Renamed from elf32-arm-newabi.c.
Catherine Moore [Tue, 2 Feb 1999 03:55:35 +0000 (03:55 +0000)]
    * elfarm-nabi.c:  Renamed from elf32-arm-newabi.c.
        * elfarm-oabi.c:  Renamed from elf32-arm-oldabi.c
        * Makefile.am:  Use new files.
        * Makefile.in:  Regenerate.
        * configure.in:  Use new files.
        * configure:  Regenerate.

25 years ago * disassemble.c (disassembler): Handle bfd_mach_i386_i386_intel_syntax.
Catherine Moore [Tue, 2 Feb 1999 03:08:29 +0000 (03:08 +0000)]
    * disassemble.c (disassembler):  Handle bfd_mach_i386_i386_intel_syntax.
        * i386-dis.c (x_mode):  Define.
        (dis386):  Remove.
        (dis386_att):  New.
        (dis386_intel):  New.
        (dis386_twobyte):  Remove.
        (dis386_twobyte_att):  New.
        (dis386_twobyte_intel):  New.
        (print_insn_x86):  Use new arrays.
        (float_mem):  Remove.
        (float_mem_intel):  New.
        (float_mem_att):  New.
        (dofloat):  Use new float_mem arrays.
        (print_insn_i386_att):  New.
        (print_insn_i386_intel):  New.
        (print_insn_i386):  Handle bfd_mach_i386_i386_intel_syntax.
        (putop):  Handle intel syntax.
        (OP_indirE):  Handle intel syntax.
        (OP_E):  Handle intel syntax.
        (OP_I):  Handle intel syntax.
        (OP_sI):  Handle intel syntax.
        (OP_OFF):  Handle intel syntax.

25 years ago * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
Catherine Moore [Tue, 2 Feb 1999 02:58:57 +0000 (02:58 +0000)]
    * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX):  Define.
        (INTEL_DWORD_MNEM_SUFFIX):  Define.
        (BYTE_PTR):  Define.
        (WORD_PTR):  Define.
        (DWORD_PTR):  Define.
        (XWORD_PTR):  Define.
        (SHORT):  Define.
        (OFFSET_FLAT):  Define.
        (FLAT):  Define.
        (NONE_FOUND):  Define.
        (No_dSuf):  Define.
        (No_xSuf):  Define.
        * config/tc-i386.c  (set_intel_syntax):  New routine.
        (intel_syntax):  Declare.
        (allow_naked_reg):  Declare.
        (md_pseudo_table):  Support .intel_syntax and .att_syntax.
        (intel_float_operand):  New routine.
        (md_assemble):  Handle INTEL_DWORD_MNEM_SUFFIX.
        Handle brackets as well as parens.  Call i386_intel_operand for
        intel syntax.  Reverse operands if appropriate.  Handle new
        suffixes.  Handle movzx and movsx.
        (i386_is_reg):  New routine.
        (i386_immediate):  New routine.
        (i386_scale):  New routine.
        (i386_displacement):  New routine.
        (i386_operand_modifier):  New routine.
        (build_displacement_string):  New routine.
        (i386_parse_seg):  New routine.
        (i386_intel_memory_operand):  New routine.
        (i386_intel_operand):  New routine.
        (i386_operand):  Call i386_displacement, i386_immediate,
        i386_scale, etc.  instead of handling inline.
        (parse_register):  Handle registers without prefix.

25 years agoadd armelf_oabi.em
Catherine Moore [Mon, 1 Feb 1999 22:39:43 +0000 (22:39 +0000)]
add armelf_oabi.em

25 years agoadd armelf_oabi.sh
Catherine Moore [Mon, 1 Feb 1999 22:38:59 +0000 (22:38 +0000)]
add armelf_oabi.sh

25 years agoadd arm-oabi.h
Catherine Moore [Mon, 1 Feb 1999 22:37:14 +0000 (22:37 +0000)]
add arm-oabi.h

25 years agoremove elf32-arm.c.
Catherine Moore [Mon, 1 Feb 1999 22:36:29 +0000 (22:36 +0000)]
remove elf32-arm.c.
add elf32-arm-oldabi., elf32-arm-newabi.c, elf32-arm.h

25 years ago1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 1 Feb 1999 21:34:30 +0000 (21:34 +0000)]
1999-02-01  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Require autoconf 2.13.
        (AM_EXEEXT): Replace with new AC_EXEEXT.
        * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.

25 years ago*** empty log message ***
Jim Blandy [Mon, 1 Feb 1999 21:17:46 +0000 (21:17 +0000)]
*** empty log message ***

25 years agoAllow PPC users to select which PPC/RS6000 variant they're debugging
Jim Blandy [Mon, 1 Feb 1999 21:17:19 +0000 (21:17 +0000)]
Allow PPC users to select which PPC/RS6000 variant they're debugging
at run-time.  At the moment, the only thing this affects is the
set of registers visible.
* config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
to the function rs6000_register_name.
(rs6000_register_name): Include extern decl.
(NUM_REGS): Bump to 183.  What's the right way to do this?
(FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
FIRST_SP_REGNUM, LAST_SP_REGNUM.
(REGISTER_BYTES): Recompute this.
* rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
#include "gdbcmd.h", so we can define commands here.
(struct variant): New structure.
(COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
PPC_32_OEA_SPR_NAMES, num_registers): New macros.
(register_names_rs6000, register_names_uisa, register_names_403,
register_names_403GC, register_names_505, register_names_860,
register_names_601, register_names_602, register_names_603,
register_names_604, register_names_750, variants): New variables.
(rs6000_register_name, install_variant, find_variant_by_name,
install_variant_by_name, list_variants, show_current_variant,
set_processor, show_processor): New functions.
(_initialize_rs6000_tdep): Define new commands `set processor' and
`show processor', and call install_variant_by_name to set the
default variant.
* rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
* configure.in: Accept the `--with-cpu' flag, to specify a default
processor variant.
* acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
by configure's `--with-cpu' flag.
* config.in, configure: Regenerated.

25 years ago * readelf.c (dump_relocations): Handle EM_ARM as REL.
Catherine Moore [Mon, 1 Feb 1999 20:39:54 +0000 (20:39 +0000)]
    * readelf.c (dump_relocations):  Handle EM_ARM as REL.

25 years ago * configure: Regenerate.
Catherine Moore [Mon, 1 Feb 1999 20:34:39 +0000 (20:34 +0000)]
    * configure:  Regenerate.
        * configure.in (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * config/tc-arm.c (target_oabi):  Declare.
        (md_apply_fix3): Support REL relocs.
        (md_parse_option):  Handle -oabi.
        (elf32_arm_target_format):  New routine.
        (md_longopts):  Add OPTION_OABI.
        * config/tc-arm.h:  Redefine TARGET_FORMAT.

25 years agoAdd GC support.
Nick Clifton [Mon, 1 Feb 1999 20:23:31 +0000 (20:23 +0000)]
Add GC support.

25 years ago * targets.c (bfd_target_vector): Add bfd_elf32_littlearm_oabi_vec
Catherine Moore [Mon, 1 Feb 1999 20:23:30 +0000 (20:23 +0000)]
    * targets.c (bfd_target_vector):  Add bfd_elf32_littlearm_oabi_vec
        and bfd_elf32_bigarm_oabi_vec.

25 years ago * Makefile.am (elf32-arm-oldabi.lo): New.
Catherine Moore [Mon, 1 Feb 1999 20:21:00 +0000 (20:21 +0000)]
    * Makefile.am (elf32-arm-oldabi.lo):  New.
        (elf32-arm-newabi.lo):  New.
        * Makefile.in:  Regenerate.
        * config.bfd (thumb-*-elf):  Remove definition of targ_underscore.
        (arm-*-elf):  Likewise.
        (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * configure:  Regenerate.
        * configure.in (bfd_elf32_littlearm_oabi_vec):  New.
        (bfd_elf32_bigarm_oabi_vec):  New.
        * elf32-arm-newabi.c:  New.
        * elf32-arm-oldabi.c:  New.
        * elf32-arm.c:  Removed.
        * elf32-arm.h:  New.

25 years ago1999-02-01 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 1 Feb 1999 20:13:54 +0000 (20:13 +0000)]
1999-02-01  Martin Hunt  <hunt@cygnus.com>

* srcwin.test (srcwin-4.3): Fix bp test.

25 years ago1999-02-01 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 1 Feb 1999 20:06:38 +0000 (20:06 +0000)]
1999-02-01  Martin Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c: (gdb_set_bp): Change the "type" argument
to be ASCII instead of an integer. Currently accepts "temp"
or "normal".  Fixed error messages.
(gdb_set_bp_addr): Ditto.

25 years ago * Makefile.am (earmelf_oabi.o): New.
Catherine Moore [Mon, 1 Feb 1999 19:45:14 +0000 (19:45 +0000)]
    * Makefile.am (earmelf_oabi.o):  New.
        * Makefile.in:  Regenerate.
        * configure.tgt (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * emulparams/armelf_oabi.sh:  New.
        * emultempl/armelf_oabi.em:  New.

25 years ago * arm.h: Renumber relocs to conform to standard.
Catherine Moore [Mon, 1 Feb 1999 19:38:10 +0000 (19:38 +0000)]
    * arm.h:  Renumber relocs to conform to standard.
        (EF_NEW_ABI):  Define.
        (EF_OLD_ABI):  Define.
        * arm-oabi.h:  New file.

25 years agoAdding scrwin3.test.to .Sanitize.
Jim Ingham [Mon, 1 Feb 1999 19:29:24 +0000 (19:29 +0000)]
Adding scrwin3.test.to .Sanitize.

25 years ago*** empty log message ***
Edith Epstein [Mon, 1 Feb 1999 19:03:07 +0000 (19:03 +0000)]
*** empty log message ***

25 years agoRemove v850e sanitization
Nick Clifton [Mon, 1 Feb 1999 11:21:32 +0000 (11:21 +0000)]
Remove v850e sanitization

25 years agoRemove sanitization of v850e-elf
Nick Clifton [Mon, 1 Feb 1999 11:13:44 +0000 (11:13 +0000)]
Remove sanitization of v850e-elf

25 years agoAdd v850e-elf target.
Nick Clifton [Mon, 1 Feb 1999 11:11:46 +0000 (11:11 +0000)]
Add v850e-elf target.

25 years ago* "objcopy -O binary" warning tweak, suggested by dmoseley
Frank Ch. Eigler [Mon, 1 Feb 1999 09:05:43 +0000 (09:05 +0000)]
* "objcopy -O binary" warning tweak, suggested by dmoseley
Mon Feb  1 11:52:12 1999  Frank Ch. Eigler  <fche@cygnus.com>
* binary.c (binary_set_section_contents): Omit warnings for
unloadable sections.

25 years ago * buildsym.h, buildsym.c: Convert to ANSI-only.
Stan Shebs [Mon, 1 Feb 1999 00:38:25 +0000 (00:38 +0000)]
* buildsym.h, buildsym.c: Convert to ANSI-only.

25 years ago1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com>
Vladimir Makarov [Mon, 1 Feb 1999 00:02:52 +0000 (00:02 +0000)]
1999-01-31 17:57:31 1998  Michael Meissner  <meissner@cygnus.com>

* scripttempl/elfppc.sc: Add support for -fleading-underscores
switch in all linker generated symbols.

* configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
powerpc{,le}-*-eabi.

25 years ago1999-01-31 Michael Meissner <meissner@cygnus.com>
Vladimir Makarov [Sun, 31 Jan 1999 23:59:10 +0000 (23:59 +0000)]
1999-01-31  Michael Meissner  <meissner@cygnus.com>

* config.bfd (powerpc{,le}-*-vxworks*): Add aliases to
powerpc{,le}-*-eabi.

25 years ago * buildsym.h, buildsym.c: Reformat to standard.
Stan Shebs [Sun, 31 Jan 1999 23:57:18 +0000 (23:57 +0000)]
* buildsym.h, buildsym.c: Reformat to standard.

25 years ago * buildsym.c (merge_symbol_lists): Remove unused variable.
Stan Shebs [Sun, 31 Jan 1999 23:29:13 +0000 (23:29 +0000)]
* buildsym.c (merge_symbol_lists): Remove unused variable.
(_initialize_buildsym): Remove, does nothing.

25 years ago1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
Stan Shebs [Sun, 31 Jan 1999 21:46:19 +0000 (21:46 +0000)]
1999-01-31 J.T. Conklin  <jtc@redbacknetworks.com>

* i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
  sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
  to include explicit void return type as per documentation.  Fix up
  occasions where stubs erroneously checked return type.

25 years ago From J.T. Conklin <jtc@redbacknetworks.com>:
Stan Shebs [Sun, 31 Jan 1999 21:23:43 +0000 (21:23 +0000)]
From J.T. Conklin <jtc@redbacknetworks.com>:
* remote.c (remote_query): Fix tipo.

25 years ago*** empty log message ***
Jim Blandy [Sat, 30 Jan 1999 19:27:42 +0000 (19:27 +0000)]
*** empty log message ***

25 years agofix use of sanitize to be sanitise to avoid hiccups
Brendan Kehoe [Sat, 30 Jan 1999 05:11:51 +0000 (05:11 +0000)]
fix use of sanitize to be sanitise to avoid hiccups

25 years agoupdate to show move by shebs from gdb.base
Brendan Kehoe [Sat, 30 Jan 1999 05:06:28 +0000 (05:06 +0000)]
update to show move by shebs from gdb.base

25 years agoupdate from shebs relocation of files to gdb.hp
Brendan Kehoe [Sat, 30 Jan 1999 05:05:21 +0000 (05:05 +0000)]
update from shebs relocation of files to gdb.hp

25 years agocomment out kod piece, since kod.c and kodecosdll.c are not checked
Brendan Kehoe [Sat, 30 Jan 1999 05:04:43 +0000 (05:04 +0000)]
comment out kod piece, since kod.c and kodecosdll.c are not checked
into CVS.

25 years ago1999-01-29 James Ingham <jingham@cygnus.com>
Jim Ingham [Sat, 30 Jan 1999 04:20:31 +0000 (04:20 +0000)]
1999-01-29  James Ingham  <jingham@cygnus.com>

* gdbtk.c (gdbtk_init): Set the fputs_unfiltered_hook to
gdbtk_fputs BEFORE you eval script.  The old code was setting it
to null until after you did this, but that is wrong, because it
will cause the output of CAUGHT errors to go to gdb_stderr, which
is wrong.  You only want to write errors to the console if the
eval generates an error.

25 years ago1999-01-29 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Sat, 30 Jan 1999 02:56:04 +0000 (02:56 +0000)]
1999-01-29  Martin Hunt  <hunt@cygnus.com>

* srcwin.test (click): New function that generates an event
at a location.
(srcwin-4.4): New test. Simulate a click on a line and
check for breakpoint set.
(srcwin-4.5): New test. Right-click on a line and select "Continue
to Here" from popup.

* srcwin.exp: Source srcwin3.test, which will test source window
assembly debugging on executables built without "-g".

25 years agoAdding some missing files to the .Sanitize file.
Jim Ingham [Sat, 30 Jan 1999 02:13:12 +0000 (02:13 +0000)]
Adding some missing files to the .Sanitize file.

25 years agoFri Jan 29 19:10:09 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Sat, 30 Jan 1999 00:12:22 +0000 (00:12 +0000)]
Fri Jan 29 19:10:09 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

Fix typos in ChangeLog

25 years ago * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
Stan Shebs [Sat, 30 Jan 1999 00:03:21 +0000 (00:03 +0000)]
* gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
  so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
  (shortening names from solib_threshold.exp etc), won't run on
  anything but HP-UX for the foreseeable future.
* gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
  reflect move.

25 years agoMove other gdbtk testsuite changelog entries here
Stan Shebs [Fri, 29 Jan 1999 23:57:22 +0000 (23:57 +0000)]
Move other gdbtk testsuite changelog entries here

25 years agoNo longer sanitize out refs to v850e or v850ea
Stan Shebs [Fri, 29 Jan 1999 23:40:26 +0000 (23:40 +0000)]
No longer sanitize out refs to v850e or v850ea

25 years ago * configure.tgt (v850): Add wildcard to match.
Stan Shebs [Fri, 29 Jan 1999 23:39:40 +0000 (23:39 +0000)]
* configure.tgt (v850): Add wildcard to match.
Also remove sanitization for v850e and ea.

25 years agoFri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
Edith Epstein [Fri, 29 Jan 1999 21:47:09 +0000 (21:47 +0000)]
Fri Jan 29 16:44:01 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

* inferior.h: ran indent

* fork-child.c: ran indent

* infrun.c : ran indent

25 years agoFri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 29 Jan 1999 18:29:12 +0000 (18:29 +0000)]
Fri Jan 29 12:57:34 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* infrun.c (_initialize_infrun): do not stop or print anything
when a SIGWINCH is received.

25 years agoFri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 29 Jan 1999 18:01:29 +0000 (18:01 +0000)]
Fri Jan 29 12:57:34 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* Makefile.in (m2-exp.tab.c): use YACC not BISON.
(f-exp.tab.c): ditto
(jv-exp.tab.c): ditto
(c-exp.tab.c): ditto
(YACC): define as @YACC@

25 years ago * gdb.gdbtk/cpp_variable.test (cpp_variable-1.1): Fix
Keith Seitz [Fri, 29 Jan 1999 14:35:12 +0000 (14:35 +0000)]
    * gdb.gdbtk/cpp_variable.test (cpp_variable-1.1): Fix
        function name error.

        * gdb.gdbtk/cpp_variable.h (class VC): Fix compiler warning.

Fix sanitize error in changelog.

25 years agoRemove unused variables
Nick Clifton [Fri, 29 Jan 1999 12:57:16 +0000 (12:57 +0000)]
Remove unused variables

25 years agoFix seg fault producing histogram
Nick Clifton [Fri, 29 Jan 1999 11:57:27 +0000 (11:57 +0000)]
Fix seg fault producing histogram

25 years agoAdd tests for readelf's Dwarf2 dumping feature.
Nick Clifton [Fri, 29 Jan 1999 11:16:08 +0000 (11:16 +0000)]
Add tests for readelf's Dwarf2 dumping feature.

25 years agoSupport v850 expected failures.
Nick Clifton [Fri, 29 Jan 1999 10:49:19 +0000 (10:49 +0000)]
Support v850 expected failures.

25 years agoAdd tests of readelf.
Nick Clifton [Fri, 29 Jan 1999 10:17:51 +0000 (10:17 +0000)]
Add tests of readelf.

25 years ago1999-01-29 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 29 Jan 1999 09:46:26 +0000 (09:46 +0000)]
1999-01-29  Martin Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_get_breakpoint_info): When printing addresses,
        do not rely on the format string "%lx" -- it does not exist for all
        hosts. Use paddr instead.
(gdb_loadfile): Increase maximum line size to pass testsuite cases.

* gdbtk-hooks.c (gdbtk_add_hooks): Remove pc_changed_hook and
        add register_changed_hook and memory_changed_hook.
        (gdbtk_register_changed): New function.
        (gdbtk_memory_changed): New function.

25 years ago1999-01-29 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 29 Jan 1999 09:46:03 +0000 (09:46 +0000)]
1999-01-29  Martin Hunt  <hunt@cygnus.com>
Changes from Keith Seitz  <keiths@cygnus.com>

        * valops.c (value_assign): Add calls to register_changed_hook and
        memory_changed_hook to inform UIs that the user has changed
        the target's registers/memory.
        * findvar.c (write_register_gen): Remove call to pc_changed_hook.
        * defs.h: Remove declaration for pc_changed_hook and
        add declarations for register_changed_hook and
        memory_changed_hook.
        * top.c: Ditto.

25 years ago1999-01-29 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 29 Jan 1999 09:44:18 +0000 (09:44 +0000)]
1999-01-29  Martin Hunt  <hunt@cygnus.com>

* srcwin.test(srcwin-4.3) Change bytype field to 3.

25 years ago1999-01-29 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 29 Jan 1999 08:56:14 +0000 (08:56 +0000)]
1999-01-29  Martin Hunt  <hunt@cygnus.com>

        * gdbtk.c (gdbtk_init): Create tcl warp_pointer command
        for use with testing.

        * gdbtk-cmds.c (gdb_loc): Fix for case where there are only
        minimal symbols.  Also make gdb_loc return the shared library
        the location is in, if it is in one.

25 years agoFri Jan 29 00:47:21 1999 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Fri, 29 Jan 1999 05:48:43 +0000 (05:48 +0000)]
Fri Jan 29 00:47:21 1999  H.J. Lu  <hjl@gnu.org>

* elf.c (assign_file_positions_for_segments): Only adjust
p_align when needed.

25 years agoFix for PR 17980:
Mark Alexander [Fri, 29 Jan 1999 02:19:27 +0000 (02:19 +0000)]
Fix for PR 17980:
* procfs.c (wait_fd): Handle deleted threads correctly.

25 years ago * binary.c (binary_set_section_contents): Don't return early for a
Ian Lance Taylor [Fri, 29 Jan 1999 01:07:32 +0000 (01:07 +0000)]
* binary.c (binary_set_section_contents): Don't return early for a
  non-loadable section, in case the first section is non-loadable.
   Don't set the low lma for a SEC_NEVER_LOAD section.  From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>.

25 years ago1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Thu, 28 Jan 1999 22:06:24 +0000 (22:06 +0000)]
1999-01-28  Jason Molenda  (jsm@bugshack.cygnus.com)

        * utils.c (init_page_info): Force window size if running under emacs.

emacs-detection stolen from readline.

25 years agoHandle bfd_install_relocation returning out-of-range error.
Nick Clifton [Thu, 28 Jan 1999 18:11:41 +0000 (18:11 +0000)]
Handle bfd_install_relocation returning out-of-range error.

25 years agoFixes to allow vtable support to work.
Nick Clifton [Thu, 28 Jan 1999 17:29:49 +0000 (17:29 +0000)]
Fixes to allow vtable support to work.

25 years agoAdd support for ZVTINHERIT and VTENTRY relocs.
Nick Clifton [Thu, 28 Jan 1999 17:17:17 +0000 (17:17 +0000)]
Add support for ZVTINHERIT and VTENTRY relocs.

25 years ago * elflink.h (elf_link_output_sym): Zero syms which are
Catherine Moore [Thu, 28 Jan 1999 17:17:16 +0000 (17:17 +0000)]
   * elflink.h (elf_link_output_sym):  Zero syms which are
       part of sections which have been excluded.

25 years agoooops - missed from previous delta
Nick Clifton [Thu, 28 Jan 1999 13:13:31 +0000 (13:13 +0000)]
ooops - missed from previous delta

25 years ago * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
Doug Evans [Thu, 28 Jan 1999 06:51:00 +0000 (06:51 +0000)]
* cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.

25 years ago * cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT,
Doug Evans [Thu, 28 Jan 1999 06:20:54 +0000 (06:20 +0000)]
* cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT,
CGEN_MODE_UINT.

25 years ago * fr30-opc.h,fr30-opc.c: Rebuild.
Doug Evans [Thu, 28 Jan 1999 06:18:23 +0000 (06:18 +0000)]
* fr30-opc.h,fr30-opc.c: Rebuild.
* i960c-opc.h,i960c-opc.c: Rebuild.
* m32r-opc.c: Rebuild.

25 years ago1999-01-27 James Ingham <jingham@cygnus.com>
Jim Ingham [Thu, 28 Jan 1999 06:11:03 +0000 (06:11 +0000)]
1999-01-27  James Ingham  <jingham@cygnus.com>

* gdbtk-wrapper.c: Missed a couple of places where FILE->GDB_FILE
in the fputs_unfiltered_hook needed to propagate.

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