Commit Graph

24753 Commits

Author SHA1 Message Date
Stan Shebs 31bcf8905f * configure.tgt (v850): Add wildcard to match.
Also remove sanitization for v850e and ea.
1999-01-29 23:39:40 +00:00
Edith Epstein 34adffbd05 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
1999-01-29 21:47:09 +00:00
Elena Zannoni fbd641cbd3 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.
1999-01-29 18:29:12 +00:00
Elena Zannoni f4d3153f65 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@
1999-01-29 18:01:29 +00:00
Keith Seitz 16c338694d * 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.
1999-01-29 14:35:12 +00:00
Nick Clifton 521f02c8bc Remove unused variables 1999-01-29 12:57:16 +00:00
Nick Clifton e356c94b92 Fix seg fault producing histogram 1999-01-29 11:57:27 +00:00
Nick Clifton 6869092ea1 Add tests for readelf's Dwarf2 dumping feature. 1999-01-29 11:16:08 +00:00
Nick Clifton 1b977c7dbf Support v850 expected failures. 1999-01-29 10:49:19 +00:00
Nick Clifton 5cee067a58 Add tests of readelf. 1999-01-29 10:17:51 +00:00
Martin Hunt 7c5c8a5e46 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.
1999-01-29 09:46:26 +00:00
Martin Hunt 6925baeaa6 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.
1999-01-29 09:46:03 +00:00
Martin Hunt 6aba57bef2 1999-01-29 Martin Hunt <hunt@cygnus.com>
* srcwin.test(srcwin-4.3) Change bytype field to 3.
1999-01-29 09:44:18 +00:00
Martin Hunt 40a7f1e93a 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.
1999-01-29 08:56:14 +00:00
Ian Lance Taylor 005b252712 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.
1999-01-29 05:48:43 +00:00
Mark Alexander e5c9fdd2b6 Fix for PR 17980:
* procfs.c (wait_fd): Handle deleted threads correctly.
1999-01-29 02:19:27 +00:00
Ian Lance Taylor a96acce310 * 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>.
1999-01-29 01:07:32 +00:00
Jason Molenda 401be973eb 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.
1999-01-28 22:06:24 +00:00
Nick Clifton a5904a0f69 Handle bfd_install_relocation returning out-of-range error. 1999-01-28 18:11:41 +00:00
Nick Clifton 760798c61e Fixes to allow vtable support to work. 1999-01-28 17:29:49 +00:00
Nick Clifton 7b58591634 Add support for ZVTINHERIT and VTENTRY relocs. 1999-01-28 17:17:17 +00:00
Catherine Moore 98790d3a95 * elflink.h (elf_link_output_sym): Zero syms which are
part of sections which have been excluded.
1999-01-28 17:17:16 +00:00
Nick Clifton 7f1efb4486 ooops - missed from previous delta 1999-01-28 13:13:31 +00:00
Doug Evans eb2346970a * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
* cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
1999-01-28 06:51:00 +00:00
Doug Evans 44ccd41a12 * cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT,
CGEN_MODE_UINT.
1999-01-28 06:20:54 +00:00
Doug Evans 805b72e613 * fr30-opc.h,fr30-opc.c: Rebuild.
* i960c-opc.h,i960c-opc.c: Rebuild.
	* m32r-opc.c: Rebuild.
1999-01-28 06:18:23 +00:00
Jim Ingham 31262a404a 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.
1999-01-28 06:11:03 +00:00
Jim Ingham c98fe0c119 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.
1999-01-28 03:50:17 +00:00
Doug Evans 988e60c43b * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix. 1999-01-28 01:37:10 +00:00
Doug Evans 89b1cfbbd5 * 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.
1999-01-28 01:28:03 +00:00
Stan Cox 84a9fc2748 * 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.
1999-01-27 22:57:06 +00:00
Elena Zannoni 42d99b82d9 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted using indent.
1999-01-27 21:59:10 +00:00
Elena Zannoni 893a9f1383 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted comments, updated copyright.
1999-01-27 18:22:44 +00:00
Nick Clifton d8ac463e38 Add preliminary DWARF2 dumpping capability to readelf. 1999-01-27 18:17:08 +00:00
Nick Clifton 6c2d84bfbf Add typedefs for structures found in dwarf2 debug sections 1999-01-27 18:08:17 +00:00
Nick Clifton d423a5cadc Fix bug in handling R_FR20 relocations. 1999-01-27 12:17:28 +00:00
Andrew Cagney 57bb3453c4 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
elf_info.
1999-01-27 04:45:28 +00:00
Jason Molenda df59058c91 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.
1999-01-27 01:51:26 +00:00
Jason Molenda 00c1f9b9c0 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.
1999-01-27 00:48:10 +00:00
Mark Alexander 602886332b * 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.
1999-01-27 00:15:00 +00:00
Elena Zannoni d8f4ee32b2 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.
1999-01-26 23:32:39 +00:00
Jason Molenda 517ab61151 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.
1999-01-26 23:15:13 +00:00
Fernando Nasser a61e26e2d2 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.
1999-01-26 21:57:10 +00:00
Frank Ch. Eigler 223fff6650 * 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.
1999-01-26 16:46:13 +00:00
Jeff Law b041460dbe am33 sanitize changes 1999-01-26 14:52:15 +00:00
Jeff Law 5eb715f834 am33 sanitization changes 1999-01-26 14:40:02 +00:00
Jeff Law 9e58f7c1ef am33 sanitization changes. 1999-01-26 14:30:38 +00:00
Jeff Law 9dc539a705 am33 sanitization changes. 1999-01-26 14:21:09 +00:00
Jeff Law 5809e33d1a am33 sanitization changes 1999-01-26 14:19:24 +00:00
Jeff Law 34ec21ffb4 am33 is now kept with --keep-cygnus. 1999-01-26 14:07:52 +00:00