John Gilmore
256269fc92
* buildsym.c (read_struct_type): Avoid double-bump of parse ptr
in the op$::OPERATOR. case. From Steven McCanne, <mccanne@horse.ee.lbl.gov>.
35 years ago
John Gilmore
ef9b1bc915
* exec.c (set_section_name): Pass arg to exec_files_info;
only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
35 years ago
John Gilmore
195853fc65
* main.c (print_gdb_version): Copyright msg: only this year.
(cd_command): Avoid changing current_directory on error.
35 years ago
Per Bothner
ee17fd3437
* mipsread.c (parse_partial_symbols): Handle dependencies
between partial symbol tables (when not doing stabs-in-ecoff).
(This used to be handled by parse_fdr, but parse_fdr was
incompatible with handling stabs-in-ecoff, so the code
was re-written to not use parse_fdr. Unfortunately,
the logic to handle dependencies was overlooked.)
35 years ago
Steve Chamberlain
1f46923ff4
* coffread.c (read_enum_type): Use the size of a target int when
describing enum.
* defs.h: added new #define for TARGET_PTR_BIT, defaults to size
of target int.
* h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
* symtab.c (lookup_reference_type, lookup_ptr_type): use
TARGET_PTR_BIT to determine size of a pointer
* values.c (unpack_long): when unpacking a REF or a PTR don't
assume the size of the type.
35 years ago
John Gilmore
778c358df8
* mipsread.c (parse_symbol): Avoid clobbering enum pointer when
looking at its members. Improve guess between struct and union,
only assuming union if multiple members have offsets of zero.
35 years ago
Per Bothner
bd49ef36c2
Mips-specific bug-fix (for stabs-in-ecoff), and style fix. See ChangeLog.
35 years ago
John Gilmore
96499e9638
Call malloc, not xmalloc, when we check the result and recover from errors.
35 years ago
Stu Grossman
dafe57bc50
VERSION should have been 4.4.1, not 4.5...
35 years ago
Stu Grossman
98f03b9114
* Makefile.in: Increment version to 4.5.
* main.c (print_gdb_version): Update copyright notice.
35 years ago
Stu Grossman
3671f1fd31
* xm-vax.h: #ifndef ultrix around #include of endian.h and
limits.h (sigh).
35 years ago
John Gilmore
75c86b57d2
Update WHATS.NEW for gdb-4.4 release.
35 years ago
John Gilmore
24e7d5bac2
Remove references to i860 files whose copyrights have not been assigned
to FSF yet.
35 years ago
John Gilmore
4cc9f7e22c
Remove some entries that were already recorded on Dec 11th.
35 years ago
John Gilmore
ee7270cdca
* Projects: Patching executables is done.
* Makefile.in (VERSION): Roll to gdb-4.4.
* README: Update for gdb-4.4.
35 years ago
John Gilmore
4a1dcb7f7f
* symfile.c (reread_symbols): Whenever we reread one object
file's symbols, we must restart the scan, because the object_files
chain has been permuted.
35 years ago
John Gilmore
0c6efbccaf
* language.c, language.h: Make some things const.
* expression.h, main.c: const spreads like ooze.
35 years ago
Stu Grossman
d58ea9967b
* infrun.c, xm-i386sco.h: SCO needs to use setpgid().CVS:
35 years ago
Per Bothner
d4ea2aba3a
Various fixed triggered by trying to do the right thing wrt
to external symbols in mips ecoff binaries. See ChangeLog.
35 years ago
Stu Grossman
0515163751
* sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
cypress, v8 mnemonics in that order.
35 years ago
Per Bothner
4a074bea28
Put the qsort() back in in sparc-pinsn.c
35 years ago
John Gilmore
eae1a26123
* findvar.c (read_register, write_register): Handle machines
where REGISTER_TYPE is not the same size as "int".
35 years ago
John Gilmore
c55e616795
Handle debug symbols in dynamically loaded (relocated) code:
* dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
offset to process_one_symbol.
(process_one_symbol): Take new offset parameter. Add it into
appropriate symbol types to relocate symbols to loaded addresses.
Handle all possible symbol types, and complain() about types that
we don't expect to see.
* mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
process_one_symbol (FIXME, should pass real offset).
Misc bugfixes:
* breakpoint.c (resolve_sal_pc): Split out code to resolve a
sal's PC value.
(set_breakpoint, break_command_1, until_break_command,
catch_command_1, breakpoint_re_set_one): Use it.
(breakpoint_re_set_one): Disable bkpts that don't re-set cleanly.
(breakpoint_re_set): Mention breakpoint number in error messages.
* symtab.h (resolve_sal_pc): Declare.
* infcmd.c (jump_command): Use resolve_sal_pc.
* source.c (find_source_lines): Avoid "Source file is more
recent than executable" when bfd_get_mtime gives 0.
(list_command): Shorten "FILE, line N" to "FILE:N".
* putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
35 years ago
Stu Grossman
3c03b5de58
* dbxread.c (process_one_symbol): Make a first cut at handling
symbol tables generated by Suns acc.
35 years ago
Stu Grossman
1aa560b2ea
* symtab.c (find_pc_line): Fix stepping into and out of #included
files.
35 years ago
John Gilmore
5a4e721505
* buildsym.c (read_struct_type): Circumvent sun3 sunos "--" compiler bug.
* c-exp.y (yylex): `this' and `template' are only tokens in C++.
* target.c (target_xfer_memory): Return errno in preference to EIO.
35 years ago
John Gilmore
3818ed33a9
* xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
35 years ago
Stu Grossman
71f49876db
* Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
no longer any need to copy ../include/opcode/* into gdb.
35 years ago
John Gilmore
fd8db897af
Split ChangeLog out at Jan 1, 1992.
35 years ago
Fred Fish
2213b721f0
Update with numerous changes received from current maintainer (Peggy
Fieland). Should not effect release at all.
35 years ago
Per Bothner
24b2fbdc54
Print C++ constructor methods without bogus "return type."
35 years ago
Fred Fish
cdb90e99e7
The unused parameter "target" should be a pointer to a structure, not the
entire structure.
35 years ago
Fred Fish
1b07e406ad
Convert the couple of references to the local (now removed) version
of ansidecl.h to use the ../include version.
35 years ago
Fred Fish
f66f459f43
Misc small fixes for problems uncovered by prototyping.
35 years ago
Fred Fish
fc1f864632
The i386_frame_num_args() function takes a pointer to a struct, not
the entire struct itself.
35 years ago
Fred Fish
1b7a420ef5
Correctly cast some arguments to modify_field and {read/write}_register_bytes.
35 years ago
Fred Fish
99140c31fe
The list_in_scope pointer needs to be initialized to point to a
valid scope. Use the file scope as the initial scope.
35 years ago
Fred Fish
9a1ae235a8
Document ansidecl.h going away, in favor of the copy in ../include.
35 years ago
Michael Tiemann
0eb0a82097
Fix demangling of destructors, and fix a minor indentation problem.
35 years ago
Stu Grossman
313085cbc9
* Makefile.in (HFILES): Add partial-stab.h.
35 years ago
Fred Fish
be9a236222
Add several new files for stratus (i860* and *-stratus.h). Also add
macro USER_CFLAGS to Makefile. Add stratus config frags to configure.in.
35 years ago
Fred Fish
cdce29eefc
Pass address of structure to complain() rather than the entire structure.
35 years ago
Fred Fish
7f4352410f
Only compile in solib_add_common_symbols for non-SVR4 (SunOS) shared libs.
35 years ago
Fred Fish
a5bd5ba617
Changes to fix bug with static variables within function scopes.
35 years ago
Stu Grossman
8c3d2a53db
Reference: gdb-pend/636
* inflow.c: remove #include <sys/dir.h>. Not necessary, and
doesn't exist on some systems.
35 years ago
Stu Grossman
5e746644b6
Reference: gdb-pend/646
* infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
nexting over recursive function calls.
35 years ago
Stu Grossman
d261ece7ea
Reference: gdb-pend/657
* target.c (target_read_string): Create this routine to read null
terminated strings from the target. It deals with running off the
end of memory elegantly as well. solib.c (find_solib): Use
target_read_string() to avoid problems with running off the end of
memory.
35 years ago
Stu Grossman
7e97eb2826
gdb-pend/620
* inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
that reference pgrp_inferior.
35 years ago
Per Bothner
0cf9329b64
* tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
mips-tfile has been hacked to act more "traditionally."
* dbxread.c: Fixed typo in comment.
35 years ago
Per Bothner
488d2691c7
* mips-tdep.c (mips_skip_prologue): Add some number of
'sw' instructions before 'addiu' adjusts the stack.
35 years ago