aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-07-01Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham8-3089/+4092
* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec. If there was an error in loading an executible specified on the command line, then the pre_add_symbol hook would have called gdbtk_busy but the corresponding call to gdbtk_idle would not have occured. Also changed some catch calls so they didn't use "catch {set foo [real_command]}" but rather the more efficient: "catch {real_command} foo" * register.tcl: more catch cleanups * src.tcl: more catch cleanups * stack.tcl: more catch cleanups * target.tcl: more catch cleanups * tdump.tcl: more catch cleanups * variables.tcl: more catch cleanups * watch.tcl: more catch cleanups * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows that caused gdbtk not to find the share directory unless GDBTK_LIBRARY was set. * gdbtk.c: removed all the commands and hooks from this file so now it contains only the startup code. * gdbtk_cmds.c: New file - this contains all the Tcl commands that gdb defines. All the old commands were moved here, the string-based commands were converted to object commands, and the object-based commands were all converted to uniformly use the call_wrapper. A new function, Gdbtk_Init was added to centralize initializing the gdb package. Also added gdbtk as a package into gdbtk_interp. * gdbtk_hooks.c: New file - All the hooks were moved here, and a new function, gdbtk_add_hooks was added to centralize adding all these hook functions. gdbtk_fputs was also modified to handle the new result_ptr structure. See the comments in gdbtk.h for more details. * gdbtk.h: New file - this contains all the defines and globals shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c * Makefile.in, configure.in & configure: mutatis mutandi for the new files.
1998-07-01rebuildIan Lance Taylor1-286/+568
1998-07-01new files for windresIan Lance Taylor2-0/+207
1998-07-01xIan Lance Taylor1-0/+26
1998-07-01 * rclex.l: Add casts and change types to avoid warnings.Ian Lance Taylor8-206/+271
* rcparse.y: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * Makefile.am: Rebuild dependencies. (HFILES): Remove readelf.h. * Makefile.in: Rebuild. Based on patches from Andrew Kozin <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>: * winduni.h: New file, from windres.h. * winduni.c: New file, from windres.c. * windres.c: Move Unicode functions into winduni.c. * windres.h: Move Unicode declarations into winduni.h. Include winduni.h. (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows macro. Change all uses. (RT_PLUGPLAY, RT_VXD): Correct values. * Makefile.am (HFILES): Add windres.h. (CFILES): Add winduni.c. (windres_SOURCES): Add winduni.c.
1998-07-01Pass thumb-pe and arm-peNick Clifton1-0/+19
1998-07-01Replace object.scm with cos.scmNick Clifton2-1/+5
1998-06-30 * mn10300_sim.h: Include bfd.hJeff Law3-10/+57
(struct state): Add more room for processor specific registers. start-sanitize-am33 (REG_E0): Define. end-sanitize-am33
1998-06-30 * section.c (STD_SECTION): Account for recently added gc_markJeff Law1-0/+3
field in struct asection.
1998-06-30remove readelf.h from file listNick Clifton1-1/+0
1998-06-30 * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.Jeff Law2-34/+42
Why oh why didn't they take our advice about register prefixing. It would have avoided the ambigious syntax issues. Sigh.
1998-06-30 * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function.Jeff Law1-0/+5
(bfd_elf32_bfd_merge_private_bfd_data): Define. So the machine id gets propagated into executables.
1998-06-30ELF Section-level Garbage Collection.Richard Henderson14-176/+1415
1998-06-30Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>Jason Molenda2-2/+6
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
1998-06-30Improved portability of readelfNick Clifton4-898/+828
1998-06-29 * config/tc-mn10300.c (r_registers): Fix typo and add some missingJeff Law1-0/+7
registers.
1998-06-29 * m10300-opc.c: Reorder more instructions so that we do notJeff Law2-33/+54
accidentally match a mn10300 instruction when we really wanted an am33 instruction.
1998-06-29 * main.c (main): Don't include gdbtk test code if GDBTK isKeith Seitz3-16/+27
not defined by configure. * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS. * configure: Regenerate.
1998-06-29 * config/tc-mips.c (prev_insn_labels): New.Gavin Romig-Koch3-0/+66
(mips_fix_4011_branch_bug): New. (append_insn): Watch for and handle branchs with labels. (mips_no_prev_insn): Initialize prev_insn_labels. (md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.
1998-06-29 * interp.c (OPTION_BRANCH_BUG_4011): Add.Gavin Romig-Koch2-2/+66
(mips_option_handler): Handle OPTION_BRANCH_BUG_4011. (mips_options): Define the option. * mips.igen (check_4011_branch_bug): New. (mark_4011_branch_bug): New. (all branch insn): Call mark_branch_bug, and check_branch_bug. * sim-main.h (branchbug4011_option, branchbug4011_last_target, branchbug4011_last_cia, BRANCHBUG4011_OPTION, BRANCHBUG4011_LAST_TARGET, BRANCHBUG4011_LAST_CIA, check_branch_bug, mark_branch_bug): Define.
1998-06-29 * mips.igen (check_mf_hilo): Correct check.Gavin Romig-Koch2-104/+52
1998-06-29* Attempt to make readelf.c compile under IRIX6 cc by insertingFrank Ch. Eigler1-0/+1
non-functional "break;" in switch statement.
1998-06-29Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-0/+5
* gdb.gdbtk/simple.c (main): Make main return an int so compiler will stop complaining.
1998-06-28 Improve support for SunPro F77.Peter Schauer5-10/+64
* dbxread.c (end_psymtab, process_one_symbol): Handle minimal symbols with trailing underscore names. * minsyms.c (find_stab_function_addr): Ditto. * dbxread.c (process_one_symbol): Ignore N_ALIAS for now. * partial-stab.h (case N_ALIAS): Ditto. * stabsread.c (read_sun_builtin_type): Handle boolean types.
1998-06-27 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.Keith Seitz12-33/+1544
* configure.in: Add options for gdbtk testsuite. * configure: Regenerate. * gdb.gdbtk: New directory to hold gdbtk tests. * gdb.gdbtk/console.{exp, test}: New console window tests.
1998-06-27 * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,Keith Seitz5-444/+843
TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by new search_symbols. Add prototype for search_symbols and free_search_symbols. * symtab.c (list_symbols): Rewrite to use new search_symbols. (file_matches): New helper function for search_symbols. (free_search_symbols): New function which frees data returned from search_symbols. (print_symbol_info): New helper function which prints info about a matched symbol to stdout. Extracted from old list_symbols. (print_msymbol_info): New helper function which prints info about a matched msymbol to stdout. Extracted from old list_symbols. (symtab_symbol_info): Extracted from old list_symbols. (variables_info): Use symtab_symbol_info. (functions_info): Use symtab_symbol_info. (types_info): Use symtab_symbol_info. (rbreak_command): Rewrite to use new search_symbols. * gdbtk.c: Change all references to static global "interp" to "gdbtk_interp" and export this global. (gdbtk_init): If gdbtk_source_filename is not NULL, source this file into the interpreter when it goes idle. Add new command "gdb_search". (gdb_search): New function which searches the symbol table. (gdbtk_test): New function called by main when the --tclcommand option is used. * main.c (main): Add a new option "--tclcommand" which is used by the testsuite to source a file into the interpreter when it goes idle.
1998-06-26 * objcopy.c (strip_main): keep_specific_list == NULL as additionalVladimir Makarov2-12/+22
condition to set up strip all symbols by default. (copy_archive): don't change archive when error in object files of the archive. PR16197
1998-06-26 * gdb.fortran/types.exp: Escape brackets in expect patternsPeter Schauer1-0/+7
for test_float_literal_types_accepted tests. * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss before run test.
1998-06-26Do not try to include sys/mount.h anymoreMichael Meissner2-1/+21
1998-06-26 * config/tc-mn10300.c (set_arch_mach): New function.Jeff Law2-1/+40
(md_pseudo_table): Add pseudo-ops to set the current machine type. (md_begin): Default to mn10300 mode. (md_assemble): Only accept instructions for the core mn10300 chip and the active machine type.
1998-06-26 * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.Jeff Law4-0/+55
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise. * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise. * gas/mn10300/basic.exp: Corresponding changes.
1998-06-26 * am33.exp: Just compile, do not link the testcase.Jeff Law1-0/+7
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-26 * mn10300.h: Add "machine" field for instructions.Jeff Law1-0/+8
(MN103, AM30): Define machine types. (AM33): Define machine type.
1998-06-26 * m10300-dis.c: Only recognize instructions from the currentlyJeff Law3-698/+720
selected machine. * m10300-opc.c: Add field indicating the particular variant of the mn10300 each instruction is available on.
1998-06-26 * archures.c (bfd_mach_mn10300): Define.Jeff Law4-80/+1165
* elf-m10300.c: Include elf/mn10300.h (elf_mn10300_mach): New function. (_bfd_mn10300_elf_final_write_processing): Likewise. (_bfd_mn10300_elf_object_p): Likewise. (elf_backendfinal_write_processing): Define. (elf_backend_object_p): Likewise. start-sanitize-am33 * archures.c (bfd_mach_am33): Define. * cpu-m10300.c (bfd_am33_arch): New arch info structure. Link it into the NEXT field of bfd_mn10300_arch. end-sanitize-am33
1998-06-26 * mn10300.h: New file.Jeff Law1-0/+29
1998-06-26 * configure.in: For bfd_vax_arch, build vax-dis.lo.Ian Lance Taylor7-211/+588
* Makefile.am: Rebuild dependencies. (CFILES): Add vax-dis.c. (ALL_MACHINES): Add vax-dis.lo. * aclocal.m4: Rebuild with current libtool. * configure, Makefile.in: Rebuild. Fri Jun 26 12:03:20 1998 Klaus Kaempf <kkaempf@progis.de> * vax-dis.c: New file, from work by Pauline Middelink <middelin@polyware.iaf.nl>. * disassemble.c (ARCH_vax): Define if ARCH_all. (disassembler): Add case for ARCH_vax. * makefile.vms: Support compilation on vms/vax.
1998-06-26Fix HI16_S relocationNick Clifton1-0/+5
1998-06-25 * gdb.base/setshow.exp: make sure $pc is sane.Felix Lee1-0/+6
* gdb.stabs/weird.exp: split expect patterns properly.
1998-06-25* Fix gdb inferior calls on 128-bit MIPS targets.Frank Ch. Eigler1-0/+5
Thu Jun 25 22:38:32 1998 Frank Ch. Eigler <fche@cygnus.com> * mips-tdep.c (mips_push_arguments): Use 128-bit stack frame alignment for inferior calls.
1998-06-25 * sky-pke.c (pke_issue): use default trace file name if thePatrick Macdonald1-2/+14
--log-file option not used
1998-06-25Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+12
* dv-mn103tim.c: Include sim-assert.h * dv-mn103ser.c (do_polling_event): Check for incoming data on serial line and schedule next polling event. (read_status_reg): schedule events to check for incoming data on serial line and issue interrupt if necessary.
1998-06-25* Bringing over SKY PKE disassembler feature from sky branch.Frank Ch. Eigler2-42/+394
1998-06-25* Bringing sky pke disasm from sky branch.Frank Ch. Eigler1-1/+5
1998-06-25 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculationMark Alexander2-2/+7
of jsr target address.
1998-06-25rebuild dependenciesIan Lance Taylor2-6/+8
1998-06-24remove CVS conflict markerIan Lance Taylor1-1/+0
1998-06-24 * subsegs.h (segment_info_type): Give the struct a name.Ian Lance Taylor3-0/+21
* config/tc-h8300.h (tc_reloc_mangle): Add prototype. * config/tc-h8500.h (tc_reloc_mangle): Declare. * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype. * config/tc-w65.h (tc_reloc_mangle): Declare. * config/tc-z8k.h (tc_reloc_mangle): Declare.
1998-06-24 * configure.in (noconfigdirs): Add configure pattern for mips tx39John Metzler1-0/+4
cygmon
1998-06-24* sim/sky/t-int.c, sim/sky/t-int-handler.c:James Lemke1-0/+5
Testcase errors: two in the former file, one in the latter.