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