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