]>
Commit | Line | Data |
---|---|---|
d747e0af MT |
1 | Tue Mar 3 15:11:52 1992 Michael Tiemann ([email protected]) |
2 | ||
3 | * All GDB files that #include defs.h: Removed stdio.h. | |
4 | (defs.h): #include stdio.h. | |
5 | ||
96743d3c SC |
6 | Mon Mar 2 23:00:12 1992 Steve Chamberlain ([email protected]) |
7 | ||
8 | * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of | |
9 | a ptype to reflect the setting of TARGET_PTR_BIT. Set the | |
10 | TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED. | |
11 | * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint | |
12 | * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use | |
13 | it before printing out the hex shape of an address. | |
14 | ||
6c6afbb9 PB |
15 | Sun Mar 1 17:41:09 1992 Per Bothner ([email protected]) |
16 | ||
bff1c97a FF |
17 | * rs6000-xdep.c (frame_initial_stack_address): Move |
18 | code to set frame->cache_fsr into new separate function | |
19 | frame_get_cacahe_fsr. This allows fixing a fatal error. | |
20 | * xcoffexec.c: Turn previously suppressed error | |
21 | message back on, after cleaning up BFD. | |
22 | ||
6c6afbb9 PB |
23 | * breakpoint.c (breakpoint_re_set): Removed (at least for now) |
24 | printing of blank line, since it cases printing of an | |
25 | extra blank line. Is this intended? It does mess up | |
26 | gdb test suite. | |
27 | * defs.h: Put back declarations of malloc and realloc, | |
28 | but protected by #ifndef MALLOC_INCOMPATIBLE. | |
29 | * objfiles.c: Undo previous change: Use malloc/realloc | |
30 | for objfile malloc/realloc fields (but add a cast). | |
31 | * xcoffexec.c: Suppress an error message (for now). | |
32 | ||
33 | Sat Feb 29 14:43:02 1992 Per Bothner ([email protected]) | |
34 | ||
35 | Changes from [email protected] (Metin G. Ozisik) | |
36 | [Mail dated Fri, 21 Feb 92 13:14:54 -0800] | |
37 | * buildsym.c: Use smash_to_pointer_type() to handle forward type | |
38 | references. | |
39 | * xcoffread.c: Modifications to C_DECL storage class handling, and | |
40 | introduction of an old smash_to_pointer_type() routine. | |
41 | ||
42 | Changes from [email protected] (Metin G. Ozisik) | |
43 | [Mail dated Thu, 20 Feb 92 13:57:16 -0800] | |
44 | * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info() | |
45 | parameters have been modified. | |
46 | ||
47 | Changes from [email protected] (Metin G. Ozisik) | |
48 | [Mail dated Thu, 20 Feb 92 10:10:05 -0800] | |
49 | * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used, | |
50 | and fetch_inferior_registers() always fetched all the registers | |
51 | resulting valid register values at hand all the time. Pushing a dummy | |
52 | frame did not require validating all register values first. After | |
53 | putting the above mechanism into action, we didn't have valid registers | |
54 | values always ready. Thus, all registers need to be fetched before | |
55 | pushing a dummy frame now. | |
56 | ||
57 | Changes from [email protected] (Metin G. Ozisik) | |
58 | [Mail dated Thu, 13 Feb 92 16:22:44 -0800] | |
59 | * rs6000-xdep.c: frame_initial_stack_address() function to calculate | |
60 | the starting address (actual frame address) of a frame. | |
61 | * rs6000-tdep.c: modifications to function_frame_info() to see if | |
62 | function reserves a frame pointer register (alloca register) | |
63 | * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and | |
64 | FRAME_LOCALS_ADDRESS has been updated to support debugging of | |
65 | functions with alloca() calls. | |
66 | ||
4b8333de FF |
67 | Sun Mar 1 13:13:39 1992 Fred Fish ([email protected]) |
68 | ||
69 | * xm-sysv4.h: Provide definitions/prototypes for host environment | |
70 | functions for which no definitions or prototypes are provided in | |
71 | any currently included gdb or host environment header files. | |
72 | For SVR4, this currently includes malloc and realloc, which cannot | |
73 | be portably prototyped in any gdb include file. | |
74 | ||
75 | Sat Feb 29 14:43:02 1992 Per Bothner ([email protected]) | |
76 | ||
77 | * buildsym.h: Remove obsolete variable file_stabs. | |
78 | ||
79 | * Makefile.in: Move place where configure merges in host- | |
80 | and target-dependent fragments later, so the latter | |
81 | can override (say) GNU_MALLOC. | |
82 | * config/mh-rs6000: Use system malloc. Otherwise, I | |
83 | ended up with *two* incompatible versions of malloc | |
84 | (functions in libc would call the malloc in libc). | |
85 | I assume this is a shared library problem. | |
86 | ||
87 | * remote.c: Fix (presumed) typo. | |
88 | * objfiles.c: Use xmalloc/xrealloc instead of | |
89 | malloc/realloc (since the latter are no longer declared). | |
90 | ||
91 | Changes from [email protected] (Metin G. Ozisik) | |
92 | [Mail dated Thu, 6 Feb 1992 10:22:02 -0800] | |
93 | * rs6000-xdep.c: Improvements to fetch_inferior_registers() to | |
94 | handle individual registers. | |
95 | * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value | |
96 | correctly in case it wasn't cached yet. (A problem showed up | |
97 | after fetching individual registers.) | |
98 | * buildsym.c: Disable type_synonym_name's type name overwriting | |
99 | in cases it is unnecesary. rs6000 portation doesn't use | |
100 | type_synonym_name, and it used to nullify type names | |
101 | * xcoffread.c: to handle g++'s typename abbreviation, fill in a | |
102 | type's name as soon as space for that type is allocated. | |
103 | * xcoffread.c: ignore a section's lineno information if it is | |
104 | not `.text'. (In rs6000 bfd portation integration, skipping over | |
105 | `.pad' sections are ignored since it was in machine independent | |
106 | part of the code. Thus, a problem of fake sections with invalid | |
107 | lineno information arised.) | |
108 | ||
109 | Changes from [email protected] (Metin G. Ozisik) | |
110 | [Mail dated Thu, 6 Feb 1992 13:26:22 -0800] | |
111 | * rs6000-tdep.c: make function_frame_info() work whether or not | |
112 | reading from a core file. | |
113 | * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro. | |
114 | ||
115 | * infrun.c. main.c, printcmd.c. symtab.c: | |
116 | More changes from IBM for rs6000. | |
117 | ||
118 | ||
818de002 PB |
119 | Thu Feb 27 22:57:19 1992 Per Bothner ([email protected]) |
120 | ||
121 | * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c, | |
122 | rs6000-xdep.c, xcoffexec.c, xcoffread.c: | |
123 | Merge in changes (mostly from IBM) for RS6000. | |
124 | * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c: | |
125 | More changes from IBM for RS6000. These are in machine- | |
126 | independent code, and probably could do with some cleaning | |
127 | up. The most questionable of these are #ifdef IBM6000. | |
128 | * infrun.c, sparc-tdep.c: Pass a parameter (signal number) | |
129 | to single_step() (for consistency with rs6000 and i860). | |
130 | * utils.c: Allow the 1st arg to xrealloc to be NULL | |
131 | (in which case do malloc). This removes the need for | |
132 | some tests in xcoff code (and perhaps other places?). | |
133 | * coffread.c: Removed variables last_source_file, | |
134 | type_vector, and type_vector_length as these are now | |
135 | defined by buildsym.[ch]. | |
136 | * defs.h: Remove prototypes for malloc and realloc, since | |
137 | these should only be used to implement xmalloc and xrealloc, | |
138 | and they conflict with <stdlib.h> in AIX - where they | |
139 | return void* even when __STDC__ isn't defined. Sigh. | |
140 | * munch: Recognize *initialize* in data as well as text | |
141 | (AIX uses data). Also, incorporate a patch from Garrett | |
142 | Wollman <[email protected]> to make the sed script | |
143 | much more sensible, by only trying to match the name of | |
144 | the initialize_foo function, and not the junk before it. | |
145 | ||
8537ba60 SG |
146 | Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com) |
147 | ||
148 | * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint | |
149 | unless symbol table indicates that something has changed. | |
150 | ||
069bc454 JG |
151 | Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com) |
152 | ||
b543979c JG |
153 | * remote.c: Make it work for embedded MIPS. Increase buffer |
154 | size, and use throughout. Round buffer size up if too many regs. | |
155 | Support baud rate setting and try for an 8-bit path. If | |
156 | interrupted while waiting for target, send a ^C down the wire. | |
157 | Avoid single-byte reads. | |
158 | * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES | |
159 | and NUM_REGS. | |
160 | * mips-xdep.h: Avoid the embedded regs when on Unix. | |
161 | ||
d141f3e3 JG |
162 | * mipsread.c: Byte-swap the symbol table structures, using |
163 | routines from ecoff.c, to read a symbol table written in any | |
164 | of the four possible byte orders. | |
069bc454 JG |
165 | * configure.in (mips-big-* target): Same as Sony News. |
166 | * config/mt-bigmips, config/mt-littlemips: Add ecoff.o. | |
167 | * ecoff.c: New file for symbol swapping routines. | |
168 | ||
80ba48f5 SG |
169 | Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com) |
170 | ||
171 | * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info | |
172 | all-breakpoints' command. | |
173 | * (get_number): Allow users to enter negative breakpoint numbers. | |
174 | * (breakpoint_1): Reformat display of 'info break' to show new | |
175 | fields. | |
176 | * (create_longjmp_breakpoint, breakpoint_re_set, | |
177 | breakpoint_re_set_one, enable/disable_longjmp_breakpoint), | |
178 | symfile.c (syms_from_objfile): Re-do | |
179 | insertion of longjmp breakpoints. Move all code into | |
180 | breakpoint_re_set, and call that instead of | |
181 | create_longjmp_breakpoint in symfile.c. | |
182 | ||
cba0d141 JG |
183 | Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com) |
184 | ||
185 | * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add. | |
186 | * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE. | |
187 | * symtab.c (find_pc_symtab): Handle having no objfiles. | |
188 | * infcmd.c: Fix comment. | |
189 | * objfiles.c (free_all_objfiles): Add. | |
190 | * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add. | |
191 | * symfile.c (symbol_file_command): free all objfiles when | |
192 | specifying a new symbol file. | |
193 | (reread_symbols): Stat the file name, don't fstat the descriptor. | |
194 | ||
195 | Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com) | |
196 | ||
197 | * dbxread.c (end_psymtab): Delete empty psymtabs. | |
198 | * symfile.c (allocate_psymtab): Recycle empty psymtabs. | |
199 | * symfile.h (struct objfile): Add free_psymtabs. | |
200 | ||
35318110 JG |
201 | Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com) |
202 | ||
47890ed7 JG |
203 | * Makefile.in (VERSION): Roll to gdb-4.4.4. |
204 | ||
35318110 JG |
205 | * symfile.c (symbol_file_command): strcmp => !strcmp. |
206 | * breakpoint.h: Move prototypes to follow enum definition they need. | |
207 | * breakpoint.c, infrun.c: Lint. | |
208 | * printcmd.c: Use `enum enable' rather than `enum | |
209 | display_status'. | |
210 | * mipsread.c: First pass at making it compile with the new | |
211 | objfile changes. Probably seriously broken still, but it | |
212 | compiles. FIXME. | |
213 | ||
30875e1c SG |
214 | Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com) |
215 | ||
216 | * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c, | |
217 | breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h, | |
218 | mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for | |
219 | stepping (and nexting) through longjmp(). Also, cleanup | |
220 | breakpoint handling quite a bit by creating explicit breakpoint | |
221 | types instead of using magic breakpoint numbers. | |
222 | Makefile.in: Update version to 4.4.3 | |
223 | ||
021959e2 JG |
224 | Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com) |
225 | ||
93fe4e33 JG |
226 | * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c, |
227 | minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint. | |
228 | * symmisc.c, xcoffread.c: Move debug functions to symmisc.c. | |
229 | ||
021959e2 JG |
230 | * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP. |
231 | ||
232 | * minsyms.c (install_minimal_symbols): Add bunches to any | |
233 | existing minsyms in the objfile. Avoid extra mallocation | |
234 | by working directly in the obstack. Remove ignored `mainline' parm. | |
235 | * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h, | |
236 | xcoffread.c: Change all callers. | |
237 | * FIXME: We should be able to eliminate MAINLINE from all the | |
238 | symbol readers now, with a small bit of work. | |
239 | ||
240 | * valops.c, value.h: Lint. | |
241 | * remote-vx.c: Add missing break; statement. Bugfix by | |
242 | Michael Sclafani, <[email protected]>. | |
243 | ||
bff1c97a FF |
244 | Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com) |
245 | ||
246 | * Makefile.in (VERSION): Update version to 4.4.2 | |
247 | * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c, | |
248 | minsyms.c, mmap-alloc.c, mmap-sbrk.c | |
249 | * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h | |
250 | * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o, | |
251 | mmap-alloc.o, mmap-sbrk.o | |
252 | ||
253 | * altos-xdep.c: Minor whitespace change. | |
254 | * am29k-tdep.c (examine_prologue): Convert from misc function vector | |
255 | use to new minimal symbol table use. | |
256 | * arm-xdep.c (fetch_inferior_registers): Document unused argument. | |
257 | * arm-xdep.c (store_inferior_registers): Returns void. | |
258 | * blockframe.c (get_pc_function_start, find_pc_partial_function): | |
259 | Convert from misc function vector use to new minimal symbol table use. | |
260 | Remove find_pc_misc_function(). Ifdef out block_innermost_frame(). | |
261 | * breakpoint.c: Add prototypes for local functions. | |
262 | * breakpoint.c (catch_command_1): Change to static and remove unused | |
263 | local "pc". | |
264 | * breakpoint.c (map_breakpoint_numbers): Prototype arg "function". | |
265 | * breakpoint.h: Change function decls to prototype form. | |
266 | * buildsym.c: Add prototypes for local functions. | |
267 | * buildsym.c: Moved hashname() function here from dbxread.c. | |
268 | * buildsym.c (dbx_lookup_type): Cast args to xrealloc(). | |
269 | * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type(). | |
270 | * buildsym.c (dbx_alloc_type): Change to static. | |
271 | * buildsym.c (finish_block): Add objfile parameter. | |
272 | * buildsym.c (misc): Change symbol_obstack to objfile version. | |
273 | * buildsym.c (make_blockvector): Change to static. | |
274 | * buildsym.c (start_subfile): Use strdup instead of obsavestring. | |
275 | * buildsym.c (compare_line_numbers): Change to static, args are const, | |
276 | cast args when used. | |
277 | * buildsym.c (start_symtab): Inline new_object_header_files() call. | |
278 | * buildsym.c (patch_block_stabs): Moved to this file from xcoffread | |
279 | and made static. Add objfile parameter. | |
280 | * buildsym.c (end_symtab): Simplify code using line table size. | |
281 | Realloc the linetable on the objfile symbol_obstack and copy there. | |
282 | * buildsym.c (scan_file_globals): Convert from misc function vector | |
283 | use to new minimal symbol use. | |
284 | * buildsym.c (define_symbol): Add objfile parameter. Make sure | |
285 | strings get allocated in objfile's symbol_obstack. Convert references | |
286 | to builtin types to lookup_fundamental_type(). | |
287 | * buildsym.c (read_type): Make static, add objfile parameter, convert | |
288 | references to buildin types to lookup_fundamental_type(). | |
289 | * buildsym.c (read_struct_type): Add objfile parameter. | |
290 | * buildsym.c (read_array_type): Make static, add objfile parameter. | |
291 | * buildsym.c (read_enum_type): Make static, add objfile parameter. | |
292 | * buildsym.c (read_huge_number): Make static. | |
293 | * buildsym.c (read_range_type): Make static, add objfile parameter, | |
294 | convert references to buildin types to lookup_fundamental_type (). | |
295 | * buildsym.c (read_args): Make static, add objfile parameter. | |
296 | * buildsym.h: Convert function decl's to prototype form. | |
297 | * c-exp.y: Add prototypes for local functions, convert uses of misc | |
298 | function vector to minimal symbol table. Reformat all builtin type | |
299 | initializations and pass a NULL objfile to init_type() for them. | |
300 | * coffread.c: Change context_stack ref's to coff_context_stack, | |
301 | add local function prototypes. Cast uses of xrealloc arg 1. | |
302 | * coffread.c (coff_alloc_type): Call alloc_type instead of hand- | |
303 | crafting a new type. | |
304 | * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list. | |
305 | * coffread.c (finish_block): Change name to coff_finish_block. | |
306 | * coffread.c (make_blockvector): Add and use objfile parameter. | |
307 | * coffread.c (record_line): Change name to coff_record_line. | |
308 | * coffread.c (start_symtab): Change name to coff_start_symtab. | |
309 | * coffread.c (end_symtab): Change name to coff_end_symtab. | |
310 | * coffread.c (record_misc_function): Change name to record_minimal_ | |
311 | symbol and change to minimal symbol table use from misc func tbl. | |
312 | * coffread.c (coff_symfile_read): Convert from misc function vector | |
313 | use to minimal symbol table use. | |
314 | * coffread.c (hashname): Remove; use common version in buildsym.c. | |
315 | * coffread.c (decode_base_type): Change references to builtin types | |
316 | to calls to lookup_fundamental_type(). | |
317 | * coffread.c (read_struct_type): Change name to coff_read_struct_type. | |
318 | * coffread.c (read_enum_type): Change name to coff_read_enum_type. | |
319 | * command.c: Add prototypes for local functions. | |
320 | * command.c (add_cmd): Prototype the 'fun' parameter and use the | |
321 | appropriate member of the function union for that type. | |
322 | * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and | |
323 | ifdef out the function since it isn't currently used. | |
324 | * command.c (add_alias_cmd): Pass correct function type to add_cmd. | |
325 | * command.c (add_prefix_cmd): Prototype the 'fun' parameter. | |
326 | * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter. | |
327 | * command.c (help_cmd): Compare function pointer to NULL. | |
328 | * command.c (help_cmd_list): Compare function pointer to NULL. | |
329 | * command.c (lookup_cmd_1): Use correct member of function union. | |
330 | * command.c (undef_cmd_error): Make static. | |
331 | * command.c (complete_on_cmdlist): Use correct member of func union. | |
332 | * command.c (do_setshow_command): Use correct member of func union. | |
333 | * command.c (shell_escape): Convert rindex use to strrchr. | |
334 | * command.h (COMMAND_H): Define if already included. | |
335 | * command.h (cmd_list_element struct): Change 'function' to a union | |
336 | and prototype args. Prototype completer function. | |
337 | * command.h: Convert decl's to prototype form. | |
338 | * convex-xdep.c (store_inferior_registers): Returns void. | |
339 | * copying.c: Prototype local functions. | |
340 | * coredep.c: Minor whitespace change. | |
341 | * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*. | |
342 | * cplus-dem.c: Prototype local functions. | |
343 | * dbxread.c (hashname): Remove; moved to buildsym.c. | |
344 | * dbxread.c (free_and_init_header_files): Make static. | |
345 | * dbxread.c: Add prototypes for local functions. | |
346 | * dbxread.c (new_object_header_files): Remove; inlined usages. | |
347 | * dbxread.c (xrealloc usages): Cast args. | |
348 | * dbxread.c (record_misc_function): Change to record_minimal_symbol | |
349 | and change usages accordingly. | |
350 | * dbxread.c (static_psymbols usages): Change to use per-objfile copy. | |
351 | * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate. | |
352 | * dbxread.c (dbx_next_symbol_text): Make static. | |
353 | * dbxread.c (init_psymbol_list): Convert to use per-objfile data. | |
354 | * dbxread.c (init_bincl_list): Add and use objfile parameter. | |
355 | * dbxread.c (free_bincl_list): Add and use objfile parameter. | |
356 | * dbxread.c (compare_psymbols): Remove; use common symfile.c version. | |
357 | * dbxread.c (end_psymtab): Convert to use per-objfile data. | |
358 | * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for | |
359 | prototypes. | |
360 | * dwarfread.c (record_misc_function): Change name to record_minimal_ | |
361 | symbol and use minimal symbol table throughout. | |
362 | * dwarfread.c (compare_psymbols): Remove; use common symtab.c version. | |
363 | * dwarfread.c: Convert all references to builtin types to use the new | |
364 | lookup_fundamental_type function. | |
365 | * dwarfread.c (read_enumeration): Add and use objfile parameter. | |
366 | * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto- | |
367 | types. | |
368 | * elfread.c (record_misc_function): Convert to use record_minimal_ | |
369 | symbol. | |
370 | * elfread.c (elf_symtab_read): Add objfile parameter. | |
371 | * eval.c: Add prototypes for local functions and move some decls | |
372 | around to accomodate prototypes. | |
373 | * expprint.c: Add prototypes for local functions. Change references | |
374 | to misc function vector to minimal symbol table. | |
375 | * findvar.c (read_memory usages): Cast args. | |
376 | * gdbtypes.h: New file, type info from symfile.h and symtab.h. | |
377 | * gmalloc.c: Use NOARGS where prototypes used hardwired void. | |
378 | * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned. | |
379 | * gmalloc.h: Use NOARGS where prototypes used hardwired void. | |
380 | * gould-xdep.c: Minor whitespace change. | |
381 | * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var. | |
382 | * hp300ux-xdep.c (store_inferior_registers): Returns void. | |
383 | * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr. | |
384 | * i386-stub.c: Add prototypes, change "volatile" to NORETURN. | |
385 | * i386-tdep.c: Add prototypes for local functions. | |
386 | * i386-tdep.c (codestream_fill, codestream_seek, codestream_read, | |
387 | i386_get_frame_setup, i386_skip_prologue): Explicitly declare params | |
388 | that defaulted to int. | |
389 | * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs, | |
390 | i386_push_dummy_frame): Returns void. | |
391 | * i386-xdep.c (i386_register_u_addr): Declare params that default to | |
392 | int and explicitly declare return type as int. | |
393 | * i387-tdep.c: Minor formatting changes. | |
394 | * i960-tdep.c (leafproc_return): Convert from misc function vector | |
395 | use to minimal symbol table use. | |
396 | * infcmd.c: Add prototypes for local functions. | |
397 | * infcmd.c (continue_command, until_next_command, until_command, | |
398 | path_info, path_command): Make static. | |
399 | * infcmd.c (step_1, until_next_command): Convert from misc func | |
400 | vector to minimal symbol table use. | |
401 | * inflow.c: Add prototypes for local functions. | |
402 | * infptrace.c (store_inferior_registers): Returns void, not int. | |
403 | * language.c (_initialize_language): Use proper member of function | |
404 | union. | |
405 | * m2-exp.y: Add prototypes for local functions, convert misc function | |
406 | vector uses to minimal symbol table uses. | |
407 | * m2-exp.y (make_qualname, yyerror): Make static. | |
408 | * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile. | |
409 | * m68k-pinsn.c: Add prototypes for local functions. | |
410 | * m68k-pinsn.c (print_insn): Cast args to read_memory. | |
411 | * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int. | |
412 | * m68k-stub.c: Add prototypes. | |
413 | * m88k-pinsn.c (sprint_address): Convert from misc function vector | |
414 | use to minimal symbol table use. | |
415 | * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter. | |
416 | * m88k-xdep.c (store_inferior_registers): Returns void. | |
417 | * mach386-xdep.c (fetch_inferior_registers): Takes an unused param. | |
418 | * mach386-xdep.c (store_inferior_registers): Returns void. | |
419 | * mach386-xdep.c (fetch_core_registers): Takes an unused parameter. | |
420 | * main.c: Add prototypes for local functions. | |
421 | * main.c (return_to_top_level): Is type NORETURN (volatile). Cast | |
422 | longjmp() result to (NORETURN void). | |
423 | * main.c (catch_errors): Prototype the 'func' parameter. | |
424 | * main.c (disconnect, stop_sig, do_nothin, float_handler): | |
425 | Takes an unused arg. | |
426 | * main.c (execute_command): Call the right member of the func union. | |
427 | * main.c (command_loop_marker, symbol_completion_function, | |
428 | command_loop): Make static. | |
429 | * main.c (command_line_input): Make linelength unsigned, cast arg | |
430 | to command_line_input(). | |
431 | * main.c (add_info, add_com): Prototype the 'fun' parameter. | |
432 | * main.c (initialize_main): Call right member of function union. | |
433 | * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS. | |
434 | * mem-break.c: Include symtab.h | |
435 | * mips-xdep.c (fetch_inferior_registers): Takes unused param. | |
436 | * mips-xdep.c (store_inferior_registers): Returns void. | |
437 | * mipsread.c (mipscoff_symfile_read): Change from misc function vector | |
438 | use to minimal symbol table use. | |
439 | * mipsread.c (symbol_obstack usages): Convert all to use per-objfile | |
440 | version. | |
441 | * mipsread.c (make_type): Remove, convert usages to init_type. | |
442 | * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile. | |
443 | * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function | |
444 | vector use to minimal symbol table use. | |
445 | * parse.c: Add prototypes for local functions. | |
446 | * parse.c (xrealloc usages): Cast args. | |
447 | * parse.c (prefixify_expression, length_of_subexp): Make static. | |
448 | * parser-defs.h (PARSER_DEFS_H): Define when first included. | |
449 | * parser-defs.h: Convert function decls to prototype form. | |
450 | * partial-stab.h: Convert from misc function vector use to new minimal | |
451 | symbol table use. | |
452 | * partial-stab.h (global_psymbols, static_psymbols usages): Reference | |
453 | the per-objfile copies. | |
454 | * printcmd.c: Add prototypes for local functions. Move some struct | |
455 | definitions around to accomodate prototypes. | |
456 | * printcmd.c (decode_format): Make static, change args oformat and | |
457 | osize to int from char. | |
458 | * printcmd.c (print_formatted): Change 'format' and 'size' to int. | |
459 | * printcmd.c (print_scalar_formatted): Change arg 'format' to int. | |
460 | * printcmd.c (print_address_symbolic): Convert from misc function | |
461 | vector use to minimal symbol table use. | |
462 | * printcmd.c (address_info): Convert from misc function vector use | |
463 | to minimal symbol table use. | |
464 | * printcmd.c (delete_display, enable_display, disable_display_command): | |
465 | Make static. | |
466 | * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAM. | |
467 | * procfs.c (fetch_core_registers): Add unused param reg_addr. | |
468 | * pyr-xdep.c (fetch_inferior_registers): Add unused param regno. | |
469 | * pyr-xdep.c (store_inferior_registers): Returns void. | |
470 | * remote-mm.c (mm_load): symbol_file_add return value unused. | |
471 | * remote-nindy.c: Minor format change. | |
472 | * remote-vx.c (vx_load_command): symbol_file_add result unused. | |
473 | * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno. | |
474 | * rs6000-xdep.c (store_inferior_registers): Returns void. | |
475 | * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr | |
476 | * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function | |
477 | vector use to minimal symbol table use. | |
478 | * solib.c: Add prototypes for local functions. | |
479 | * solib.c (solib_add_common_symbols, locate_base): Convert from misc | |
480 | function vector use to minimal symbol table use. | |
481 | * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAM. | |
482 | * solib.c (find_solib, shared_library_command): Make static | |
483 | * solib.c (read_memory, write_memory usages): Cast args. | |
484 | * solib.c (special_symbol_handling): Add function | |
485 | * source.c: Add prototypes for local functions. | |
486 | * source.c (select_source_symtab): Convert to scan objfiles. | |
487 | * source.c (open_source_file): Make static. | |
488 | * source.c (xrealloc usages): Cast args. | |
489 | * source.c (source_line_charpos): ifdef out, unused. | |
490 | * source.c (get_filename_and_charpos): Make static. | |
491 | * stack.c: Add prototypes for local functions. | |
492 | * stack.c (print_frame_info, frame_info): Convert from misc function | |
493 | vector use to minimal symbol table use. | |
494 | * symfile.c: Add prototypes for local functions. | |
495 | * symfile.c (compare_symbols): Make args const PTR's. | |
496 | * symfile.c (compare_psymbols, sort_pst_symbols) add. | |
497 | * symfile.c (sort_all_symtab_syms): Scan objfile list. | |
498 | * symfile.c (obsavestring): Add objfile parameter. | |
499 | * symfile.c (init_misc_bunches, prim_record_misc_function, | |
500 | compare_misc_functions, discard_misc_bunches, condense_misc_bunches, | |
501 | sort_misc_function_vector, compact_misc_function_vector): Remove | |
502 | * symfile.c (symbol_file_add_digested): Add function. | |
503 | * symfile.c (symbol_file_add): Returns struct objfile *. | |
504 | * symfile.c (symbol_file_command): Modify for state file use. | |
505 | * symfile.c (symfile_open): Add parameter "dumpable". | |
506 | * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c | |
507 | * symfile.c (load_command, add_symbol_file_command): Make static. | |
508 | * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c | |
509 | * symfile.c (rindex usages): Converted to strrchr. | |
510 | * symfile.c (allocate_psymtab): New | |
511 | * symfile.c (free_named_symtabs): Ifdef out code that needs to be | |
512 | converted to minimal symbol table usage, but no obvious conversion. | |
513 | * symfile.c (free_all_symtabs): Remove. | |
514 | * symfile.c (_initialize_symfile): Use per-objfile info. | |
515 | * symfile.h: Rework the objfile structure to add per-objfile data | |
516 | objects (psymbol_obstack, symbol_obstack, type_obstack, | |
517 | global_psymbols, static_psymbols, msymbols, minimal_symbol_count, | |
518 | fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc). | |
519 | Add prototypes to function declarations. | |
520 | * symm-tdep.c (symmetry_extract_return_value): Convert from misc | |
521 | function vector usage to minimal symbol table usage. | |
522 | * symmisc.c (DEV_TTY): Define if not defined. | |
523 | * symmisc.c: Add local function prototypes. | |
524 | * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms, | |
525 | printpsyms_command, print_objfiles, print_objfiles_command): | |
526 | Rework to use iterate_over_* | |
527 | * symtab.c: Add prototypes for local functions. | |
528 | * symtab.c (lookup_symtab_1): Convert to look through objfiles. | |
529 | * symtab.c (lookup_partial_symtab): Scan through objfiles. | |
530 | * symtab.c (lookup_primitive_typename, lookup_typename, lookup_ | |
531 | unsigned_typename, lookup_struct, lookup_union, lookup_enum, | |
532 | lookup_template_type, lookup_struct_elt_type, lookup_pointer_type, | |
533 | lookup_reference_type, lookup_member_type, allocate_stub_method, | |
534 | check_stub_method, create_array_type, smash_to_member_type,): | |
535 | Moved to gdbtypes.c | |
536 | * symtab.c (lookup_symbol): Some args are const. | |
537 | * symtab.h: All type related defs and structs moved to gdbtypes.h | |
538 | * symtab.h: Convert decls to prototypes. | |
539 | * target.c (noprocess): Make static. | |
540 | * target.h: Change decl's to prototypes. | |
541 | * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK, | |
542 | DISABLE_UNSETTABLE_BREAK) Moved to solib.h. | |
543 | * utils.c (_initialize_utils): Use correct member of function union. | |
544 | * valarith.c: include gdbtypes.h | |
545 | * valops.c: include gdbtypes.h, add prototypes for local functions. | |
546 | * valops.c (value_push, value_arg_push, find_function_addr): | |
547 | Make static. | |
548 | * valops.c (value_string): Convert from misc function vector use | |
549 | to minimal symbol table use. | |
550 | * valops.c (check_field_in): Make arg const. | |
551 | * valprint.c: Add prototypes for local functions. | |
552 | * valprint.c (print_string): Make static | |
553 | * valprint.c (value_print, val_print_fields, val_print): Make arg int. | |
554 | * values.c: Add prototypes for local functions. | |
555 | * values.c (value_headof): Convert from misc function vector to | |
556 | minimal symbol table. | |
557 | * xcoffexec.c: Add prototypes for local functions. | |
558 | * xcoffexec.c (exec_close, file_command, add_to_section_table): | |
559 | Make static. | |
560 | * xcoffexec.c (relocate_minimal_symbol): Add. | |
561 | * xcoffread.c (patch_block_stabs): Moved to buildsyms.c. | |
562 | * xcoffread.c: Add prototypes for local functions. | |
563 | * xcoffread.c (sort_syms): Convert to scan objfiles. | |
564 | * xcoffread.c (read_xcoff_symtab): Make static. | |
565 | * xcoffread.c (various): Replace references to builtin types with | |
566 | calls to lookup_fundamental_type. Replace references to symbol_obstack | |
567 | and psymbol_obstack with pointers to the per-objfile copies. | |
568 | * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace, | |
569 | dump_block, dump_blockvector, dump_last_symtab, dump_symtabs): | |
570 | Make static. | |
571 | * xcoffread.c (init_stringtab): Add objfile parameter. | |
572 | * gdbtypes.c: New file | |
573 | * minsyms.c: New file | |
574 | * mmap-alloc.c: New file | |
575 | * mmap-sbrk.c: New file | |
576 | * objfiles.c: New file | |
577 | * state.c: New file | |
578 | * state.h: New file | |
579 | ||
021959e2 JG |
580 | Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com) |
581 | ||
582 | * Check in Fred Fish's changes in these modules. Fred | |
93fe4e33 JG |
583 | will make ChangeLog entries for all of them. Update VERSION |
584 | to 4.4.2. | |
021959e2 | 585 | |
7919c3ed JG |
586 | Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com) |
587 | ||
588 | * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions | |
589 | into solib.h. | |
590 | * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c, | |
591 | sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c, | |
592 | value.h: Prototypes for static functions; lint. | |
593 | * gdbtypes.h: Empty file to ease transition. | |
594 | ||
75af490b JG |
595 | Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com) |
596 | ||
597 | * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h, | |
598 | inferior.h, language.h, signame.h, target.h, terminal.h, | |
599 | tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h, | |
600 | xm-i386v.h, xm-sparc.h: Prototypes for all external functions. | |
601 | Lint. | |
602 | * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c, | |
603 | signame.c, sparc-xdep.c: Prototypes for all static functions. | |
604 | Lint. | |
605 | * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c, | |
606 | remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c, | |
607 | target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c: | |
608 | Remove to_call_function and target_call_function, since it | |
609 | always calls the same thing (call_function_by_hand). | |
610 | * core.c, exec.c, solib.c: Rename target_ops sections => | |
611 | to_sections, etc. | |
612 | * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, | |
613 | target.h: target_kill takes no args. | |
614 | * language.c (language_info): Scaffolding to allow briefer | |
615 | messages when the current language changes. FIXME. | |
616 | * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid | |
617 | complaints about volatile functions. | |
618 | * xm-sysv4.h (HAVE_MMAP): Define. | |
619 | ||
620 | Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com) | |
088c3a0b JG |
621 | |
622 | * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS | |
623 | to make prototypes for all functions declared here. | |
624 | * cplus-dem.c: Avoid declaring xmalloc and xrealloc. | |
625 | * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict. | |
626 | * environ.c: Include <stdio.h> before defs.h. Minor cleanup. | |
627 | * ieee-float.h: Use PARAMS for prototypes; make some params const. | |
628 | * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*. | |
629 | * m2-exp.y: Remove unused CONST; Rename OR and AND. | |
630 | * utils.c: Avoid declaring malloc and realloc. Lint. | |
631 | (request_quit): Accept signal-number parameter. | |
632 | ||
af213624 FF |
633 | Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com) |
634 | ||
9e4c1921 FF |
635 | * dwarfread.c (process_dies): Add case to handle TAG_pointer_type |
636 | DIE's. Add new function read_tag_pointer_type() to read them. | |
637 | ||
af213624 FF |
638 | * dwarfread.c (dwarf_read_array_type, read_subroutine_type): |
639 | When creating a new user defined type, check to see if a partial | |
640 | type already exists, and if so, bash it to fit. | |
641 | ||
be8303da JG |
642 | Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com) |
643 | ||
644 | * coffread.c (decode_base_type): Pass long, not union. | |
645 | Fix by Eric Valette, [email protected]. | |
646 | ||
d35bf52d FF |
647 | Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com) |
648 | ||
649 | * elfread.c (elf_symtab_read): Fix code to correctly track | |
650 | changes in bfd for absolute symbols. | |
651 | ||
5b620e75 SG |
652 | Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com) |
653 | ||
654 | * xm-vaxbsd.h: Close off comment. | |
655 | ||
0a663e9e FF |
656 | Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com) |
657 | ||
658 | * xm-sysv4.h: Define NEED_POSIX_SETPGID. | |
659 | ||
660 | Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com) | |
661 | ||
662 | * mips-tdep.c (mips_print_registers): Print correct register | |
663 | number for double pseudo-registers. | |
664 | ||
ef9b1bc9 JG |
665 | Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com) |
666 | ||
256269fc JG |
667 | * buildsym.c (read_struct_type): Avoid double-bump of parse ptr |
668 | in the op$::OPERATOR. case. From Steven McCanne, | |
669 | <[email protected]>. | |
670 | ||
ef9b1bc9 JG |
671 | * exec.c (set_section_name): Pass arg to exec_files_info; |
672 | only call it if interactive. From Francis Kauth <[email protected]>. | |
673 | ||
195853fc JG |
674 | Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com) |
675 | ||
676 | * main.c (print_gdb_version): Copyright msg: only this year. | |
677 | (cd_command): Avoid changing current_directory on error. | |
678 | ||
ee17fd34 PB |
679 | Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com) |
680 | ||
681 | * mipsread.c (parse_partial_symbols): Handle dependencies | |
682 | between partial symbol tables (when not doing stabs-in-ecoff). | |
683 | (This used to be handled by parse_fdr, but parse_fdr was | |
684 | incompatible with handling stabs-in-ecoff, so the code | |
685 | was re-written to not use parse_fdr. Unfortunately, | |
686 | the logic to handle dependencies was overlooked.) | |
687 | ||
1f46923f SC |
688 | Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
689 | ||
690 | * coffread.c (read_enum_type): Use the size of a target int when | |
691 | describing enum. | |
692 | * defs.h: added new #define for TARGET_PTR_BIT, defaults to size | |
693 | of target int. | |
694 | * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count | |
695 | * symtab.c (lookup_reference_type, lookup_ptr_type): use | |
696 | TARGET_PTR_BIT to determine size of a pointer | |
697 | * values.c (unpack_long): when unpacking a REF or a PTR don't | |
698 | assume the size of the type. | |
699 | ||
778c358d JG |
700 | Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com) |
701 | ||
702 | * mipsread.c (parse_symbol): Avoid clobbering enum pointer when | |
703 | looking at its members. Improve guess between struct and union, | |
704 | only assuming union if multiple members have offsets of zero. | |
705 | ||
bd49ef36 PB |
706 | Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com) |
707 | ||
708 | * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6. | |
709 | (This is just for clarity - and one day permitting us to | |
710 | change FP0_REGNUM from 38 to 32, which would make more sense.) | |
711 | * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that | |
712 | register numbers in stabs-in-ecoff get handled correctly. | |
713 | ||
714 | Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com) | |
715 | ||
716 | * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult, | |
717 | config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen | |
718 | into BSD and Ultrix. | |
719 | ||
96499e96 JG |
720 | Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com) |
721 | ||
722 | * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc. | |
723 | ||
98f03b91 SG |
724 | Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com) |
725 | ||
dafe57bc | 726 | * Makefile.in: Increment version to 4.4.1. |
98f03b91 SG |
727 | * main.c (print_gdb_version): Update copyright notice. |
728 | ||
729 | Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com) | |
730 | ||
731 | * mipsread.c: Prepend "struct " to the names of structure | |
732 | types, and similarly for enums and unions. (This used | |
733 | to be done, but got lost in the re-write to "guess" the | |
734 | difference between enum/struct/union.) | |
735 | Also, guess that a tag is an enum if the first member | |
736 | has type btNil. | |
737 | ||
3671f1fd SG |
738 | Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com) |
739 | ||
740 | * xm-vax.h: #ifndef ultrix around #include of endian.h and | |
741 | limits.h (sigh). | |
742 | ||
0c6efbcc JG |
743 | Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com) |
744 | ||
ee7270cd JG |
745 | * Projects: Patching executables is done. |
746 | * Makefile.in (VERSION): Roll to gdb-4.4. | |
75c86b57 | 747 | * README, WHATS.NEW: Update for gdb-4.4. |
ee7270cd | 748 | |
4a1dcb7f JG |
749 | * symfile.c (reread_symbols): Whenever we reread one object |
750 | file's symbols, we must restart the scan, because the object_files | |
751 | chain has been permuted. | |
752 | ||
0c6efbcc JG |
753 | * exec.c (exec_files_info): Split out into print_section_info. |
754 | Print BFD filename of each section if it's not the default one. | |
755 | * core.c (core_files_info): Call print_section_info. | |
756 | ||
757 | * xm-vax.h: Include a few system header files whose definitions | |
758 | must precede defs.h. | |
759 | * language.c, language.h: Make some things const. | |
760 | * expression.h, main.c: const spreads like ooze. | |
761 | ||
762 | * mem-break.c (break_insn, break_insn_size): Use unsigned chars, | |
763 | since BREAKPOINT values can be >0x80. | |
764 | ||
d58ea996 SG |
765 | Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com) |
766 | ||
767 | * infrun.c, xm-i386sco.h: SCO needs to use setpgid(). | |
768 | ||
0c6efbcc JG |
769 | Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com) |
770 | ||
771 | * sparc-pinsn.c: Remove kludge for preferring architectures. | |
772 | Remove #ifdef's for SORT_NEEDED. We need to sort the table, now | |
773 | and forever. Add `add' instruction to the set that get checked | |
774 | for a preceding `sethi' in order to print an absolute address. | |
775 | Corresponding changes in ../include/opcode/sparc.h needed | |
776 | to eliminate garbage instructions. | |
777 | ||
d4ea2aba PB |
778 | Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com) |
779 | ||
780 | * mipsread.c (parse_partial_symbols): Make sure partial | |
781 | symbols are created for external symbols (as used to be | |
782 | the case). This is a bit of a pain with the mips-coff. | |
783 | It uses a table which points to all of the external | |
784 | symbols belonging to a particular FDR or psymtab. | |
785 | Once we've generated this table, we might as well save | |
786 | it, and then use it in psymtab_to_symtab_1 to find | |
787 | the symbols to pass to parse_external(). | |
788 | * symfile.c, symfile.c: New function start_psymtab_common | |
789 | to share the common parts of allocating a new psymtab | |
790 | for dbxread, mipsread (and later dwarfread). Its code | |
791 | was pulled out from start_psymtab in dbxread.c. | |
792 | * dbxread.c (start_psymtab): Use start_psymtab_common(). | |
793 | ||
794 | * valprint.c (val_print): If there is an error when trying | |
795 | to print a string, check to see if there really is a problem | |
796 | by reading just one character. If that works, assume | |
797 | things are ok. | |
798 | ||
05151637 SG |
799 | Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com) |
800 | ||
801 | * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7, | |
802 | cypress, v8 mnemonics in that order. | |
803 | ||
4a074bea PB |
804 | Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com) |
805 | ||
806 | * sparc-pinsn.c: Put the qsort() back in. | |
807 | ||
c55e6167 | 808 | Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com) |
1aa560b2 | 809 | |
eae1a261 JG |
810 | * findvar.c (read_register, write_register): Handle machines |
811 | where REGISTER_TYPE is not the same size as "int". | |
812 | ||
c55e6167 | 813 | Handle debug symbols in dynamically loaded (relocated) code: |
3c03b5de | 814 | |
c55e6167 JG |
815 | * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass |
816 | offset to process_one_symbol. | |
817 | (process_one_symbol): Take new offset parameter. Add it into | |
818 | appropriate symbol types to relocate symbols to loaded addresses. | |
819 | Handle all possible symbol types, and complain() about types that | |
820 | we don't expect to see. | |
821 | * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to | |
822 | process_one_symbol (FIXME, should pass real offset). | |
1aa560b2 | 823 | |
c55e6167 JG |
824 | Misc bugfixes: |
825 | ||
826 | * breakpoint.c (resolve_sal_pc): Split out code to resolve a | |
827 | sal's PC value. | |
828 | (set_breakpoint, break_command_1, until_break_command, | |
829 | catch_command_1, breakpoint_re_set_one): Use it. | |
c55e6167 JG |
830 | * symtab.h (resolve_sal_pc): Declare. |
831 | * infcmd.c (jump_command): Use resolve_sal_pc. | |
832 | ||
4cc9f7e2 | 833 | * source.c (list_command): Shorten "FILE, line N" to "FILE:N". |
c55e6167 JG |
834 | |
835 | * putenv.c (putenv): Avoid unportably casting pointers to unsigneds. | |
3818ed33 | 836 | |
5a4e7215 JG |
837 | * c-exp.y (yylex): `this' and `template' are only tokens in C++. |
838 | ||
3818ed33 JG |
839 | * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h, |
840 | xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h: | |
841 | Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines. | |
842 | ||
c55e6167 JG |
843 | Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com) |
844 | ||
845 | * dbxread.c (process_one_symbol): Make a first cut at handling | |
846 | symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.) | |
847 | ||
848 | * symtab.c (find_pc_line): Fix stepping into and out of #included | |
849 | files. | |
850 | ||
71f49876 SG |
851 | Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com) |
852 | ||
853 | * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is | |
854 | no longer any need to copy ../include/opcode/* into gdb. | |
855 | ||
fd8db897 JG |
856 | Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com) |
857 | ||
858 | * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992. | |
859 | ||
24b2fbdc PB |
860 | Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com) |
861 | ||
862 | * valprint.c (type_print_base, type_print_method_args): | |
863 | Print C++ constructor methods without bogus "return type." | |
864 | ||
cdb90e99 FF |
865 | Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com) |
866 | ||
867 | * infptrace.c (child_xfer_memory): Parameter "target" should | |
868 | be a pointer to a structure, not the entire structure. | |
869 | ||
1b07e406 FF |
870 | Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com) |
871 | ||
872 | * depend: Convert the couple of references to ansidecl.h that | |
873 | used the local gdb version to use the ../include version. | |
874 | ||
9a1ae235 FF |
875 | Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com) |
876 | ||
f66f459f FF |
877 | * procfs.c |
878 | (child_xfer_memory): Takes pointer to a struct, not entire struct. | |
879 | (inferior_proc_init): Fix non-ANSI version of args. | |
880 | (attach): Call print_sys_errmsg with correct number of args. | |
881 | (mappingflags): Make static, does not need to be global. | |
882 | ||
fc1f8646 FF |
883 | * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct |
884 | not the entire struct itself. | |
885 | ||
1b7a420e FF |
886 | * valops.c (value_assign): Cast some args to modify_field() and |
887 | {read,write}_register_bytes() correctly. | |
888 | ||
9a1ae235 FF |
889 | * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h |
890 | ||
99140c31 FF |
891 | * Makefile.in (MALLOCSRC): Removed reference to removed local |
892 | copy of ansidecl.h. | |
893 | ||
894 | * dwarfread.c (list_in_scope): Needs an initial value, use file | |
895 | scope. | |
896 | ||
9a1ae235 FF |
897 | Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com) |
898 | ||
899 | * main.c (main): Make option_index local to keep new getopt happy. | |
900 | main.c, solib.c, Makefile.in: Update copyright notices. | |
901 | ||
0eb0a820 MT |
902 | Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com) |
903 | ||
904 | * cplus-dem.c (cplus_demangle): Correctly demangle destructors. | |
905 | ||
313085cb SG |
906 | Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com) |
907 | ||
908 | * Makefile.in (HFILES): Add partial-stab.h. | |
909 | ||
be9a2362 FF |
910 | Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com) |
911 | ||
24e7d5ba JG |
912 | * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h: |
913 | New files for stratus. Not complete enough to actually build | |
914 | on the Stratus machine; that awaits copyright assignment for | |
915 | i860 changes. | |
be9a2362 FF |
916 | |
917 | * Makefile.in (USER_CFLAGS): Add macro specifically reserved | |
918 | for getting custom flags into CFLAGS when doing makes. | |
919 | ||
920 | * configure.in: Add config information for stratus. | |
921 | ||
cdce29ee FF |
922 | Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com) |
923 | ||
924 | * dbxread.c (process_one_symbol): Pass address of structure | |
925 | to complain(), rather than the whole structure. | |
926 | ||
7f435241 FF |
927 | Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com) |
928 | ||
929 | * solib.c (solib_add_common_symbols): Only compile in when not | |
930 | using SVR4 style shared libraries. | |
931 | ||
a5bd5ba6 FF |
932 | Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com) |
933 | ||
934 | * dwarfread.c (locval): Add offreg flag to indicate location | |
935 | values that are computed off a base register. | |
936 | ||
937 | * dwarfread.c (new_symbol): Rework TAG_global_variable and | |
938 | TAG_local_variable cases to account for static variables | |
939 | within function scopes. | |
940 | ||
7e97eb28 SG |
941 | Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com) |
942 | ||
8c3d2a53 SG |
943 | * inflow.c: remove #include <sys/dir.h>. Not necessary, and |
944 | doesn't exist on some systems. | |
945 | ||
5e746644 SG |
946 | * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when |
947 | nexting over recursive function calls. | |
948 | ||
d261ece7 SG |
949 | * target.c (target_read_string): Create this routine to read null |
950 | terminated strings from the target. It deals with running off the | |
951 | end of memory elegantly as well. solib.c (find_solib): Use | |
952 | target_read_string() to avoid problems with running off the end of | |
953 | memory. | |
954 | ||
7e97eb28 SG |
955 | * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines |
956 | that reference pgrp_inferior. | |
957 | ||
0cf9329b PB |
958 | Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com) |
959 | ||
960 | * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that | |
961 | mips-tfile has been hacked to act more "traditionally." | |
962 | * dbxread.c: Fixed typo in comment. | |
963 | ||
488d2691 PB |
964 | Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com) |
965 | ||
966 | * mips-tdep.c (mips_skip_prologue): Add some number of | |
967 | 'sw' instructions before 'addiu' adjusts the stack. | |
968 | ||
4d315a07 FF |
969 | Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com) |
970 | ||
971 | * dwarfread.c (start_symtab, end_symtab, scopecount, openscope, | |
972 | freescope, buildblock closescope, record_line, add_symbol_to_list, | |
973 | gatherblocks, make_blockvector): Extensive changes to switch | |
974 | to generic symbol table building code in buildsym.c. Remove | |
975 | scope tree structures and functions, symbol table building | |
976 | functions, and lots of other small changes. | |
977 | ||
978 | * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove | |
979 | GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL. | |
980 | ||
981 | Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com) | |
982 | ||
983 | * buildsym.c (cleanup_undefined_types): Add support for enums. | |
984 | This fixes the 'GDB internal error. cleanup_undefined_types with | |
985 | bad type' problem. | |
986 | ||
987 | Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com) | |
988 | ||
989 | * dbxread.c: detect gcc2 compilations. | |
990 | ||
1a4d253c JG |
991 | Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com) |
992 | ||
993 | * sparc-pinsn.c: Rename bitfields that overlap with macro names | |
994 | in ../include/opcode/sparc.h. | |
995 | ||
1d4c28c5 FF |
996 | Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com) |
997 | ||
998 | * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h | |
999 | to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2 | |
1000 | to reflect actual locations of opcode files, so TAGS target will | |
1001 | be buildable. | |
1002 | ||
1003 | * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'. | |
1004 | ||
1005 | * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k | |
1006 | code. | |
1007 | ||
1008 | * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array | |
1009 | dereferencing to access the correct elements. | |
1010 | ||
1011 | * valops.c (value_addr): Declare return type of external func | |
1012 | value_copy(). | |
1013 | ||
1014 | * xcoffread.c: Undefine next_symbol_text before redefining it. | |
1015 | ||
fd8db897 | 1016 | For older changes see ChangeLog-9091 |
bd5635a1 RP |
1017 | \f |
1018 | Local Variables: | |
1019 | mode: indented-text | |
1020 | left-margin: 8 | |
1021 | fill-column: 74 | |
1022 | version-control: never | |
1023 | End: |