aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1999-02-03 * gdbtk-variable.c (variable_create): Add parentheses to the nameKeith Seitz1-1/+8
so that casts do not confuse the expression parser.
1999-02-03* config/i386/cygwin.mh: Move TERMCAP test code to configure.in.Christopher Faylor3-96/+111
* configure.in: Treat libtermcap.a detection as a special case when hosting on cygwin. * configure: Regenerate.
1999-02-03 * gdbtool.ico: Add missing desktop image.Keith Seitz2-0/+4
1999-02-03 * remote.c (remote_binary_download, remote_binary_length): NewKeith Seitz1-0/+22
static globals for dealing with binary transmissions. (remote_write_bytes): Add support for binary downloads by shadowing the "M" packet with a new "X" packet. This defaults to ON; if the stub does not understand this, it will fall back to using "M". (putpkt): Add support for binary downloading. * monitor.c (monitor_expect): The mon2000 monitor on the MSA2000 will also emit random DC1/DC3 chars. * m32r-stub.c: Change all char's to unsigned char's to support binary downloading. (handle_exception): Add support for binary downloading via a new "X" packet. (getpacket): Do NOT strip eighth bit of incoming chars. Watch out for escaped characters in the incoming stream. (putpacket): Do NOT strip eighth bit of incoming chars. (bin2mem): New function to write binary data directly to memory. * m32r-rom.c: Add new "mon2000" target.
1999-02-02Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-62/+20
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg passed to make_cleanup to the correct type. (hpread_quick_traverse): Change fifth arg to call to hpread_end_psymtab to be 0. Compare CURR_MODULE_END to 0 rather than NULL. Get rid of ifdef'ed out code. (scan_procs): Get rid of ifdef'ed out code. * somread.c (som_symfile_read): Coerce first argument passed to make_cleanup to the correct type.
1999-02-02Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-76/+96
* hp-psymtab-read.c (do_pxdb): New function. Check whether the file needs to be processed by pxdb (an HP debug info massaging tool), if so call it. (hpread_build_psymtabs): Initialize scan_start to 0 and simplify flow of control. * somread.c (som_symfile_read): Add call to do_pxdb (), in hp-psymtab-read.c. * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific code. (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now in hp-psymtab-read.c.
1999-02-021999-02-02 Martin Hunt <hunt@cygnus.com>Martin Hunt2-2/+12
* gdbtk-cmds.c (get_register): For RAW display, concat all the pieces together before calling fputs.
1999-02-021999-02-02 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+5
* printcmd.c (print_scalar_formatted): Use strcat to concat all the output together before calling fprintf_filtered().
1999-02-02Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-0/+6
* lib/gdb.exp (gdb_preprocess): Remove 'puts' statement. * gdb.c++/method.exp: Add missing close brace.
1999-02-011999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda5-385/+584
* 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.
1999-02-01*** empty log message ***Jim Blandy1-0/+38
1999-02-01Allow PPC users to select which PPC/RS6000 variant they're debuggingJim Blandy6-314/+769
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.
1999-02-011999-02-01 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+4
* srcwin.test (srcwin-4.3): Fix bp test.
1999-02-011999-02-01 Martin Hunt <hunt@cygnus.com>Martin Hunt2-24/+57
* 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.
1999-02-01Adding scrwin3.test.to .Sanitize.Jim Ingham1-0/+1
1999-02-01*** empty log message ***Edith Epstein1-3/+3
1999-02-01 * buildsym.h, buildsym.c: Convert to ANSI-only.Stan Shebs3-113/+70
1999-01-31 * buildsym.h, buildsym.c: Reformat to standard.Stan Shebs3-318/+337
1999-01-31 * buildsym.c (merge_symbol_lists): Remove unused variable.Stan Shebs2-10/+6
(_initialize_buildsym): Remove, does nothing.
1999-01-311999-01-31 J.T. Conklin <jtc@redbacknetworks.com>Stan Shebs5-14/+1636
* 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.
1999-01-31 From J.T. Conklin <jtc@redbacknetworks.com>:Stan Shebs2-1/+6
* remote.c (remote_query): Fix tipo.
1999-01-30*** empty log message ***Jim Blandy1-0/+24
1999-01-30update to show move by shebs from gdb.baseBrendan Kehoe1-0/+5
1999-01-30update from shebs relocation of files to gdb.hpBrendan Kehoe1-6/+0
1999-01-30comment out kod piece, since kod.c and kodecosdll.c are not checkedBrendan Kehoe1-39/+39
into CVS.
1999-01-301999-01-29 James Ingham <jingham@cygnus.com>Jim Ingham2-6/+13
* 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.
1999-01-301999-01-29 Martin Hunt <hunt@cygnus.com>Martin Hunt2-46/+104
* 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".
1999-01-30Adding some missing files to the .Sanitize file.Jim Ingham1-0/+4
1999-01-30Fri Jan 29 19:10:09 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-12/+12
Fix typos in ChangeLog
1999-01-30 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,Stan Shebs9-176/+135
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.
1999-01-29Move other gdbtk testsuite changelog entries hereStan Shebs1-0/+41
1999-01-29No longer sanitize out refs to v850e or v850eaStan Shebs1-27/+0
1999-01-29 * configure.tgt (v850): Add wildcard to match.Stan Shebs3-23/+9
Also remove sanitization for v850e and ea.
1999-01-29Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>Edith Epstein2-169/+189
* inferior.h: ran indent * fork-child.c: ran indent * infrun.c : ran indent
1999-01-29Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-5/+10
* infrun.c (_initialize_infrun): do not stop or print anything when a SIGWINCH is received.
1999-01-29Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-0/+8
* 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 * gdb.gdbtk/cpp_variable.test (cpp_variable-1.1): FixKeith Seitz1-0/+11
function name error. * gdb.gdbtk/cpp_variable.h (class VC): Fix compiler warning. Fix sanitize error in changelog.
1999-01-291999-01-29 Martin Hunt <hunt@cygnus.com>Martin Hunt3-6/+27
* 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-291999-01-29 Martin Hunt <hunt@cygnus.com>Martin Hunt2-2/+19
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-291999-01-29 Martin Hunt <hunt@cygnus.com>Martin Hunt2-1/+3
* srcwin.test(srcwin-4.3) Change bytype field to 3.
1999-01-291999-01-29 Martin Hunt <hunt@cygnus.com>Martin Hunt6-13/+346
* 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-29Fix for PR 17980:Mark Alexander2-1/+6
* procfs.c (wait_fd): Handle deleted threads correctly.
1999-01-281999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-0/+4
* utils.c (init_page_info): Force window size if running under emacs. emacs-detection stolen from readline.
1999-01-281999-01-27 James Ingham <jingham@cygnus.com>Jim Ingham3-10/+13
* gdbtk-wrapper.c: Missed a couple of places where FILE->GDB_FILE in the fputs_unfiltered_hook needed to propagate.
1999-01-28This is the merge of the Itcl3.0 gdbtk development branch into theJim Ingham33-553/+5608
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-27Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1244/+1314
* hp-psymtab-read.c: reformatted using indent.
1999-01-27Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-244/+194
* hp-psymtab-read.c: reformatted comments, updated copyright.
1999-01-27* mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFDAndrew Cagney1-0/+7
elf_info.
1999-01-271999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-0/+5
* 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 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,Mark Alexander3-15/+322
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.