Handle debug symbols in dynamically loaded (relocated) code:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
2
3 Handle debug symbols in dynamically loaded (relocated) code:
4
5 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
6 offset to process_one_symbol.
7 (process_one_symbol): Take new offset parameter. Add it into
8 appropriate symbol types to relocate symbols to loaded addresses.
9 Handle all possible symbol types, and complain() about types that
10 we don't expect to see.
11 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
12 process_one_symbol (FIXME, should pass real offset).
13
14 Misc bugfixes:
15
16 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
17 sal's PC value.
18 (set_breakpoint, break_command_1, until_break_command,
19 catch_command_1, breakpoint_re_set_one): Use it.
20 (breakpoint_re_set_one): Disable bkpts that don't re-set cleanly.
21 (breakpoint_re_set): Mention breakpoint number in error messages.
22 * symtab.h (resolve_sal_pc): Declare.
23 * infcmd.c (jump_command): Use resolve_sal_pc.
24
25 * source.c (find_source_lines): Avoid "Source file is more
26 recent than executable" when bfd_get_mtime gives 0.
27 (list_command): Shorten "FILE, line N" to "FILE:N".
28
29 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
30
31 * buildsym.c (read_struct_type): Circumvent sun3 sunos "--"
32 compiler bug.
33
34 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
35
36 * target.c (target_xfer_memory): Return errno in preference to EIO.
37
38 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
39 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
40 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
41
42 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
43
44 * dbxread.c (process_one_symbol): Make a first cut at handling
45 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
46
47 * symtab.c (find_pc_line): Fix stepping into and out of #included
48 files.
49
50 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
51
52 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
53 no longer any need to copy ../include/opcode/* into gdb.
54
55 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
56
57 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
58
59 Mon Jan 27 08:18:17 1992 Fred Fish (fnf at cygnus.com)
60
61 * i860-tdep.c: Update with with numerous changes received
62 from current maintainer (Peggy Fieland).
63
64 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
65
66 * valprint.c (type_print_base, type_print_method_args):
67 Print C++ constructor methods without bogus "return type."
68
69 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
70
71 * infptrace.c (child_xfer_memory): Parameter "target" should
72 be a pointer to a structure, not the entire structure.
73
74 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
75
76 * depend: Convert the couple of references to ansidecl.h that
77 used the local gdb version to use the ../include version.
78
79 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
80
81 * procfs.c
82 (child_xfer_memory): Takes pointer to a struct, not entire struct.
83 (inferior_proc_init): Fix non-ANSI version of args.
84 (attach): Call print_sys_errmsg with correct number of args.
85 (mappingflags): Make static, does not need to be global.
86
87 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
88 not the entire struct itself.
89
90 * valops.c (value_assign): Cast some args to modify_field() and
91 {read,write}_register_bytes() correctly.
92
93 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
94
95 * Makefile.in (MALLOCSRC): Removed reference to removed local
96 copy of ansidecl.h.
97
98 * dwarfread.c (list_in_scope): Needs an initial value, use file
99 scope.
100
101 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
102
103 * main.c (main): Make option_index local to keep new getopt happy.
104 main.c, solib.c, Makefile.in: Update copyright notices.
105
106 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
107
108 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
109
110 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
111
112 * Makefile.in (HFILES): Add partial-stab.h.
113
114 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
115
116 * config/mh-stratus, config/mt-stratus, i860-opcode.h,
117 i860-pinsn.c, i860-tdep.c, tm-stratus.h, xm-stratus.h:
118 New files for stratus.
119
120 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
121 for getting custom flags into CFLAGS when doing makes.
122
123 * configure.in: Add config information for stratus.
124
125 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
126
127 * dbxread.c (process_one_symbol): Pass address of structure
128 to complain(), rather than the whole structure.
129
130 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
131
132 * solib.c (solib_add_common_symbols): Only compile in when not
133 using SVR4 style shared libraries.
134
135 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
136
137 * dwarfread.c (locval): Add offreg flag to indicate location
138 values that are computed off a base register.
139
140 * dwarfread.c (new_symbol): Rework TAG_global_variable and
141 TAG_local_variable cases to account for static variables
142 within function scopes.
143
144 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
145
146 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
147 doesn't exist on some systems.
148
149 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
150 nexting over recursive function calls.
151
152 * target.c (target_read_string): Create this routine to read null
153 terminated strings from the target. It deals with running off the
154 end of memory elegantly as well. solib.c (find_solib): Use
155 target_read_string() to avoid problems with running off the end of
156 memory.
157
158 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
159 that reference pgrp_inferior.
160
161 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
162
163 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
164 mips-tfile has been hacked to act more "traditionally."
165 * dbxread.c: Fixed typo in comment.
166
167 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
168
169 * mips-tdep.c (mips_skip_prologue): Add some number of
170 'sw' instructions before 'addiu' adjusts the stack.
171
172 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
173
174 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
175 freescope, buildblock closescope, record_line, add_symbol_to_list,
176 gatherblocks, make_blockvector): Extensive changes to switch
177 to generic symbol table building code in buildsym.c. Remove
178 scope tree structures and functions, symbol table building
179 functions, and lots of other small changes.
180
181 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
182 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
183
184 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
185
186 * buildsym.c (cleanup_undefined_types): Add support for enums.
187 This fixes the 'GDB internal error. cleanup_undefined_types with
188 bad type' problem.
189
190 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
191
192 * dbxread.c: detect gcc2 compilations.
193
194 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
195
196 * sparc-pinsn.c: Rename bitfields that overlap with macro names
197 in ../include/opcode/sparc.h.
198
199 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
200
201 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
202 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
203 to reflect actual locations of opcode files, so TAGS target will
204 be buildable.
205
206 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
207
208 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
209 code.
210
211 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
212 dereferencing to access the correct elements.
213
214 * valops.c (value_addr): Declare return type of external func
215 value_copy().
216
217 * xcoffread.c: Undefine next_symbol_text before redefining it.
218
219 For older changes see ChangeLog-9091
220 \f
221 Local Variables:
222 mode: indented-text
223 left-margin: 8
224 fill-column: 74
225 version-control: never
226 End:
This page took 0.033191 seconds and 4 git commands to generate.