aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-11-18Fix for PR 3978:Fred Fish1-0/+7
* valprint.c (val_print_string): When looking for a null terminator compare current bufsize to fetchlimit to determine when to stop, instead of computing buffer+fetchlimit which may overflow for very large limits (like "unlimited").
1993-11-18Modified Files:Kung Hsu1-0/+6
ChangeLog eval.c valarith.c * eval.c(evaluate_subexp): to use unified search so type conversion operator works in calling method. * valarith.c(value_x_binop, value_x_unop): same as above.
1993-11-17 * mipsread.c: Change use of ECOFF information to correspond toIan Lance Taylor1-0/+6
changes in bfd/libecoff.h. (mipscoff_symfile_offsets): Made static.
1993-11-17Modified Files:Kung Hsu3-21/+68
ChangeLog eval.c valops.c * valops.c (typecmp): improve prototype matching when calling a method. Make 'p (*(ostream *) &cout) << "lll" ' to work. * eval.c(evalute_subexp): fix operator search problem when call like p x.'operator+'(i).
1993-11-17Please CVS, let me kill this file!Stu Grossman1-282/+0
1993-11-17Please CVS, let me kill these files...Stu Grossman1-277/+0
1993-11-17 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. MoveStu Grossman9-96/+101
common code into lynx-nat.c. * lynx-nat.c: New module. Contains portable code for Lynx native stuff (mostly ptrace related). * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/nm-lynx.h, config/tm-lynx.h: New files to contain non-architecture specific native and target defs. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h, config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all (arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. MoveStu Grossman1-0/+310
common code into lynx-nat.c. * lynx-nat.c: New module. Contains portable code for Lynx native stuff (mostly ptrace related). * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/nm-lynx.h, config/tm-lynx.h: New files to contain non-architecture specific native and target defs. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h, config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all (arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 * symtab.c (gdb_mangle_name): Only assume that the physname isJim Kingdon2-11/+17
the entire mangled name if it looks like the mangled name of a constructor. Needed for testsuite to work with GCC 2.4.5.
1993-11-17* gdb.t06/signals.exp: Add kludge to force re-sync.Jim Kingdon1-0/+2
1993-11-17 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"Jim Kingdon1-0/+5
to xgdb instead of gdb, get out of gdb.
1993-11-17 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. MoveStu Grossman2-2/+21
common code into lynx-nat.c. * lynx-nat.c: New module. Contains portable code for Lynx native stuff (mostly ptrace related). * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/nm-lynx.h, config/tm-lynx.h: New files to contain non-architecture specific native and target defs. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h, config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all (arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-16 * a68v-nat.c: Replace with new version from Troy Rollo. TheJim Kingdon3-102/+87
version I am replacing appears to be an old copy of sun3-nat.c. * dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call with loop.
1993-11-16 * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.Jim Kingdon1-0/+13
* Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and _NO_SRCDIR versions. (TAGS): Only add srcdir to TAGFILES_NO_SRCDIR. (This is part of a long saga involving me putting srcdir on everything (perhaps for now-obsolete reasons, I forget), Rich removing the srcdir from everything, Stu putting it back some places for Sun make, and me just now getting around to fixing `make TAGS' again).
1993-11-16Add ChangeLog entry for change by RobJim Kingdon1-0/+5
1993-11-16Correct typos in sac ChangeLog entryJim Kingdon1-1/+1
1993-11-16Modified Files:Kung Hsu1-0/+5
ChangeLog stack.c * stack.c(print_frame_info): print demangled function name ansi style.
1993-11-15How many times do I have to do this...Steve Chamberlain5-69/+15
1993-11-15Use remote-e7000.cSteve Chamberlain2-5/+6
1993-11-15 * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, andJim Kingdon2-2/+14
REGEX. * config/i386/xm-linux.h: Don't include xm-i386v.h. Define HOST_BYTE_ORDER ourselves. Define HAVE_TERMIOS not HAVE_TERMIO. Define NEED_POSIX_SETPGID. Include unistd.h.
1993-11-15 * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.Steve Chamberlain4-37/+1517
* remote-utils.c, remote-utils.h (gr_load_image): New function to download to target. * h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c (sim_load): delete. * remote-sim.c (sim_load): Use gr_load_image. * config/sh/sh.mt: Add remote-e7000
1993-11-15Initial revisionSteve Chamberlain1-0/+0
1993-11-15Why does cvs keep core dumping?Steve Chamberlain1-2/+1
1993-11-15 * remote-utils.c, remote-utils.h (gr_load_image): New function toSteve Chamberlain1-2/+57
download to target.
1993-11-15Modified Files:Kung Hsu2-1/+6
ChangeLog symtab.c * symtab.c(gdb_mangle_name): fix the problem with constructor name mangling.
1993-11-15 * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.Jim Kingdon10-59/+119
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do what cleanup_undefined_types does for arrays, except we clear TYPE_FLAG_TARGET_STUB if we fix up the type. * stabsread.c (cleanup_undefined_types): Add comments about how doing arrays here is no longer the clean way to do it. (read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling add_undefined_type. * c-typeprint.c, ch-typeprint.c: Move call to check_stub_type outside switch so it happens for all type codes. * cp-valprint.c (cp_print_value_fields): Recurse to val_print, instead of c_val_print, so that check_stub_type gets called. * gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove TYPE_FLAG_SIGNED. It was inconsistently set, never checked (except in recursive_dump_type), and is pointless.
1993-11-15 * paread.c (pa_symfile_init): Look for the $TEXT$ section ratherJeff Law2-2/+7
than the .text section.
1993-11-15 * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handleJim Kingdon2-10/+4
this (more or less) gracefully, and complain() was never a good way of dealing with this.
1993-11-14 * gdb.stabs/hppa.mt: A makefile fragment for the PA.Jeff Law5-0/+32
* gdb.stabs/configure.in (hppa*-*-*): Use it. * gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 * gdb.stabs: Re-write weird.def and configuration to use sedJim Kingdon8-11/+11
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 * stabsread.c (read_type): Skip the colon when reading aJim Kingdon2-3/+23
cross-reference. Only complain, not error_type, on unrecognized cross-reference types. error_type, not dump core, if the colon is missing.
1993-11-14 * stabs.texinfo (Nested Symbols): New node.Jim Kingdon2-1/+4
(String Field, Symbol Descriptors, Cross-References): Refer to it.
1993-11-14 * gdb.stabs: Re-write weird.def and configuration to use sedJim Kingdon7-33/+28
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 * gdb.stabs: Re-write weird.def and configuration to use sedJim Kingdon9-116/+1037
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-13 * config/m68k/tm-sun3.h: Disable use of alternate breakpoint insnStu Grossman2-0/+8
when doing remote stuff.
1993-11-13* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.Jim Kingdon2-1/+6
1993-11-12 * partial-stab.h: Ignore ':' symbol descriptors. Same case asJim Kingdon2-5/+24
Kung's stabsread.c change.
1993-11-12 * stabs.texinfo (Nested Symbols): New node.Jim Kingdon2-8/+34
(String Field, Symbol Descriptors): Refer to it.
1993-11-12* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.Jim Kingdon1-0/+4
1993-11-12Modified Files:Kung Hsu2-8/+29
ChangeLog stabsread.c * stabsread.c (patch_block_stabs, define_symbol, read_type): in g++ template instantiation, nested class can be part of the params, and '::' can gets into symbol or type names. This is to fix the problem. (fix pr3837)
1993-11-12Modified Files:Kung Hsu2-1/+6
gdbtypes.c ChangeLog * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer to struct/union case. (fix pr3857)
1993-11-12 * coff-solib.c (coff_solib_add): Cast result of alloca().Stu Grossman7-75/+176
* m68k-tdep.c (m68k_saved_pc_after_call): Get rid of GDB_TARGET_IS_SUN3. Use more general SYSCALL_TRAP macro. * config/m68k/m68klynx.mh (NATDEPFILES): Remove exec.o (it's already in TDEPFILES). * config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL): Use m68k_saved_pc_after_call. * Remove all Sun3 specific stuff. * (FIX_CALL_DUMMY): Cast arg to bfd_putb32 to unsigned char *. * config/m68k/tm-m68klynx.h: Define SYSCALL_TRAP as trap #10. Disable REMOTE_BREAKPOINT mechanism. * config/m68k/tm-sun3.h: Get rid of GDB_TARGET_IS_SUN3. * Protect from multiple includion. * Move Sun3 specific stuff from tm-m68k.h to here. * Define SYSCALL_TRAP as trap #0. * Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h). * gdbserver/low-lynx.c: Redo all register store/fetch stuff to make it portable for 386 and 68k.
1993-11-12 * mips-tdep.c (init_extra_frame_info): Check to see whether theJim Kingdon2-34/+98
registers mentioned in the proc_desc have been saved. This generalizes mips_in_lenient_prologue in the sense that we keep searching until we've found saves for all the registers, not just look for a "lenient prologue" pattern. * mips-tdep.c: #if 0 lenient prologue code. * mips-tdep.c (heuristic_proc_desc): Don't assume a host short is 16 bits.
1993-11-12* config/i386/i386sol2.mh: Comment out corelow.o.Jim Kingdon1-0/+2
1993-11-12 * printcmd.c (address_info): Use filtered, not unfiltered functions.Jim Kingdon1-0/+5
We should be able to deal with a QUIT here.
1993-11-11 * printcmd.c (address_info): Use fprintf_symbol_filteredJeff Law4-54/+130
to print the symbol name. * stabsread.c (define_symbol): Handle cfront lossage for struct/union/enums and typedefs. * partial-stab.h (case N_BINCL): Update psymtab_language as appropriate when changing subfiles. (case N_SOL): Update psymtab_language as appropriate when changing subfiles. Add typedef for structs, unions, and enums when processing C++ files.
1993-11-11 * stabs.texinfo (Stabs in ELF): Clarify how Bbss.bss work with respectJim Kingdon2-15/+36
to picking which Bbss.bss symbol to use, and (because there seems to be no good way of doing it) re-write some of the text to make it sound like Bbss.bss isn't such a great idea after all (as currently designed).
1993-11-11 * gdb.texinfo (C): In addition to saying people have to use g++ forJim Kingdon2-6/+29
good results, say they have to use stabs. Specifically say cfront doesn't work well. (Summary): Merge in information on Modula-2, Pascal, and Chill from the gdb README. Add xrefs to places where the support for the various languages is described in detail.
1993-11-11 * README: Remove information on languages and just cite the (newlyJim Kingdon1-0/+3
updated) information in doc/gdb.texinfo instead.
1993-11-11* delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).Jim Kingdon2-2/+6