]>
Commit | Line | Data |
---|---|---|
7efb57c3 FF |
1 | Thu Apr 29 00:03:59 1993 Fred Fish ([email protected]) |
2 | ||
3 | * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG | |
4 | when compiling with gcc, but disable it for now. See comment. | |
5 | * defs.h (LONGEST): Define as either "long" or "long long" | |
6 | based on CC_HAS_LONG_LONG. | |
7 | * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control | |
8 | how longest_to_int is defined. | |
9 | * c-valprint.c (c_val_print): Call print_longest. | |
10 | * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG | |
11 | instead of LONG_LONG. | |
12 | * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with | |
13 | CC_HAS_LONG_LONG. | |
14 | * printcmd.c (print_scalar_formatted): Call print_longest | |
15 | and let it figure out what to do for PRINTF_HAS_LONG_LONG. | |
16 | * typeprint.c (print_type_scalar): Call print_longest and let | |
17 | it figure out what to do for PRINTF_HAS_LONG_LONG. | |
18 | * valprint.c (val_print_type_code_int): Call print_longest | |
19 | and let it figure out what to do for PRINTF_HAS_LONG_LONG. | |
20 | * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. | |
21 | * value.h (struct value): Replace usage of LONG_LONG with | |
22 | CC_HAS_LONG_LONG. | |
23 | * value.h (print_longest): Add prototype. | |
24 | * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG. | |
25 | * values.c (unpack_double): Collapse code that was unnecessarily | |
26 | dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types. | |
27 | * values.c (value_from_longest): Remove dependency on | |
28 | CC_HAS_LONG_LONG and just use LONGEST. | |
29 | * solib.c (solib_map_sections): Use bfd_get_filename | |
30 | to access filename field. | |
31 | * solib.c (clear_solib): Save filename and free it later, after | |
32 | bfd_close, since bfd_close may reference it. Use bfd_get_filename | |
33 | to access the field. | |
34 | * config/convex/xm-convex.h (LONG_LONG): Replace with | |
35 | CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG. | |
36 | * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG. | |
37 | Add PRINTF_HAS_LONG_LONG references. | |
38 | ||
0626f40d JK |
39 | Wed Apr 28 06:11:38 1993 Jim Kingdon ([email protected]) |
40 | ||
31b56726 JK |
41 | * inflow.c (kill_command), infcmd.c (attach_command), |
42 | remote.c (remote_interrupt_twice): In messages for the user, call it | |
43 | "the program" or "the program being debugged" not "the inferior". | |
44 | ||
0626f40d JK |
45 | * hp300ux-nat.c: Cast second arg to supply_register calls. |
46 | (_initialize_kernel_u_addr, getpagesize): New functions. | |
47 | (store_inferior_register_1): Change arg name from value to val. | |
48 | (fetch_core_registers): Make arg core_reg_size unsigned. | |
49 | Pass 5 args to ptrace. | |
50 | * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE. | |
51 | Remove KERNEL_U_ADDR stuff. | |
52 | * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace. | |
53 | * config/m68k/hp300hpux.m{t,h}: | |
54 | Move exec.o from NATDEPFILES to TDEPFILES | |
55 | * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove | |
56 | hp-include stuff. Add m68k-tdep.o to TDEPFILES. | |
57 | ||
d8f23320 PS |
58 | Wed Apr 28 13:27:54 1993 Peter Schauer ([email protected]) |
59 | ||
60 | * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL. | |
61 | ||
08bb2617 JK |
62 | Wed Apr 28 06:11:38 1993 Jim Kingdon ([email protected]) |
63 | ||
64 | * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE. | |
65 | ||
caa53d6d RP |
66 | Wed Apr 28 11:39:18 1993 Roland H. Pesch ([email protected]) |
67 | ||
68 | * doc/gdb.texinfo: make node "Shell Commands" unconditional; | |
69 | describe `set demangle-style arm' (not cfront); | |
70 | mention can type `q' to discard output, when gdb pages | |
71 | ||
212e10cf PS |
72 | Wed Apr 28 11:32:39 1993 Peter Schauer ([email protected]) |
73 | ||
74 | * valops.c (search_struct_field): Fix gdb core dump with incomplete | |
75 | stabs info. | |
76 | ||
ebdb9ade JK |
77 | Wed Apr 28 06:11:38 1993 Jim Kingdon ([email protected]) |
78 | ||
79 | * remote.c: Change timeout to 2. | |
80 | (remote_open): Use unpush_target not remote_close. | |
81 | (remote_resume): If siggnal != 0, give warning not error(). | |
82 | (remote_wait, remote_interrupt, remote_interrupt_twice): | |
83 | If we get two interrupts, let the user get out if they want. | |
84 | (remote_{kill,mourn}): New functions. | |
85 | i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT. | |
86 | ||
c0f2f39c ILT |
87 | Wed Apr 28 09:20:55 1993 Ian Lance Taylor ([email protected]) |
88 | ||
89 | * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl. | |
90 | ||
609e1c57 JK |
91 | Wed Apr 28 06:11:38 1993 Jim Kingdon ([email protected]) |
92 | ||
71607f9d JK |
93 | * Remote targets (mourn): Call unpush_target. |
94 | ||
e82980e4 JK |
95 | * config/sparc/xm-sun4os4.h: Declare free() to return int. |
96 | Remove twisted use of PARAMS. | |
97 | ||
609e1c57 JK |
98 | * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now |
99 | that ansidecl.h assumes ANSI on AIX. | |
100 | ||
ab425a9b JK |
101 | Tue Apr 27 10:01:33 1993 Jim Kingdon ([email protected]) |
102 | ||
103 | * README: Move most stuff about hacking GDB to doc/gdbint.texinfo. | |
104 | (Known bugs): Remove AIX bugs, revise SPARC struct bug description. | |
105 | ||
f661c4ca PS |
106 | Tue Apr 27 13:44:19 1993 Peter Schauer ([email protected]) |
107 | ||
108 | * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output. | |
109 | ||
ebe8362f JK |
110 | Tue Apr 27 10:01:33 1993 Jim Kingdon ([email protected]) |
111 | ||
112 | * remote-vx.c (net_connect): Allow numeric IP address for host. | |
113 | ||
9faacb92 SC |
114 | Mon Apr 26 17:59:38 1993 Steve Chamberlain ([email protected]) |
115 | ||
116 | * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files. | |
117 | ||
9aa31e91 JK |
118 | Mon Apr 26 07:13:32 1993 Jim Kingdon ([email protected]) |
119 | ||
120 | * rs6000-tdep.c (branch_dest): Deal with stepping through system call. | |
121 | ||
122 | * symtab.h, xcoffread.c: Revise linetable sorting comments. | |
123 | ||
24d45a63 PS |
124 | Sun Apr 25 02:32:16 1993 Peter Schauer ([email protected]) |
125 | ||
126 | * valops.c (value_cast): A cast might also change the object | |
127 | representation in C++. | |
128 | * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst | |
129 | to get the proper read_symtab function when called from mipsread.c. | |
130 | * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1): | |
131 | Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid | |
132 | for dummy psymtabs, inhibit processing of dummy psymtabs. | |
133 | ||
8cba9703 JK |
134 | Sat Apr 24 19:59:54 1993 Jim Kingdon ([email protected]) |
135 | ||
87237c52 JK |
136 | * Changes from (or inspired by) AMD: |
137 | * remote-udi.c (udi_attach): Assignments to Space and Offset were | |
138 | switched, fix it. | |
139 | (udi_wait): Make error message (UDIGetStdout) match error. | |
140 | (udi_wait): Handle UDIStdinNeeded. | |
141 | * command.c [CANT_FORK]: Use system(). | |
142 | * utils.c (prompt_for_continue): Allow quit with 'q'. | |
143 | ||
8cba9703 JK |
144 | * solib.c (solib_add): Don't call special_symbol_handling if there |
145 | were errors in symbol_add_stub. Also set so->from_tty before | |
146 | calling symbol_add_stub. | |
147 | ||
66a1aa07 SG |
148 | Fri Apr 23 16:17:00 1993 Stu Grossman ([email protected]) |
149 | ||
150 | * Merge in HPPA/BSD patches from Utah: | |
151 | * defs.h: Add const to 2nd arg of psignal prototype. | |
152 | * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with | |
153 | BSD now. | |
154 | * hppab-core.c: Deleted. No longer useful. | |
155 | * hppab-nat.c: #include more files. Use PT_WUREGS, not | |
156 | PT_WRITE_U. | |
157 | * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c. | |
158 | * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o. | |
159 | * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o | |
160 | * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o | |
161 | * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE. | |
162 | ||
b5728692 SG |
163 | Fri Apr 23 10:34:02 1993 Stu Grossman ([email protected]) |
164 | ||
165 | * Fix two bugs found by deja-gnu. One is the incorrect reporting | |
166 | of the PC being in a stack dummy when looking at a core file | |
167 | without symbols. The other is the incorrect passing of char | |
168 | arguments during expression evaluation (ie: p foo('a','b') would | |
169 | mess up the passing of it's args because it wasn't coercing the | |
170 | char's to ints). | |
171 | * hppah-tdep.c: Rename global functions to have consistent hppa_ | |
172 | prefix. Make more functions static. Drop hp_ prefix from static | |
173 | functions. (hppa_push_arguments): Call value_arg_coerce to cast | |
174 | char to int args if necessary. (hppa_fix_call_dummy): Create | |
175 | this routine from FIX_CALL_DUMMY macro in tm-hppa.h. | |
176 | * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being | |
177 | valid (ie: != 0) before doing comparison against PC. | |
178 | * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY | |
179 | to reflect new arguments. | |
180 | * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_ | |
181 | prefix for func name. (FIX_CALL_DUMMY): Move code into | |
182 | hppah-tdep.c. | |
183 | ||
184 | * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls | |
185 | to malloc() so that we can test GDB eval of dynamically created | |
186 | arrays (like char strings in `print "foo"'). | |
187 | ||
7586127f PS |
188 | Fri Apr 23 01:28:14 1993 Peter Schauer ([email protected]) |
189 | ||
190 | * printcmd.c (print_address_symbolic): Search symtabs as well as the | |
191 | minimal symbols for a nearby symbol. | |
192 | ||
158a0711 JG |
193 | Thu Apr 22 19:44:21 1993 John Gilmore ([email protected]) |
194 | ||
195 | * coffread.c: Comment changes around minimal symbol recording. | |
196 | ||
3127785a RP |
197 | Thu Apr 22 16:24:36 1993 K. Richard Pixley ([email protected]) |
198 | ||
158a0711 | 199 | * command.c: comment changes only. |
f936e20d | 200 | |
3127785a RP |
201 | * mips-tdep.c (heuristic_fence_post): new static variable. |
202 | (heuristic_proc_start): use heuristic_fence_post, print better | |
203 | warnings, but only if not stop_soon_quietly. | |
204 | (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post. | |
205 | ||
5afa2040 JK |
206 | Thu Apr 22 14:50:05 1993 Jim Kingdon ([email protected]) |
207 | ||
208 | * symtab.h: Fix LOC_REF_ARG comment. | |
209 | ||
210 | Wed Apr 22 20:21:30 1993 Peter Schauer ([email protected]) | |
211 | and Jim Kingdon ([email protected]) | |
212 | ||
213 | * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a | |
214 | LOC_REGPARM symbol. | |
215 | * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments. | |
216 | symfile.c (compare_symbols): Don't check first character; STRCMP | |
217 | does that. | |
218 | ||
219 | * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for | |
220 | structures that are passed by address in a register. | |
221 | * symtab.h (enum address_class): Add LOC_REGPARM_ADDR. | |
222 | * findvar.c (read_var_value), | |
223 | printcmd.c (address_info, print_frame_args), | |
224 | stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol), | |
225 | * symtab.c (lookup_block_symbol): Deal with it. | |
226 | ||
fce30fa1 JK |
227 | Thu Apr 22 09:07:24 1993 Jim Kingdon ([email protected]) |
228 | ||
4365c36c JK |
229 | * objfiles.h (obj_section), objfiles.c (build_objfile_section_table): |
230 | Add objfile field. | |
231 | * objfiles.c (find_pc_section): Return a struct obj_section *. | |
232 | * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return. | |
233 | * symfile.c (syms_from_objfile) [IBM6000_TARGET]: | |
234 | Don't use obj_section hack. | |
235 | * xcoffexec (vmap_symtab): Relocate obj_sections. | |
236 | * printcmd.c (containing_function_bounds): Use find_pc_section. | |
237 | ||
fce30fa1 JK |
238 | * symtab.h: Clean up SYMBOL_VALUE comments. |
239 | ||
f2c365f5 JK |
240 | Wed Apr 21 14:29:57 1993 Jim Kingdon ([email protected]) |
241 | ||
31258e4f JK |
242 | * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args): |
243 | Expand comments about LOC_ARG/LOC_LOCAL pairs. | |
244 | ||
f2c365f5 JK |
245 | * coffread.c (read_coff_symtab): Use rewind before fseek. |
246 | ||
32d8a6d3 PB |
247 | Wed Apr 21 14:24:19 1993 Per Bothner ([email protected]) |
248 | ||
249 | * ch-exp.y: Removed unused structure_primitive_value and FIXME_23. | |
250 | * Makefile.in: Add $(YFLAGS) when using $(YACC). | |
251 | * Makefile.in: Remove message to expect conflicts and unused | |
252 | rules in ch-exp.y, since there no longer are any such. | |
253 | ||
1b5c6c05 DZ |
254 | Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
255 | ||
256 | * stabs.texinfo: fixed bad xrefs (un-initialized statics) | |
257 | ||
cee86be3 JK |
258 | Tue Apr 20 08:55:11 1993 Jim Kingdon ([email protected]) |
259 | ||
4cdcf3b9 JK |
260 | * xcoffexec.c (xcoff_relocate_core): If no exec file, error() |
261 | rather than dumping core. | |
262 | ||
24c2857c | 263 | * Makefile.in: Add ${srcdir}/ to all source files. |
4cdcf3b9 | 264 | (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak. |
24c2857c JK |
265 | (TAGS): Deal with srcdir and new config directory scheme. |
266 | createtags: Remove. | |
267 | Makefile.in (NONSRC): Remove createtags. | |
268 | alldeps.mak: Updated. | |
269 | ||
cee86be3 JK |
270 | * rs6000-tdep.c: Delete unused function print_frame. |
271 | ||
272 | * frame.h (struct frame_info): Doc fix for next_frame. | |
273 | New field signal_handler_caller. | |
274 | blockframe.c (create_new_frame, get_prev_frame_info), | |
275 | config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs | |
276 | INIT_FRAME_PC_FIRST). | |
277 | stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain): | |
278 | Check it. | |
279 | ||
9583b295 SG |
280 | Mon Apr 19 22:52:33 1993 Stu Grossman ([email protected]) |
281 | ||
282 | * irix4-nat.c (fetch_core_registers): Special version of this for | |
283 | Irix 4.x, which stores regs a bit differently from other /proc | |
284 | based systems. | |
285 | * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c | |
286 | to new file core-svr4.c. | |
287 | * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh, | |
288 | config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o | |
289 | to NATDEPFILES. | |
290 | * config/mips/irix4.mh: Add corelow.o to NATDEPFILES. | |
291 | ||
3f06498a JK |
292 | Mon Apr 19 11:13:34 1993 Jim Kingdon ([email protected]) |
293 | ||
294 | * i387-tdep.c: Remove unused #includes. | |
295 | ||
296 | * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32. | |
297 | ||
298 | * config/i386/nm-i386v.h: Define NO_PTRACE_H. | |
299 | ||
058eb766 JK |
300 | Sun Apr 18 10:39:35 1993 Jim Kingdon ([email protected]) |
301 | ||
302 | * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back. | |
303 | ||
304 | * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'. | |
305 | xcoffread.c (process_xcoff_symbol, case C_RPSYM): | |
306 | Don't muck with SYMBOL_CLASS. | |
307 | ||
04c6a64f SG |
308 | Fri Apr 16 17:38:33 1993 Stu Grossman ([email protected]) |
309 | ||
310 | * munch: Don't use head command. It doesn't exist everywhere. | |
311 | ||
9c225659 FF |
312 | Fri Apr 16 15:07:57 1993 Fred Fish ([email protected]) |
313 | ||
314 | * inflow.c (new_tty): Remove spurious 'o' character at end | |
315 | of #endif line. | |
316 | ||
e157305c PS |
317 | Fri Apr 16 12:27:11 1993 Peter Schauer ([email protected]) |
318 | ||
319 | * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue | |
320 | instructions and nothing more. | |
321 | * mipsread.c (add_line): Add comment why we have to combine line number | |
322 | entries for the same line number. | |
323 | ||
0b28c260 JK |
324 | Fri Apr 16 09:42:03 1993 Jim Kingdon ([email protected]) |
325 | ||
326 | * symtab.{c,h}: Doc fixes (remove symseg references, last relevant | |
327 | in gdb 2.8!). | |
328 | ||
dd052d9a FF |
329 | Thu Apr 15 21:16:58 1993 Fred Fish ([email protected]) |
330 | ||
331 | * depend, alldeps.mak: Update, now that gcc -MM bug is fixed. | |
332 | ||
9fa59efd JK |
333 | Thu Apr 15 12:38:39 1993 Jim Kingdon ([email protected]) |
334 | ||
335 | * source.c (select_source_symtab): Clean up comment. Also, if | |
336 | we have a current_source_symtab, and s is NULL, return without | |
337 | doing anything. | |
338 | xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab. | |
339 | breakpoint.c (breakpoint_re_set): Don't call select_source_symtab. | |
340 | ||
65ce5df4 JG |
341 | Thu Apr 15 02:37:48 1993 John Gilmore ([email protected]) |
342 | ||
343 | * dbxread.c (unknown_symchar_complaint): Add new complaint. | |
6f49b01e | 344 | * stabsread.h: Declare it. |
65ce5df4 JG |
345 | * partial-stab.h: Use it. |
346 | ||
347 | * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC. | |
348 | ||
486b440e JK |
349 | Wed Apr 14 17:12:51 1993 Jim Kingdon ([email protected]) |
350 | ||
df2a1bd7 JK |
351 | * stack.c (print_frame_info): Print specially if dummy frame. |
352 | ||
fa99ebe1 JK |
353 | * breakpoint.c: Add comments regarding within_scope future direction. |
354 | ||
ee7e82fe JK |
355 | * Version 4.8.3. |
356 | ||
486b440e JK |
357 | * xcoffread.c (record_include_{begin,end}): Change fatal to complain. |
358 | ||
359 | Wed Apr 14 14:03:18 1993 Per Bothner ([email protected]) | |
360 | ||
361 | * ch-exp.y: Fix thinko that broke parsing of FALSE. | |
362 | ||
39cb3d04 PS |
363 | Wed Apr 14 12:49:29 1993 Peter Schauer ([email protected]) |
364 | ||
365 | * stabsread.c (read_member_functions): Initialize domain for stubbed | |
366 | member functions to avoid gdb core dumps when printing pointers | |
367 | to member functions. | |
368 | * cp-valprint.c (cp_print_class_method): Check for stubbed member | |
369 | functions. | |
370 | ||
ccd87bf2 JK |
371 | Tue Apr 13 08:28:26 1993 Jim Kingdon ([email protected]) |
372 | ||
e2ff731b JK |
373 | * expprint.c (print_subexp): If opcode not found in op_print_tab, |
374 | stop with an error(). | |
375 | eval.c (evaluate_subexp): Change error message. | |
376 | ||
ccd87bf2 JK |
377 | * objfiles.c (build_objfile_section_table): Cast return value |
378 | from obstack_finish. | |
379 | ||
0a62ff36 JK |
380 | Mon Apr 12 10:53:50 1993 Jim Kingdon ([email protected]) |
381 | ||
f3649227 JK |
382 | * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN |
383 | to rs6000_frame_chain and deal with it if we're in a signal handler. | |
384 | (FRAME_SAVED_PC): Use rs6000_frame_chain. | |
385 | ||
0a819c04 JK |
386 | * breakpoint.c (within_scope): New function. |
387 | (enable_breakpoint, watchpoint_check): Use it. | |
388 | ||
affc9686 JK |
389 | * source.c (openp): Handle "exec-file ./ls" correctly. |
390 | ||
0a62ff36 JK |
391 | * breakpoint.c (breakpoint_1): Use wrap_here before "at". |
392 | ||
5a7c9cce PB |
393 | Sat Apr 10 01:32:43 1993 Per Bothner ([email protected]) |
394 | ||
395 | * ch-exp.y: Clean up lexing of identifiers and | |
396 | reserved words. (E.g. don't recognize FALSEXXX as the | |
397 | keyword FALSE followed by the identifier XXX.) | |
398 | Also, convert identifiers to lower case. | |
399 | ||
1724c671 SG |
400 | Fri Apr 9 15:53:19 1993 Stu Grossman ([email protected]) |
401 | ||
402 | * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to | |
403 | new serial interface. | |
404 | ||
4febd102 SG |
405 | Fri Apr 9 15:01:12 1993 Stu Grossman ([email protected]) |
406 | ||
407 | * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open. | |
408 | (putpkt, getpkt): Use new return codes for SERIAL_READCHAR. | |
409 | * ser-go32.c: Return -1 on most failures, 0 on most successes, | |
410 | and use new return codes for go32_readchar(). | |
411 | * ser-unix.c: Ditto. Also, move error handling up to caller for | |
412 | SERIAL_SETBAUDRATE(). | |
413 | * serial.c (serial_open): Internal call, not SERIAL_OPEN to get | |
414 | to specific routine. | |
415 | (serial_close): New routine to wrap around device close routine. | |
416 | serial.h: Clean & document return values more clearly. | |
417 | ||
a80c7bf6 JK |
418 | Fri Apr 9 10:20:55 1993 Jim Kingdon ([email protected]) |
419 | ||
944c1c2f JK |
420 | * rs6000-pinsn.c (print_operand): Deal with no operand instructions. |
421 | ||
422 | * rs6000-pinsn.c (print_operand, case LI): Print condition register | |
423 | operand in decimal rather than wrong textual versions. | |
424 | ||
21486670 JK |
425 | * printcmd.c (_initialize_printcmd): Clean up docstring for "x" |
426 | (mention 't', remove false thing about 'g' only good with 'f'). | |
427 | ||
ddc6e6f7 JK |
428 | * breakpoint.h: move "struct breakpoint" and friends to top of |
429 | file so that bpstat_find_breakpoint prototype works. | |
430 | ||
a80c7bf6 JK |
431 | * solib.c (struct so_list): Add bfd field. |
432 | (solib_map_sections): Leave bfd open and scratch_pathname allocated. | |
433 | Put the bfd in bfd field of the so_list. | |
434 | (clear_solib): Free bfd name and close_bfd on the bfd. | |
435 | ||
47f366bc PB |
436 | Fri Apr 9 00:45:41 1993 Per Bothner ([email protected]) |
437 | ||
438 | * valarith.c (value_subscript): Add COERCE_REF. | |
439 | * ch-exp.y (operand_5): We can generalize the 2nd operand | |
440 | of a string repetition ot 'literal' without ambiguity. | |
441 | ||
cabd4da6 JK |
442 | Thu Apr 8 10:15:10 1993 Jim Kingdon ([email protected]) |
443 | ||
444 | * breakpoint.h (struct bpstat): Remove momentary field. | |
445 | Remove bpstat_momentary_breakpoint. This was always kludgy | |
446 | and is no longer used. | |
447 | ||
448 | * breakpoint.h: Add enum bpstat_what. | |
449 | breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status): | |
450 | stop and print fields of bpstat now per-breakpoint, not just | |
451 | one for the whole chain. | |
452 | breakpoint.{c,h} (bpstat_what): New function. | |
453 | breakpoint.h: Remove bpstat_stop and bpstat_should_print. | |
454 | infrun.c: Replace switch (stop_bpstat->breakpoint_at->type) | |
455 | with call to bpstat_what. | |
456 | README: Remove watchpoint/breakpoint bug from known bugs. | |
457 | ||
458 | * breakpoint.h: Prototype bpstat_find_breakpoint. | |
459 | ||
dfbfbd96 FF |
460 | Thu Apr 8 16:01:21 1993 Fred Fish ([email protected]) |
461 | ||
462 | * symtab.c (find_methods, gdb_mangle_name): Note that functions | |
463 | are g++ specific. | |
464 | * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P, | |
465 | DESTRUCTOR_PREFIX_P): Note that macros are g++ specific. | |
466 | ||
467 | Thu Apr 8 12:45:32 1993 Ian Lance Taylor ([email protected]) | |
468 | ||
469 | * i960-pinsn.c (tabent): Copied struct definition from | |
470 | opcodes/i960-dis.c. | |
471 | ||
ca6a826d PS |
472 | Thu Apr 8 10:34:37 1993 Peter Schauer ([email protected]) |
473 | ||
474 | * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname | |
475 | is a C++ destructor. | |
476 | * symtab.c (gdb_mangle_name): Use it. | |
477 | * symtab.c (find_methods): Do not add destructors to choice list | |
478 | for constructors. | |
479 | * symtab.c (decode_line_1): Make breakpoints on destructors work | |
480 | for gcc-2.x again. | |
481 | ||
40b56283 SG |
482 | Wed Apr 7 18:43:09 1993 Stu Grossman ([email protected]) |
483 | ||
b83bf6b3 SG |
484 | * ser-go32.c: Make it use serial port name. |
485 | * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc. | |
486 | ||
40b56283 SG |
487 | * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not |
488 | in a system call! | |
489 | ||
41faa775 SG |
490 | Wed Apr 7 15:52:11 1993 Stu Grossman ([email protected]) |
491 | ||
492 | * configure.in: Only configure sparclite subdir when target_cpu | |
493 | is sparclite. | |
494 | ||
f635bd47 JK |
495 | Wed Apr 7 10:11:22 1993 Jim Kingdon ([email protected]) |
496 | ||
ef5b809c JK |
497 | * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char. |
498 | Remove FIXME comment regarding this. | |
499 | ||
47045b36 JK |
500 | * symfile.h: Change NULL->'\0' in comment (that wasn't a typo). |
501 | ||
f635bd47 JK |
502 | * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN. |
503 | ||
73d0fc78 RP |
504 | Tue Apr 6 22:30:58 1993 K. Richard Pixley ([email protected]) |
505 | ||
506 | Add section table to objfile struct. Use it for find_pc_section. | |
507 | * objfiles.c (add_to_objfile_sections, | |
508 | build_objfile_section_table, find_pc_section): new functions. | |
509 | (allocate_objfile): build section table. | |
510 | * objfiles.h (struct obj_section): new structure. | |
511 | (struct objfile): add section table. | |
512 | (find_pc_section): new prototype. | |
513 | * solib.[ch] (find_pc_section_from_so_list): removed. | |
514 | * sparc-tdep.c: include objfiles.h for find_pc_section. include | |
515 | symfile.h for objfiles.h. | |
516 | (in_solib_trampoline): adjusted for new find_pc_section | |
517 | prototype. Removed BAD_RICH_HACK ifdefs. | |
518 | * symfile.c (syms_from_objfile): offset objfile sections. | |
519 | (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs. | |
520 | * symfile.h (find_pc_section): prototype removed. Also fixed | |
521 | comment typo NUL -> NULL. | |
522 | * target.[ch] (find_pc_section_from_targets): removed. | |
523 | * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed. | |
524 | ||
07861607 SG |
525 | Tue Apr 6 21:41:13 1993 Stu Grossman ([email protected]) |
526 | ||
527 | * ser-go32.c: Format. (go32_open): Use proper return value. | |
528 | ||
529 | * configure.in: Undo conditional configdirs hack for sparclite. | |
530 | ||
118ec55a JW |
531 | Tue Apr 6 17:07:37 1993 Jim Wilson ([email protected]) |
532 | ||
533 | * symtab.c (list_symbols): When call break_command, pass both | |
534 | filename and function name not just function name. | |
535 | ||
536 | Tue Apr 6 15:00:09 1993 Fred Fish ([email protected]) | |
537 | ||
538 | (Changes and new files to make "none" a full fledged configuration) | |
539 | * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files. | |
540 | Currently only tm-none.h has any meaningful contents. | |
541 | * config/none/none.mh (NAT_FILE): Use nm-none.h | |
542 | * config/none/none.mh (XM_FILE): Use xm-none.h | |
543 | * config/none/none.mt (TM_FILE): Use tm-none.h | |
544 | * Makefile.in (depend): Remove comment about parse errors in | |
545 | valops.c, it now parses correctly and generates a correct depend | |
546 | line. Remove line that touches xm.h, tm.h, and nm.h; they are | |
547 | now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}. | |
548 | ||
786757a9 JK |
549 | Tue Apr 6 09:54:29 1993 Jim Kingdon ([email protected]) |
550 | ||
9925b928 JK |
551 | * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1. |
552 | ||
786757a9 JK |
553 | * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of |
554 | exactly 8 characters. | |
555 | ||
0c101d49 SG |
556 | Tue Apr 6 10:31:26 1993 Stu Grossman ([email protected]) |
557 | ||
558 | * configure.in: Sparclite uses sparc config dir. Also has it's | |
559 | own tm- & .mt files now. Also add sparclite to configdirs. | |
560 | * go32-xdep.c: Dummy routines for sigsetmask & strlwr. | |
561 | * config/i386/go32.mh: Nullify def of TERMCAP. | |
562 | * config/i386/xm-go32.h: Get rid of redef of EIO. | |
563 | * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite | |
564 | specific configs. Very similar to sun4os4, but without solib. | |
565 | * sparclite/{Makefile.in configure.in}: First cut at making this | |
566 | dir configgable. | |
567 | ||
5d2b030a SG |
568 | Tue Apr 6 03:10:44 1993 Stu Grossman ([email protected]) |
569 | ||
570 | * ser-go32.c: First cut at adapting to new serial interface. | |
571 | ||
4e772f44 SG |
572 | Mon Apr 5 22:29:43 1993 Stu Grossman ([email protected]) |
573 | ||
574 | * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co]. | |
575 | These implement a new serial line interface for talking to remote | |
576 | targets. | |
577 | * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts, | |
578 | EXCEPT go32, which gets ser-go32.c. | |
579 | * remote.c: Use new serial interface. More remote-xxx's to be | |
580 | converted later. | |
581 | * ser-bsd.c, ser-termios.c: Removed. | |
582 | * serial.c: New. Implements common operations for all serial | |
583 | types. | |
584 | * ser-unix.c: New. Unix specific serial operations for various | |
585 | flavors of Unix (Posix, SysV, BSD). | |
586 | * serial.h: Generic serial interface defs. | |
587 | * config/i386/go32.mh, config/i386/i386bsd.h, | |
588 | config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove | |
589 | ser-bsd.o from XDEPFILES. All the magic is now handled in | |
590 | configure.in. | |
591 | ||
9acdb2dc SG |
592 | Mon Apr 5 20:48:54 1993 Stu Grossman ([email protected]) |
593 | ||
594 | * config/h8500/tm-h8500.h: Clean up brain damage found by GCC. | |
595 | ||
0848ad1c JK |
596 | Fri Apr 2 08:23:14 1993 Jim Kingdon ([email protected]) |
597 | ||
1d7e34e1 JK |
598 | * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets. |
599 | ||
b0e932ad | 600 | * rs6000-tdep.c (frameless_function_invocation): Don't even think |
1d7e34e1 | 601 | about framelessness except on the innermost frame. |
b0e932ad | 602 | |
0848ad1c JK |
603 | * xcoffexec.c: Call fatal() not abort(). |
604 | ||
605 | * stabsread.c (patch_block_stabs): If stab & no symbol, make | |
606 | a LOC_OPTIMIZED_OUT symbol. | |
607 | symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT. | |
608 | findvar.c (read_var_value), printcmd.c (address_info), | |
609 | symmisc.c (print_{,partial_}symbol), c-exp.y (variable), | |
610 | m2-exp.y (yylex): Deal with it. | |
0848ad1c | 611 | ch-exp.y (yylex): Deal with it. |
0848ad1c JK |
612 | |
613 | Thu Apr 1 18:43:02 1993 Stu Grossman ([email protected]) | |
614 | ||
615 | * findvar.c (value_from_register): H8500 specific, check to see | |
616 | if we are looking at short pointer. If so, skip crock. | |
617 | * h8500-tdep.c (h8500_frame_chain): Mask down value from | |
618 | read_memory_integer() to avoid getting messed up by sign extension. | |
619 | ||
0e184833 RP |
620 | Thu Apr 1 16:44:41 1993 K. Richard Pixley ([email protected]) |
621 | ||
622 | * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section): | |
623 | ifdef protect using BAD_RICH_HACK. This should be removed soon. | |
624 | * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define. | |
625 | ||
a6cead71 JK |
626 | Thu Apr 1 09:01:38 1993 Jim Kingdon ([email protected]) |
627 | ||
720b3aed JK |
628 | * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a. |
629 | ||
630 | * core.c (dis_asm_print_address): New function. | |
631 | ||
a6cead71 JK |
632 | * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype |
633 | has been fixed. | |
634 | ||
494503c7 PS |
635 | Thu Apr 1 09:34:43 1993 Peter Schauer ([email protected]) |
636 | ||
637 | * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the | |
638 | entire breakpoint chain and print only the first entry that needs to | |
639 | be printed and needs to be stopped for. Fixes problems with printing | |
640 | of multiple breakpoints with different conditions. | |
641 | * breakpoint.c (print_it_done): Renamed from print_it_noop as it | |
642 | effectively stops printing of the breakpoint chain. | |
643 | * breakpoint.c (print_it_noop): New routine to print nothing | |
644 | for this breakpoint entry and dont stop printing. | |
645 | * breakpoint.c (breakpoint_re_set_one): mention the reevaluated | |
646 | watchpoint only if it is enabled. | |
647 | * mipsread.c (parse_procedure): Correct incorrect setjmp procedure | |
648 | descriptor from the library to make backtraces through setjmp work. | |
649 | * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for | |
650 | sigtramp. | |
651 | * mips-tdep.c (read_next_frame_reg): Provide correct values for | |
652 | all registers saved within sigtramp, cleanup. | |
653 | ||
f7ed13c7 JK |
654 | Wed Mar 31 12:52:12 1993 Jim Kingdon ([email protected]) |
655 | ||
656 | * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a. | |
657 | ||
bf097a0b RP |
658 | Wed Mar 31 21:23:41 1993 K. Richard Pixley ([email protected]) |
659 | ||
660 | * core.c (dis_asm_read_memory): drop fourth arg which conflicts | |
661 | with prototype in ../include/dis-asm.h. | |
662 | ||
5d0734a7 JK |
663 | Wed Mar 31 12:52:12 1993 Jim Kingdon ([email protected]) |
664 | ||
665 | * core.c (dis_asm_{read_memory,memory_error}): New functions. | |
666 | m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c: | |
667 | Use read_memory_func interface to disassembler. | |
668 | ||
2093fe68 RP |
669 | Tue Mar 30 15:46:14 1993 K. Richard Pixley ([email protected]) |
670 | ||
671 | Teach sparc solaris to next over shared library functions. | |
672 | * solib.[hc] (find_pc_section_from_so_list): new function and | |
673 | prototype. | |
674 | * sparc-tdep.c (in_solib_trampoline): new function. | |
675 | * symfile.[hc] (find_pc_section): new function and prototypes. | |
676 | * target.[hc] (find_pc_section_from_targets): new function and | |
677 | prototypes. | |
678 | * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to | |
679 | in_solib_trampoline. | |
680 | ||
b27be792 JK |
681 | Tue Mar 30 08:06:24 1993 Jim Kingdon ([email protected]) |
682 | ||
deae7611 JK |
683 | * infrun.c (wait_for_inferior): Revise comment. |
684 | ||
359a097f JK |
685 | * command.c (do_setshow_command): Use %u with var_{u,z}integer. |
686 | ||
687 | * command.{c,h}: New var_type var_integer. | |
688 | main.c: Use it for history_size. | |
689 | ||
690 | * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c: | |
691 | Lint and byte-order fixups. | |
692 | ||
3f031adf JK |
693 | * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint. |
694 | ||
8af68e4e JK |
695 | * breakpoint.h (bpstat): New field print_it. |
696 | breakpoint.c (bpstat_print): Use it. | |
697 | (print_it_normal): New function (from old bpstat_print code). | |
698 | (bpstat_{alloc,stop_status}): Set print_it field. | |
699 | ||
700 | * breakpoint.c (bpstat_stop_status): Use catch_errors when | |
701 | evaluating watchpoint condition, via new function watchpoint_check. | |
702 | Also stop if watchpoint disabled due to leaving its block. | |
703 | ||
b27be792 JK |
704 | * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment. |
705 | ||
aa66fddd PS |
706 | Tue Mar 30 00:14:38 1993 Peter Schauer ([email protected]) |
707 | ||
708 | * mips-pinsn.c: Add missing include of dis-asm.h. | |
709 | ||
d7d35f00 FF |
710 | Mon Mar 29 15:03:25 1993 Fred Fish ([email protected]) |
711 | ||
239121e2 FF |
712 | * Makefile.in (clean, distclean, realclean): Recursively apply |
713 | to subdirs first, rather than last. This avoids, for example, | |
714 | Makefile being removed in a parent directory before the recursive | |
715 | make is run. | |
716 | ||
141ccc03 FF |
717 | * alldeps.mak, depend: Update for below changes. |
718 | ||
2225eb85 FF |
719 | * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h. |
720 | * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h, | |
721 | tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h, | |
722 | tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h | |
723 | instead of tm-68k.h. | |
724 | * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h. | |
725 | * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c, | |
726 | m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h, | |
727 | nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'. | |
728 | * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of | |
729 | tm-68k.h to tm-m68k.h. | |
730 | * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h. | |
731 | * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to | |
732 | tm-m68k-nofp.h. | |
733 | ||
d7d35f00 FF |
734 | * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h. |
735 | * a29k-pinsn.c: Renamed from am29k-pinsn.c. | |
736 | * a29k-tdep.c: Renamed from am29k-tdep.c. | |
737 | * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h. | |
738 | * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h, | |
739 | tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi, | |
740 | testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp: | |
741 | Map '29k' to 'a29k'. | |
742 | * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt} | |
743 | (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o. | |
744 | * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed | |
745 | tm-a29k.h. | |
746 | * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K | |
747 | define that does not appear anywhere else in the gdb source tree. | |
748 | * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h. | |
749 | ||
ad376893 JK |
750 | Mon Mar 29 13:55:29 1993 Jim Kingdon ([email protected]) |
751 | ||
2225eb85 FF |
752 | * breakpoint.c: Add comments regarding breakpoint_re_set. |
753 | ||
e5c00760 JK |
754 | * xcoffread.c (sort_syms, compare_symbols): Remove. |
755 | (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c | |
756 | not our own sort_syms (it is identical). | |
757 | ||
ad376893 JK |
758 | * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used). |
759 | ||
0b0d6c3f PS |
760 | Sun Mar 28 11:24:37 1993 Peter Schauer ([email protected]) |
761 | ||
762 | * breakpoint.c (breakpoint_re_set_one): Fix storage leak. | |
763 | * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it | |
764 | went out of scope. | |
765 | * exec.c (exec_close): Fix storage leak. | |
766 | * exec.c (exec_file_command): Make sure that bfd doesn't realign the | |
767 | output sections when patching an executable. | |
768 | * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR | |
769 | when writing all registers. | |
770 | * mips-tdep.c (mips_push_dummy_frame): Save floating point registers | |
771 | at the right offset in the dummy frame. | |
772 | * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc, | |
773 | stStaticProc and stEnd symbols as they are generated by gcc-2.x. | |
774 | * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym. | |
775 | ||
0f0834c5 JG |
776 | Fri Mar 26 15:25:05 1993 John Gilmore ([email protected]) |
777 | ||
778 | * Makefile.in (TARFILES): Avoid trailing backslash. | |
779 | ||
2d313932 JK |
780 | Fri Mar 26 11:29:30 1993 Jim Kingdon ([email protected]) |
781 | ||
d7d35f00 FF |
782 | * breakpoint.{c,h}: Add exp_string to struct breakpoint and use |
783 | it in breakpoint_re_set. | |
2d313932 JK |
784 | * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values. |
785 | ||
786 | * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int, | |
787 | don't use sizeof(int) for target stuff, etc). | |
788 | ||
53f6119f | 789 | Thu Mar 25 15:03:53 1993 Fred Fish ([email protected]) |
3c02636b | 790 | |
53f6119f FF |
791 | * alldeps.mak, configure.in, i860-break.h, i860-opcode.h, |
792 | i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860 | |
793 | support that can't be integrated anyway due to lack of clear | |
794 | authorship. | |
3c02636b | 795 | |
ccf1e898 SG |
796 | Thu Mar 25 12:26:50 1993 Stu Grossman ([email protected]) |
797 | ||
798 | * findvar.c (read_register, write_register): Make these capable | |
799 | of reading/writing registers that are shorter than REGISTER_TYPE. | |
800 | * (value_from_register): Install H8500 specific code to return | |
801 | proper value when register is being used as a pointer. | |
802 | * h8500-tdep.c: Remove extra defines of NUM_REGS. | |
803 | (h8500_skip_prologue): Use correct lengths for LINK instructions. | |
804 | (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to | |
805 | chain frames properly by combining frame pointer with T reg. | |
806 | (init_extra_frame_info): Delete. It's now a macro. | |
807 | (frame_args_address): Don't add PTR_SIZE. Stack args are already | |
808 | offset by the correct amount off of the frame pointer. | |
809 | (register_byte): Delete. It's now a macro. | |
810 | (register_raw_size, register_virtual_size): Delete. Replaced by | |
811 | common routine h8500_register_size, cuz there's no difference | |
812 | between the raw & virtual sizes on this machine. | |
813 | (register_convert_to_raw, register_convert_to_virtual): Delete, | |
814 | cuz there's no difference between the raw & virtual forms. | |
815 | Replaced by memcpy in tm file. | |
816 | (register_virtual_type): Rename to h8500_register_virtual_type. | |
817 | Get rid of pointer pseudo-regs, use _REGNUM with all reg names. | |
818 | (_initialize_h8500_tdep): Get rid of crock to ensure that GDB & | |
819 | emulator have same reg offsets. This is all handled in the | |
820 | simulator code now. | |
821 | (h8500_trapped_internalvar): New routine to detect references to | |
822 | convenience vars acting as pointer pseudo-regs. | |
823 | (h8500_value_trapped_internalvar): Conjure up value of pointer | |
824 | pseudo-regs. | |
825 | (h8500_set_trapped_internalvar): Convert set value in real | |
826 | register references. | |
827 | infcmd.c (read_pc, write_pc): Add h8500 specific code to handle | |
828 | code segment register. | |
829 | infrun.c (proceed): Simplify. Call write_pc instead of doing it | |
830 | by hand. | |
831 | (wait_for_inferior): Add h8500 specific code to add stack segment | |
832 | when reading SP register. | |
833 | remote-sim.c (fetch_register): Spacing. | |
834 | tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to | |
835 | detect cruft. Redo all register manipulation stuff. Get rid of | |
836 | pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment | |
837 | to frame pointer. (IS_TRAPPED_INTERNALVAL, | |
838 | VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these | |
839 | to create internal vars for pointer pseudo-regs. | |
840 | ||
2531303c FF |
841 | Thu Mar 25 10:10:28 1993 Fred Fish ([email protected]) |
842 | ||
843 | * Makefile.in: Numerous small changes to macro definitions | |
844 | and rules for building gdb distribution tree. Many macros | |
845 | eliminated or merged, and rules simplified. | |
846 | * alldeps.mak: Update. | |
847 | * depend: Update. | |
848 | ||
b396a969 DZ |
849 | Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) |
850 | ||
851 | * Makefile.in: recurse through SUBDIRS for dvi target too | |
852 | ||
53f6119f FF |
853 | Wed Mar 24 08:48:30 1993 Jim Kingdon ([email protected]) |
854 | ||
855 | * Clean up xcoff relocation. | |
856 | objfiles.h (struct objfiles): Add section_offsets, num_sections. | |
857 | symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets): | |
858 | Set them. | |
859 | symtab.h (struct general_symbol_info): Add section field. | |
860 | minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it. | |
861 | xcoffread.c: Set section for symbols and msymbols. | |
862 | (struct symtab): Add block_line_section field. | |
863 | buildsym.c (end_symtab): Set it. | |
864 | (end_symtab and callers): Add section parameter. | |
865 | objfiles.c (objfile_relocate): New funciton. | |
866 | xcoffexec.c (vmap_symtab): Use it. | |
867 | xcoffsolib.h (struct vmap): Remove unused fields. | |
868 | config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove | |
869 | CORE_NEEDS_RELOCATION, symtab_relocated. | |
870 | config/rs6000/tm-rs6000.h: Remove use of loadinfotext. | |
871 | rs6000-tdep.c: Make loadinfotext static. | |
872 | breakpoint.c (fixup_breakpoints): Doc fix. | |
873 | symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c | |
874 | (end_symtab): primary field replaces nonreloc. | |
875 | ||
ece2e98a JG |
876 | Tue Mar 23 00:10:53 1993 John Gilmore ([email protected]) |
877 | ||
878 | * symtab.h (struct linetable_entry): Remove confusing comment. | |
879 | ||
80c8fd72 DZ |
880 | Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
881 | ||
882 | * Makefile.in: add installcheck target | |
883 | ||
1a0edbc7 FF |
884 | Mon Mar 22 16:17:58 1993 Fred Fish ([email protected]) |
885 | ||
886 | * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k, | |
887 | m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax, | |
888 | z8k}: New directories to hold cpu specific configuration files. | |
889 | Naming follows gcc convention. | |
890 | * config/{*.mt, *.mh}: All target and host makefile fragment | |
891 | config files moved to an appropriate config/<cpu> subdirectory. | |
892 | * nm-*, xm-*, tm-*: All native, host, and target files, which | |
893 | get linked to nm.h, xm.h, and tm.h respectively by configure, | |
894 | moved to appropriate config/<cpu> subdirectory. | |
895 | * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h: | |
896 | Native, host, and target files that are common across more than | |
897 | one cpu architecture and included by one of the configured | |
898 | native, host, or target files, get moved to config directory. | |
899 | * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to | |
900 | pick up native, host, or target include files moved to one of | |
901 | the config subdirectories, and that are included by other files. | |
902 | * Makefile.in (alldeps.mak): Modify to account for new config | |
903 | directory structure. | |
904 | * alldeps.mak, depend: Update for new config directory structure. | |
905 | * config/*/[ntx]m-*.h: Modify all files that include other | |
906 | [ntx]m-*.h files to use path relative to gdb/config. I.E. | |
907 | "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just | |
908 | "tm-29k.h". | |
909 | * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h. | |
910 | * mipsread.c (tm-mips.h): Include mips/tm-mips.h. | |
911 | * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h. | |
912 | * configure.in: Default gdb_host_cpu to host_cpu, and remap | |
913 | the ones where the default is not unique or different than the | |
914 | config subdirectory name. Similarly, handle gdb_target_cpu. | |
915 | Modify configure.in as appropriate to make use of gdb_host_cpu | |
916 | and gdb_target_cpu to find makefile fragments and make links. | |
917 | ||
5f5341a7 ILT |
918 | Mon Mar 22 12:36:24 1993 Ian Lance Taylor ([email protected]) |
919 | ||
920 | * mipsread.c (compare_blocks): Sort blocks with the same start | |
921 | address by decreasing ending address. | |
922 | ||
1a3579df PS |
923 | Mon Mar 22 20:36:04 1993 Peter Schauer ([email protected]) |
924 | ||
925 | * mipsread.c (parse_procedure): Save cur_fdr accross call to | |
926 | lookup_symbol as it might get clobbered by the call. | |
927 | ||
928 | * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST. | |
929 | The previous code did not initialize the language field for the psymtab | |
930 | entry. | |
931 | ||
f24c159f JG |
932 | Sat Mar 20 00:33:39 1993 John Gilmore ([email protected]) |
933 | ||
934 | * c-exp.y (parse_number): Avoid shift warning. | |
935 | * serial.h (struct ttystate): Declare empty one on DOS. | |
936 | ||
bc0d4cb9 SG |
937 | Fri Mar 19 12:59:50 1993 Stu Grossman ([email protected]) |
938 | ||
733a9015 SG |
939 | * xm-sun4os4.h: Return type of free() should be void, not int. |
940 | ||
bc0d4cb9 SG |
941 | * vx-share/vxWorks.h: Remove #def of NULL. |
942 | ||
deb3f296 JK |
943 | Fri Mar 19 11:28:18 1993 Jim Kingdon ([email protected]) |
944 | ||
945 | * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM. | |
946 | ||
52f8e6a0 SC |
947 | Fri Mar 19 07:40:09 1993 Steve Chamberlain ([email protected]) |
948 | ||
949 | * z8k-tdep.c (print_insn): Include the new dis-asm header file. | |
950 | ||
00cea52f PB |
951 | Thu Mar 18 14:26:57 1993 Per Bothner ([email protected]) |
952 | ||
953 | * ieee-float.c: Moved to ../libiberty. | |
954 | * ieee-float.h: Moved to ../include. | |
955 | * Makefile.in: Update accordingly. | |
956 | * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn): | |
957 | Convert to stubs that call disassemblers in ../opcodes/*-dis.c. | |
958 | * m68k-tdep.c: Removed definition of ext_format ext_format_68881; | |
959 | it is now in ../opcodes/m68881-ext.c. | |
960 | * mips-tdep.c (mips_skip_prologue): Try to skip more of the | |
961 | prologue (some callers _do_ care). | |
962 | * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to | |
963 | new interface of ../opcodes/*-dis.c. | |
964 | * ch-exp.y: Add #include <ctype.h>. | |
965 | ||
b60b2e3e JK |
966 | Thu Mar 18 11:57:49 1993 Jim Kingdon ([email protected]) |
967 | ||
c161de74 JK |
968 | * xcoffexec.c (exec_close): Don't close exec_bfd twice. |
969 | ||
b60b2e3e JK |
970 | * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive. |
971 | ||
ecfd2b60 JK |
972 | Wed Mar 17 09:46:31 1993 Jim Kingdon ([email protected]) |
973 | ||
974 | * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc. | |
975 | ||
2d8d693a SC |
976 | Wed Mar 17 11:28:11 1993 Steve Chamberlain ([email protected]) |
977 | ||
978 | * z8k-tdep.c (extract_return_value, write_return_value, | |
979 | store_struct_return): New functions from macros in tm-z8k.h. | |
980 | ||
898e13c8 FF |
981 | Wed Mar 17 11:23:06 1993 Fred Fish ([email protected]) |
982 | ||
983 | * valops.c (value_arg_coerce): Apply temporary patch to | |
984 | fix problem with coercion of array and function types when | |
985 | passed as arguments to C functions, pending a more complete | |
986 | review of when and how coercion should be done, depending | |
987 | upon context and language. | |
988 | ||
9d61147e JK |
989 | Wed Mar 17 09:46:31 1993 Jim Kingdon ([email protected]) |
990 | ||
3e57da38 JK |
991 | * xcoffread.c (MIN_TBTABSIZ): Change to 12. |
992 | ||
9d61147e JK |
993 | * xcoffread.c (xcoff_symfile_read): Only read stringtab and |
994 | debugsec if there are a non-zero number of symbols. | |
995 | ||
3021c40d JG |
996 | Tue Mar 16 18:08:45 1993 John Gilmore ([email protected]) |
997 | ||
998 | * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!). | |
999 | ||
8112a711 JK |
1000 | Tue Mar 16 15:18:17 1993 Jim Kingdon ([email protected]) |
1001 | ||
1002 | * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors. | |
1003 | ||
1004 | * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf, | |
1005 | not just 50 symbols. | |
1006 | (symtbl_num_syms): New variable. | |
1007 | (read_xcoff_symtab): Set it. | |
1008 | (read_symbol_nvalue): Check for bad symno. | |
1009 | (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's | |
1010 | always symtbl. | |
1011 | ||
e829d983 SG |
1012 | Tue Mar 16 10:09:05 1993 Stu Grossman ([email protected]) |
1013 | ||
1014 | * config/rs6000.mh: Get rid of -Dfd_set=int crock. | |
1015 | This is defined in defs.h if necessary. | |
1016 | * vx-share/vxWorks.h: Remove #defs of min and max. | |
1017 | * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c, | |
1018 | vx-share/xdr_rdb.c: include defs.h. | |
1019 | ||
c8ade719 JK |
1020 | Fri Mar 12 09:33:23 1993 Jim Kingdon ([email protected]) |
1021 | ||
1022 | * xcoffread.c (retrieve_tracebackinfo): Move assignment out | |
1023 | of while condition. | |
1024 | ||
1025 | * xcoffread.c (enter_line_range): complain() on bad endoffset. | |
1026 | xcoffread.c: Doc fixes. | |
1027 | ||
1028 | Tue Mar 9 09:56:12 1993 Jim Kingdon ([email protected]) | |
1029 | ||
1030 | * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core. | |
1031 | xcoffexec.c (xcoff_relocate_core): New function. | |
1032 | (text_adjustment): Removed. | |
1033 | (add_vmap): Return the vmap. | |
1034 | rs6000-tdep.c (add_text_to_loadinfo): No longer static. | |
1035 | ||
1036 | Fri Mar 5 05:22:46 1993 Jim Kingdon ([email protected]) | |
1037 | ||
1038 | * xcoffsolib.h: Add objfile member to struct vmap. | |
1039 | xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd. | |
1040 | xcoffexec.c (add_vmap): Allocate objfiles here. | |
1041 | ||
48a522d9 JG |
1042 | Sun Mar 14 02:54:15 1993 John Gilmore ([email protected]) |
1043 | ||
01deac12 JG |
1044 | Support 68000 series without floating point. |
1045 | ||
1046 | * configure.in (m68000-*-{aout,elf,coff}): New configs. | |
48a522d9 JG |
1047 | * tm-68k-nofp.h: New file, lacks 68881 support. |
1048 | * config/m68k-nofp.mt: New file. | |
1049 | ||
84a05e52 JG |
1050 | Sun Mar 14 02:30:08 1993 John Gilmore ([email protected]) |
1051 | ||
1052 | Remove a few remaining underscore/no-underscore remnants from | |
1053 | config files. | |
1054 | ||
1055 | * config/{m68k-un.mt, sparc-un.mt}: Remove. | |
1056 | * config/m68k-noun.mt: Rename to m68k-fp.mt. | |
1057 | * config/sparc-noun.mt: Rename to sparc-em.mt. | |
1058 | * tm-68k-noun.h, tm-spc-noun.h: Remove. | |
1059 | * tm-68k-un.h: Rename to tm-68k-fp.h. | |
1060 | * tm-spc-un.h: Rename to tm-spc-em.h. | |
1061 | * tm-sun4sol2.h: Cleanup. | |
1062 | * configure.in (m68k-*, sparc-* targets): Corresponding changes. | |
1063 | ||
961ee88e JG |
1064 | Sat Mar 13 14:58:22 1993 John Gilmore ([email protected]) |
1065 | ||
1066 | * symmisc.c (std_in, std_out, std_err): Move initializations | |
1067 | to runtime code, in case they aren't constant. | |
1068 | ||
a8172eea RP |
1069 | Fri Mar 12 16:23:54 1993 K. Richard Pixley ([email protected]) |
1070 | ||
aa8f3210 RP |
1071 | * symtab.c (find_pc_symtab): some object file formats, notably |
1072 | mips, have holes in the address ranges of symtabs. Change | |
1073 | this algorythm from first hit to tightest fit. | |
1074 | ||
a8172eea RP |
1075 | * mips-tdep.c (heuristic_proc_start): if we walk the pc into the |
1076 | fence post without finding the enclosing function, then print a | |
1077 | warning. | |
1078 | ||
bd5d07d9 FF |
1079 | Thu Mar 11 09:33:01 1993 Fred Fish ([email protected]) |
1080 | ||
5e81259d FF |
1081 | * utils.c (fputs_demangled, fprint_symbol): Remove. |
1082 | * utils.c (fprintf_symbol_filtered): New function which combines | |
1083 | the functionality of fputs_demangled and fprint_symbol. Uses a | |
1084 | caller provided language parameter to select the appropriate | |
1085 | demangler, and caller provided args to pass to the demangler. | |
bd5d07d9 FF |
1086 | * defs.h (enum language): Move further up in file so enum can |
1087 | be used in prototypes. | |
5e81259d FF |
1088 | * defs.h (fputs_demangled, fprint_symbol): Remove prototypes. |
1089 | * defs.h (fprintf_symbol_filtered): Add prototype. | |
1090 | * c-typeprint.c (cp_type_print_method_args): Replace calls to | |
1091 | fputs_demangled with call to fprintf_symbol_filtered. | |
1092 | * cp-valprint.c (demangle.h): Include | |
1093 | * cp-valprint.c (cp_print_value_fields): Replace calls to | |
1094 | fprint_symbol with calls to fprintf_symbol_filtered. | |
1095 | * printcmd.c (print_frame_args): Replace call to fprint_symbol | |
1096 | with call to fprintf_symbol_filtered. | |
bd5d07d9 FF |
1097 | * stack.c (print_frame_info): Remove obsolete code so we don't |
1098 | have to update fputs_demangled usage in it. | |
1099 | * stack.c (print_frame_info, frame_info): Add language variable | |
5e81259d FF |
1100 | to pass to fprintf_symbol_demangled and initialize it from the |
1101 | symbol's language. Replace calls to fputs_demangled with calls | |
1102 | to fprintf_symbol_filtered. | |
1103 | * symtab.c (find_methods): Replace call to fputs_demangled with | |
1104 | call to fprintf_symbol_filtered. | |
5e81259d FF |
1105 | * ch-valprint.c (demangle.h): Include. |
1106 | * ch-valprint.c (chill_print_value_fields): Replace call to | |
1107 | fprint_symbol with call to new fprintf_symbol_filtered. | |
bd5d07d9 | 1108 | |
f77ad505 FF |
1109 | Wed Mar 10 17:37:11 1993 Fred Fish ([email protected]) |
1110 | ||
0b96ed06 FF |
1111 | * Makefile.in (VERSION): Bump version to 4.8.2. |
1112 | ||
f77ad505 FF |
1113 | * main.c (source_command): Require an explicit pathname of file |
1114 | to source, since previous behavior of defaulting to gdb init file | |
1115 | was troublesome and undocumented. | |
1116 | * printcmd.c (disassemble_command): Add missing '{}' pair to | |
1117 | else with two statements. Bug reported by Stephane Tsacas | |
1118 | <[email protected]>. | |
1119 | * symtab.c (find_pc_line): Don't complain about zero length or | |
1120 | negative length line numbers for the moment, since we may not own | |
1121 | the terminal when called, such as when single stepping. (FIXME) | |
1122 | * language.h (CAST_IS_CONVERSION): True if current language is | |
1123 | C++ as well as C. Fix from Peter Schauer. | |
1124 | * environ.c (get_in_environ, set_in_environ, unset_in_environ): | |
1125 | Use STREQN macro rather than bare '!strncmp()'. | |
1126 | * environ.c (unset_in_environ): Avoid use of memcpy on | |
1127 | overlapping memory regions, as suggested by Paul Eggert | |
1128 | <[email protected]>. | |
1129 | * c-exp.y (%union struct): Remove unused ulval as suggested | |
1130 | by Paul Eggert <[email protected]>. | |
1131 | ||
1132 | Mon Mar 8 19:03:06 1993 Fred Fish ([email protected]) | |
1133 | ||
1134 | * main.c (gdbinit): Make static. | |
1135 | * main.c (inhibit_gdbinit): Move to file scope. | |
1136 | * main.c (main): Remove local inhibit_gdbinit. | |
1137 | * main.c (source_command): Don't source '.gdbinit' file by | |
1138 | default if gdb has been told to ignore it. | |
1139 | ||
aecc5459 ILT |
1140 | Sun Mar 7 21:58:53 1993 Ian Lance Taylor ([email protected]) |
1141 | ||
1142 | * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make | |
1143 | 3.63. | |
1144 | ||
19327ea5 JG |
1145 | Fri Mar 5 17:39:45 1993 John Gilmore ([email protected]) |
1146 | ||
aecc5459 ILT |
1147 | * printcmd.c (print_address_symbolic): Only print if offset |
1148 | is shorter than max_symbolic_offset. | |
1149 | (initialize_printcmd): `set print max-symbolic-offset'. | |
1150 | ||
946f014b JG |
1151 | * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define. |
1152 | (examine_tag): Use it. | |
1153 | (read_register_stack): Only look in the local registers for a | |
1154 | memory address if it's between rfb and rsp; go to memory otherwise. | |
1155 | (initialize_29k): Fix call_scratch_address doc. Remove reginv_com. | |
19327ea5 JG |
1156 | (reginv_com): Remove ancient kludge command. |
1157 | ||
81029114 RP |
1158 | Fri Mar 5 17:16:26 1993 K. Richard Pixley ([email protected]) |
1159 | ||
24365af9 RP |
1160 | * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that |
1161 | irix4 will again compile. | |
1162 | ||
5870d848 RP |
1163 | * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed. |
1164 | ||
81029114 RP |
1165 | * configure.in: accept mips-sgi-irix4* for irix4. |
1166 | ||
1167 | Fri Mar 5 07:49:48 1993 Steve Chamberlain ([email protected]) | |
1168 | ||
1169 | * z8k-tdep.c (print_register_hook): Lint. | |
1170 | ||
4966c17c JG |
1171 | Thu Mar 4 17:42:03 1993 John Gilmore ([email protected]) |
1172 | ||
1173 | Lint fixes from Paul Eggert ([email protected]): | |
1174 | ||
1175 | * command.c (do_setshow_command): var_uintegers are unsigned. | |
1176 | * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes): | |
1177 | unsigned, since they use hex values with the high bit set. | |
1178 | ||
83386662 FF |
1179 | Thu Mar 4 08:22:55 1993 Fred Fish ([email protected]) |
1180 | ||
2456bacb FF |
1181 | Fixes submitted by Karl Berry ([email protected]): |
1182 | * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to | |
1183 | access symbol name. | |
e5bb7e61 | 1184 | * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose |
2456bacb | 1185 | macro definitions in parenthesis. |
e5bb7e61 | 1186 | |
83386662 FF |
1187 | * dbxread.c (dbx_symfile_init): Catch the case where there is |
1188 | no string table, but the only way we find out is by reading zero | |
1189 | bytes from EOF. | |
1190 | ||
69a272c4 FF |
1191 | Wed Mar 3 15:51:28 1993 Fred Fish ([email protected]) |
1192 | ||
1193 | * dbxread.c (dbx_symfile_init): Make size of the string table | |
1194 | size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the | |
1195 | offset to the string table is nonzero and handle the nonexistant | |
1196 | string table case, should it occur. Ensure that the string table | |
1197 | size read from the file is reasonable, with a minimum lower bound | |
1198 | of DBX_STRINGTAB_SIZE_SIZE instead of zero. | |
1199 | ||
b010e283 ILT |
1200 | Wed Mar 3 07:23:03 1993 Ian Lance Taylor ([email protected]) |
1201 | ||
1202 | * Makefile.in: Changes to build testsuite correctly. | |
1203 | (FLAGS_TO_PASS): Added CXX and CXXFLAGS. | |
1204 | (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables. | |
1205 | (TARGET_FLAGS_TO_PASS): New variable. | |
1206 | (SUBDIRS): Added testsuite. | |
1207 | (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that | |
1208 | testsuite is compiled with CC_FOR_TARGET rather than CC. | |
1209 | ||
45364c8a FF |
1210 | Tue Mar 2 17:57:56 1993 Fred Fish ([email protected]) |
1211 | ||
6985bc54 FF |
1212 | * dbxread.c (dbx_symfile_init): Fix for nonexistant string table, |
1213 | reported by [email protected]. | |
1214 | ||
1215 | (Ultrix 2.2 support from Michael Rendell <[email protected]>) | |
1216 | * configure.in (vax-*-ultrix2*): New triplet. | |
1217 | * config/vaxult2.mh: New file. | |
1218 | * xm-vaxult2.h: New file. | |
1219 | ||
45364c8a FF |
1220 | * c-exp.y (parse_number): Change high_bit to unsigned. |
1221 | * demangle.c: Change all references to cfront to ARM, since the | |
1222 | actual algorithm is the one specified in the Annotated Reference | |
1223 | Manual. This was confusing users into thinking that full cfront | |
1224 | support was implemented. | |
1225 | * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. | |
1226 | * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type | |
1227 | directly to lookup_struct_elt_type, which will do the | |
1228 | dereferencing itself. | |
1229 | * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix | |
1230 | NULL dereferencing bug for unnamed structs, comment out | |
1231 | questionable code. | |
1232 | ||
fefe2ed9 JG |
1233 | Mon Mar 1 17:54:41 1993 John Gilmore ([email protected]) |
1234 | ||
1d9449ab JG |
1235 | * coffread.c (process_coff_symbol): Change PCC argument correction |
1236 | so that it only happens on big-endian targets; so that it only | |
1237 | happens if the short or char argument is aligned on an int | |
1238 | boundary; and so that it changes the location, rather than the | |
1239 | type, of the argument. These changes tend to parallel similar | |
1240 | (old) changes in stabsread.c. | |
1241 | ||
1242 | * coffread.c (coff_read_enum_type): Use the specified size for | |
1243 | enums, don't assume that they are int-sized. | |
1244 | ||
1245 | * c-valprint.c (c_val_print): Don't assume enums are the same as | |
1246 | ints. | |
1247 | ||
fefe2ed9 JG |
1248 | * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael |
1249 | Rendell, <[email protected]>. | |
1250 | ||
58a66e24 FF |
1251 | Mon Mar 1 09:25:57 1993 Fred Fish ([email protected]) |
1252 | ||
1253 | * language.h (local_decimal_format_custom): Add prototype. | |
1254 | * language.c (local_decimal_format_custom): Add function, bug | |
1255 | reported by Robert R. Henry ([email protected]). | |
1256 | ||
9116f7c7 JG |
1257 | Fri Feb 26 18:33:18 1993 John Gilmore ([email protected]) |
1258 | ||
1259 | * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported | |
1260 | by Josef Leherbauer, [email protected]. | |
1261 | ||
1262 | Wed Feb 24 19:17:11 1993 John Gilmore ([email protected]) | |
1263 | ||
1264 | * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h, | |
1265 | tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h, | |
1266 | tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h, | |
1267 | tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h, | |
1268 | tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h, | |
1269 | tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h, | |
1270 | tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h, | |
1271 | tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE. | |
1272 | ||
8fbdca53 FF |
1273 | Wed Feb 24 07:41:15 1993 Fred Fish ([email protected]) |
1274 | ||
f31e2e7a FF |
1275 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents |
1276 | of demangled name fields to NULL if no demangling exists for | |
1277 | a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new | |
1278 | symbols if their language is known at the time they are created, | |
1279 | but sometimes the language is not known until later. | |
1280 | ||
8fbdca53 FF |
1281 | * ch-typeprint.c (chill_print_type_base): Name changed to |
1282 | chill_type_print_base to match pattern for C and C++ names. | |
1283 | * ch-typeprint.c (chill_print_type): Change "char" to "CHAR" | |
1284 | to be consistent with other usages. | |
1285 | * ch-typeprint.c (chill_type_print_base): Add support for | |
1286 | printing Chill STRUCT types. | |
1287 | * ch-valprint.c: Include values.h. | |
1288 | * ch-valprint.c (chill_print_value_fields): New function and | |
1289 | prototype for printing Chill STRUCT values. | |
1290 | * ch-valprint.c (chill_val_print): Fix call to val_print_string | |
1291 | that was being called with two args instead of three. | |
1292 | * ch-valprint.c (chill_val_print): Call chill_print_value_fields | |
1293 | to print Chill STRUCT values. | |
8fbdca53 | 1294 | |
b12529c1 MW |
1295 | Tue Feb 23 18:58:11 1993 Mike Werner ([email protected]) |
1296 | ||
1297 | * configure.in: added testsuite to configdirs. | |
1298 | ||
c2dc518b MS |
1299 | Tue Feb 23 11:46:11 1993 Mike Stump ([email protected]) |
1300 | ||
1301 | * doc/stabs.texi: The `this' pointer is now known by the name | |
1302 | `this' instead of `$t'. | |
1303 | ||
b6236d6e FF |
1304 | Tue Feb 23 11:21:33 1993 Fred Fish ([email protected]) |
1305 | ||
bb6e8fe6 FF |
1306 | * dwarfread.c (read_tag_string_type): Rewrite to allow forward |
1307 | references of TAG_string_type DIEs in user defined types. | |
b6236d6e FF |
1308 | * ch-lang.c (chill_create_fundamental_type): Track compiler |
1309 | change that now emits debugging info with the type long for Chill | |
1310 | longs. | |
b6236d6e | 1311 | |
c2a0f1cb ILT |
1312 | Mon Feb 22 15:21:54 1993 Ian Lance Taylor ([email protected]) |
1313 | ||
1314 | * remote-mips.c: New file; implements MIPS remote debugging | |
1315 | protocol. | |
1316 | * config/idt.mt: New file; uses remote-mips.c | |
1317 | * configure.in (mips-idt-ecoff): New target; uses idt.mt. | |
1318 | ||
1319 | * mips-tdep.c (mips_fpu): New variable; controls use of MIPS | |
1320 | floating point coprocessor. | |
1321 | (mips_push_dummy_frame): If not mips_fpu, don't save floating | |
1322 | point registers. | |
1323 | (mips_pop_frame): If not mips_fpu, don't restore floating point | |
1324 | registers. | |
1325 | (_initialize_mips_tdep): New function; let the user reset mips_fpu | |
1326 | variable. | |
1327 | * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not | |
1328 | mips_fpu, don't use fp0 as floating point return register. | |
1329 | (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point | |
1330 | registers. | |
1331 | ||
bf3d2b75 MW |
1332 | Mon Feb 22 07:54:03 1993 Mike Werner ([email protected]) |
1333 | ||
1334 | * gdb/testsuite: made modifications to testcases, etc., to allow | |
1335 | them to work properly given the reorganization of deja-gnu and the | |
1336 | relocation of the testcases from deja-gnu to a "tool" subdirectory. | |
1337 | ||
19fa4a0a MW |
1338 | Sun Feb 21 10:55:55 1993 Mike Werner ([email protected]) |
1339 | ||
1340 | * gdb/testsuite: Initial creation of gdb/testsuite. | |
1341 | Migrated dejagnu testcases and support files for testing nm to | |
1342 | gdb/testsuite from deja-gnu. These files were moved "as is" | |
1343 | with no modifications. This migration is part of a major overhaul | |
1344 | of dejagnu. The modifications to these testcases, etc., which | |
1345 | will allow them to work with the new version of dejagnu will be | |
1346 | made in a future update. | |
1347 | ||
cb46c402 JG |
1348 | Fri Feb 19 18:36:55 1993 John Gilmore ([email protected]) |
1349 | ||
1350 | * NEWS: Add reminders for next release. | |
1351 | ||
254dec35 ILT |
1352 | Fri Feb 19 10:01:39 1993 Ian Lance Taylor ([email protected]) |
1353 | ||
1354 | * mipsread.c (parse_lines): Correct check for files compiled with | |
1355 | -g1. | |
1356 | ||
dba02c60 JG |
1357 | Fri Feb 19 05:56:15 1993 John Gilmore ([email protected]) |
1358 | ||
1359 | * Makefile.in (VERSION): 4.8.1 to distinguish local versions. | |
1360 | ||
c7cb1025 | 1361 | Fri Feb 19 01:32:58 1993 John Gilmore ([email protected]) |
ead97959 JG |
1362 | |
1363 | * Makefile.in (VERSION): GDB-4.8 release! | |
dba02c60 | 1364 | * README, NEWS: Update for release. |
ead97959 | 1365 | |
b9163d1a SG |
1366 | Thu Feb 18 22:44:40 1993 Stu Grossman ([email protected]) |
1367 | ||
1368 | * am29k-pinsn.c (print_insn): Minor nits with const. | |
1369 | * am29k-tdep.c: More minor nits with arg types for | |
1370 | supply_register, NULL vs. 0, read_register_gen, & reginv_com. | |
1371 | ||
5e3d0ab0 JG |
1372 | Thu Feb 18 22:38:03 1993 John Gilmore ([email protected]) |
1373 | ||
1374 | * gcc.patch: Update for a different GCC (G++) bug. | |
1375 | * main.c (print_gdb_version): Update copyright year to 1993. | |
1376 | * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4, | |
1377 | conditionalize this file on it. FIXME, right way is to split | |
1378 | these into two config files. | |
1379 | (ATTACH_DETACH): Define for BSD 4.4 | |
1380 | (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3. | |
1381 | (U_REGS_OFFSET): Revise for 4.4. | |
1382 | (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet. | |
1383 | * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN, | |
1384 | LONG_MAX into this file to avoid cpp "redefinition" warnings. | |
1385 | ||
add04f8b RP |
1386 | Thu Feb 18 16:13:28 1993 K. Richard Pixley ([email protected]) |
1387 | ||
1388 | * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not | |
1389 | caddr_t. | |
1390 | ||
c5c00171 JG |
1391 | Thu Feb 18 04:10:06 1993 John Gilmore ([email protected]) |
1392 | ||
961ccde6 JG |
1393 | * c-lang.c (c_printstr): Bugfix for length==0 case. |
1394 | ||
c5c00171 JG |
1395 | * c-lang.c (c_printstr): If a C string ends in a null, don't |
1396 | print the null. | |
1397 | ||
eece984d SG |
1398 | Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com) |
1399 | ||
1400 | * defs.h (STRCMP): Make it work for unsigned chars. | |
1401 | ||
ec4bf6a0 JG |
1402 | Thu Feb 18 01:56:06 1993 John Gilmore ([email protected]) |
1403 | ||
1404 | * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define. | |
1405 | * config/hp300bsd.mh (REGEX, REGEX1): Define. | |
1406 | * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__, | |
1407 | define to kludge the large opcode table into two smaller tables, | |
1408 | since GCC take exponential space to build the table. Lint. | |
1409 | (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead. | |
1410 | ||
0ae975ea JG |
1411 | Wed Feb 17 19:24:40 1993 John Gilmore ([email protected]) |
1412 | ||
be220da1 JG |
1413 | * Makefile.in (VERSION): Roll to 4.7.9. |
1414 | * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible | |
1415 | definition here, to handle both BSD 4.3 and 4.4 systems. | |
5824e607 JG |
1416 | * mipsread.c (ZMAGIC): #undef to avoid duplicate define. |
1417 | * remote.c (alarm): Move declaration to global level, before | |
1418 | first reference to it. | |
1419 | * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve. | |
0ae975ea JG |
1420 | * dbxread.c (process_one_symbol): Cast to unsigned char, not int. |
1421 | ||
8631194d RP |
1422 | Wed Feb 17 13:40:29 1993 K. Richard Pixley ([email protected]) |
1423 | ||
fce7f2d9 RP |
1424 | * remote.c (readchar): forward declare alarm which otherwise looks |
1425 | like an undeclared variable to gcc. | |
1426 | ||
040b9597 RP |
1427 | * dbxread.c (process_one_symbol): cast enum value N_SO into int |
1428 | when comparing against an int. Avoids superfluous warning from | |
1429 | vax ultrix 4.2 cc. | |
1430 | ||
9549404e RP |
1431 | * inflow.c (set_sigint_trap): add cast to assignment from signal. |
1432 | Avoids superfluous warnings from some systems and/or compilers | |
1433 | (like vax ultrix 4.2.) | |
1434 | ||
8631194d RP |
1435 | * language.c (struct op_print unk_op_print_tab): use the enum |
1436 | values rather naked zeros as initializers. Avoids warnings from | |
1437 | ultrix type compilers. | |
1438 | ||
f4ed8840 JG |
1439 | Tue Feb 16 00:53:20 1993 John Gilmore ([email protected]) |
1440 | ||
1441 | * Makefile.in (VERSION): Roll to 4.7.6. | |
1442 | (SFILES_SUBDIR): Add 29k-share/udi_soc. | |
1443 | (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro. | |
62e859f0 JG |
1444 | (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs. |
1445 | (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files. | |
f4ed8840 JG |
1446 | (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h. |
1447 | (depend): Fix bug where nm-files in config files weren't noticed. | |
1448 | (make-proto-gdb-1): Avoid changing directories while building new | |
1449 | prototype. Build SFILES_SUBSUBDIR with longer symlinks. | |
1450 | ||
7c622b41 JG |
1451 | Mon Feb 15 20:48:09 1993 John Gilmore ([email protected]) |
1452 | ||
1453 | * remote.c: Improve error recovery. Allow user to break out | |
1454 | of initial connection attempt with INTERRUPT. Treat a timeout | |
1455 | while waiting for remote packet like a retry, unless the remote | |
1456 | side is actively running user code. Fix a few long printf_filtered's. | |
1457 | ||
1458 | * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for | |
1459 | trampoline symbols. | |
1460 | ||
1461 | * buildsym.c (start_subfile): Allow null file name. | |
1462 | ||
e9916390 RP |
1463 | Fri Feb 12 15:46:49 1993 K. Richard Pixley ([email protected]) |
1464 | ||
1465 | * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain | |
1466 | expects a pointer to complaint rather than a complaint | |
1467 | structure. | |
6d4ea3a5 RP |
1468 | (process_linenos): free the previously allocated subfile name, |
1469 | then allocate the new one from the heap. | |
e9916390 | 1470 | |
256b4f37 SC |
1471 | Fri Feb 12 08:06:05 1993 Steve Chamberlain ([email protected]) |
1472 | ||
1473 | * h8300-tdep.c, tm-h8300.h: turn off some experimental features | |
1474 | ||
e5eeaaf8 JG |
1475 | Thu Feb 11 00:59:07 1993 John Gilmore ([email protected]) |
1476 | ||
256b4f37 SC |
1477 | * stabsread.c (dbx_lookup_type): Handle negative type numbers. |
1478 | Previously, would bogusly index off the bottom of type_vector. | |
1479 | (rs6000_builtin_type): Accept type number as argument. | |
1480 | (read_type, case '-'): Handle negatives like any other type number. | |
1481 | ||
1482 | * symfile.c (deduce_language_from_filename): Handle null name. | |
1483 | ||
015605c5 JG |
1484 | * mips-tdep.c (isa_NAN): Fix byte order dependency. |
1485 | Reported by Nobuyuki Hikichi <[email protected]>, | |
1486 | fixed by [email protected]. | |
1487 | ||
e5eeaaf8 JG |
1488 | * xcoffread.c (parmsym): Don't use an initializer to set up |
1489 | this struct symbol. Set it up in initialize_xcoffread. | |
1490 | (read_xcoff_symtab, xcoff_symfile_read): Surround code that only | |
1491 | works on real rs/6000 target with #ifndef FAKING_RS6000. | |
1492 | ||
dd469789 JG |
1493 | Wed Feb 10 23:42:37 1993 John Gilmore ([email protected]) |
1494 | ||
1495 | * stabsread.c (rs6000_builtin_type): Move function from | |
1496 | xcoffread.c:builtin_type. | |
1497 | * xcoffread.c (builtin_type): Move to stabsread. Remove | |
1498 | IBM6000_HOST dependency. Move misplaced comments. | |
1499 | (various): Change printf's to complaints. | |
1500 | (patch_block_stabs, process_xcoff_symbol case C_DECL): Add | |
1501 | objfile argument to read_type calls under #if 0. | |
1502 | (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef. | |
1503 | * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file. | |
1504 | * Makefile.in: xcoffread.o is not built by default. | |
364c1151 | 1505 | * xm-rs6000.h (IBM6000_HOST): Remove. |
dd469789 JG |
1506 | * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only. |
1507 | * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document | |
1508 | IBM6000_TARGET. | |
1509 | ||
733a94e8 SG |
1510 | Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com) |
1511 | ||
1512 | * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set | |
1513 | VALUE_LVAL to be lval_memory so that we don't try to modify wild | |
1514 | register numbers when user tries to modify elements in structs | |
1515 | passed as arguments. | |
1516 | * inflow.c (child_terminal_info): Move banner outside of system | |
1517 | specific #ifdefs. | |
1518 | * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which | |
1519 | passes struct/union arguments by address. | |
1520 | ||
1521 | Wed Feb 10 15:34:46 1993 Ian Lance Taylor ([email protected]) | |
1522 | ||
14b1f0d9 | 1523 | * Based on patch from Kean Johnston <[email protected]>: |
733a94e8 SG |
1524 | * nm-i386sco4.h: New file. Like nm-i386sco.h, but define |
1525 | ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH. | |
1526 | * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h. | |
1527 | ||
79533adf JG |
1528 | Tue Feb 9 20:07:18 1993 John Gilmore ([email protected]) |
1529 | ||
1530 | * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and | |
1531 | fixed by Lynn D. Shumaker, [email protected]. | |
1532 | ||
2368ffb6 ILT |
1533 | Tue Feb 9 08:18:07 1993 Ian Lance Taylor ([email protected]) |
1534 | ||
1535 | * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in | |
1536 | cc debugging output. | |
1537 | ||
2a021f21 JG |
1538 | Tue Feb 9 00:19:28 1993 John Gilmore ([email protected]) |
1539 | ||
1540 | * stabsread.c (define_symbol): Complain about unrecognized names | |
1541 | that begin with CPLUS_MARKER (often '$'), but don't die. Fix | |
1542 | suggested by [email protected] (Gerald Baumgartner). | |
1543 | (read_cpp_abbrev): Don't use the class name as part of the | |
1544 | vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized | |
1545 | abbrevs. Inspired by Mike Tiemann. | |
1546 | (read_tilde_fields): Comment. Remove ancient dead code. | |
1547 | Remove erroneous but non-dead code. Simplify. Add complaints. | |
1548 | (in general): Remove extraneous (parentheses) in return | |
1549 | statements. | |
1550 | ||
c653bc6d JG |
1551 | Fri Feb 5 14:01:22 1993 John Gilmore ([email protected]) |
1552 | ||
931bf12a JG |
1553 | * coffread.c (coff_lookup_type): Fix fencepost error reported |
1554 | by Art Berggreen, <[email protected]>. | |
1555 | ||
c653bc6d | 1556 | Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde |
931bf12a | 1557 | <[email protected]> and Dag H. Wanvik <[email protected]>: |
c653bc6d JG |
1558 | |
1559 | * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES | |
1560 | test, which is apparently left over from when we used native | |
1561 | include files and couldn't depend on the member names being there. | |
1562 | * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it. | |
1563 | ||
1564 | Thu Feb 4 12:23:15 1993 Ian Lance Taylor ([email protected]) | |
1565 | ||
1566 | * mipsread.c: Major overhaul to use new BFD symbol table reading | |
1567 | routines. Now swaps information as it is needed, rather than | |
1568 | swapping everything when the file is read. | |
1569 | ||
b076f024 JG |
1570 | Thu Feb 4 01:52:36 1993 John Gilmore ([email protected]) |
1571 | ||
1572 | * Makefile.in (TARDIRS): Add sparclite demo dir. | |
1573 | (*.tab.c): Change dependency on Makefile to depend on | |
1574 | Makefile.in, otherwise it always rebuilds after configuring. | |
1575 | Force output *.tab.c file into current directory even in "make" | |
1576 | versions that rewrite dependent file names used in command lines. | |
1577 | ||
1578 | * TODO: Remove some things we did. | |
1579 | * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode. | |
1580 | * os68k-xdep.c: Remove; useless file (os68k is a target only). | |
1581 | * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST. | |
1582 | * symtab.h: Eliminate unnamed unions and structs. | |
1583 | ||
ad89bdfd JG |
1584 | Wed Feb 3 14:48:08 1993 John Gilmore ([email protected]) |
1585 | ||
1586 | * Makefile.in (VERSION): Roll to 4.7.5. | |
ad89bdfd | 1587 | |
ca5a72cd JG |
1588 | Tue Feb 2 20:47:42 1993 John Gilmore ([email protected]) |
1589 | ||
1590 | * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when | |
1591 | re-evaluating symbol pointers. | |
1592 | ||
9da75ad3 FF |
1593 | Tue Feb 2 16:10:31 1993 Fred Fish ([email protected]) |
1594 | ||
1595 | * c-exp.y (lcurly, rcurly): New nonterminals. | |
1596 | * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL | |
1597 | constructs. | |
1598 | * parse.c (free_funcalls): Moved prototype from parser-defs.h, | |
1599 | made function static. | |
1600 | * parse.c (struct funcall): Moved struct def from parser-defs.h. | |
1601 | * parse.c (funcall_chain): Moved from parser-defs.h, made static. | |
1602 | * parse.c (start_arglist): | |
1603 | * parser-defs.h (free_funcalls): Moved prototype to parse.c. | |
1604 | * parser-defs.h (struct funcall): Moved struct def to parse.c. | |
1605 | * parser-defs.h (funcall_chain): Moved to parse.c. | |
1606 | * printcmd.c (print_frame_nameless_args): Fix prototype. | |
1607 | * tm-mips.h (setup_arbitrary_frame): Fix prototype. | |
1608 | * tm-sparc.h (setup_arbitrary_frame): Fix prototype. | |
1609 | * valops.c (typecmp): Moved prototype from values.h. | |
1610 | * value.h (typecmp): Moved prototype to valops.c, made static. | |
9da75ad3 | 1611 | * ch-exp.y (yylex): Change way control sequences are disabled. |
9da75ad3 | 1612 | |
58bcc08c JG |
1613 | Tue Feb 2 16:11:43 1993 John Gilmore ([email protected]) |
1614 | ||
1615 | * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME. | |
1616 | ||
fee754c9 ILT |
1617 | Tue Feb 2 15:30:33 1993 Ian Lance Taylor ([email protected]) |
1618 | ||
1619 | * mipsread.c (upgrade_type): Build array types correctly, using | |
1620 | create_range_type and create_array_type. | |
1621 | ||
7dc15bb7 JG |
1622 | Tue Feb 2 00:19:08 1993 John Gilmore ([email protected]) |
1623 | ||
58bcc08c JG |
1624 | * remote-nindy.c: Cleanup. |
1625 | ||
1b6a2087 JG |
1626 | * infrun.c (wait_for_inferior): When rolling back the PC after |
1627 | a breakpoint, call write_pc so that NPC gets rolled back as well | |
1628 | (for the 29K). | |
1629 | ||
d122f257 JG |
1630 | * blockframe.c (inside_entry_file, inside_main_func, |
1631 | inside_entry_func): PC of zero is always "bottom of stack". | |
1632 | ||
7dc15bb7 JG |
1633 | * printcmd.c (print_frame_args, print_frame_nameless_args): |
1634 | Let print_frame_nameless_args decide whether there are any, | |
1635 | laying groundwork for possibly later printing 29K args for | |
1636 | functions where we have tag words but no symbols. | |
1637 | ||
2b21d8aa RP |
1638 | Mon Feb 1 18:09:58 1993 Roland H. Pesch ([email protected]) |
1639 | ||
1640 | * Makefile.in: fix GDB doc targets for new doc subdir structure | |
1641 | ||
07c2fa3e JG |
1642 | Mon Feb 1 17:56:47 1993 John Gilmore ([email protected]) |
1643 | ||
1644 | * stack.c (parse_frame_specification): Parse as many arguments | |
1645 | as there are (up to MAXARGS). Pass all of them in argc, argv | |
1646 | format to SETUP_ARBITRARY_FRAME. Put the burden of checking how | |
1647 | many there were, onto SETUP_ARBITRARY_FRAME. | |
1648 | * tm-mips.h, tm-sparc.h: Corresponding changes. | |
1649 | * mips-tdep.c, sparc-tdep.c: Ditto. | |
1650 | ||
6edd74ae JG |
1651 | Mon Feb 1 17:19:37 1993 John Gilmore ([email protected]) |
1652 | ||
1653 | * hp300ux-nat.c: Update copyrights. | |
1654 | * mipsread.c (parse_partial_symbols): Complain about block | |
1655 | indexes that go backwards. Fix from Peter Schauer. | |
1656 | * symfile.c (syms_from_objfile, symbol_file_add): Allow a | |
1657 | symbol-file that has no linkage symbols to be read. | |
1658 | * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move | |
1659 | from tm- file to xm-file, since they're host dependent. | |
1660 | * valarith.c (value_binop): Typo. | |
797bc12b | 1661 | |
6edd74ae | 1662 | Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com) |
797bc12b SG |
1663 | |
1664 | * sparclite/aload.c: Add copyleft. | |
1665 | * sparclite/crt0.s: Add comment at beginning. | |
1666 | ||
2431d063 SC |
1667 | Mon Feb 1 14:36:11 1993 Steve Chamberlain ([email protected]) |
1668 | ||
1669 | * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002. | |
1670 | * parse.c (std_regs): Only declare if NO_STD_REGS is defined. | |
1671 | ||
d112a0c6 MT |
1672 | Sun Jan 31 04:32:48 1993 Michael Tiemann ([email protected]) |
1673 | ||
7cb0f870 MT |
1674 | * values.c (value_headof): Fix typo in which VTBL and ARG were |
1675 | being confused for one another. | |
1676 | ||
a163ddec MT |
1677 | * valops.c (typecmp): Now static. |
1678 | ||
edf67bd1 MT |
1679 | * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first |
1680 | baseclass--we don't always inherit its virtual function table | |
1681 | pointer. | |
1682 | ||
271e5030 MT |
1683 | * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this' |
1684 | pointer correctly in case value_struct_elt moves it around. | |
1685 | ||
1686 | * valops.c (typecmp): Now static. Also, now groks references | |
1687 | better. | |
1688 | ||
d112a0c6 | 1689 | * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of |
271e5030 | 1690 | zero on recursive call. If NAME is the name of TYPE, return TYPE. |
d112a0c6 | 1691 | |
3d9b9577 JG |
1692 | Sat Jan 30 19:55:52 1993 John Gilmore ([email protected]) |
1693 | ||
ec68a93f JG |
1694 | * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff, |
1695 | to avoid "too much defining" error from native C compiler (!). | |
1696 | ||
3d9b9577 JG |
1697 | * Makefile.in (HFILES): Add typeprint.h. |
1698 | * typeprint.[ch]: Update copyrights. | |
1699 | ||
926d7800 JG |
1700 | Thu Jan 28 19:09:02 1993 John Gilmore ([email protected]) |
1701 | ||
bdec39b3 JG |
1702 | * Makefile.in: Update to match doc/ subdir changes. |
1703 | ||
92063c3e | 1704 | * config/hp300hpux.mh: No cross-host file needed, just native. |
71e60679 JG |
1705 | * config/go32.mh: Remove nonexistent "native" support. |
1706 | ||
2a770cac JG |
1707 | M88K fixes reported by Carl Greco, <[email protected]>: |
1708 | * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo. | |
1709 | * m88k-tdep.c (next_insn): Lint, cleanup. | |
1710 | (store_parm_word): Lint. | |
1711 | ||
926d7800 JG |
1712 | * README: Fix typo (reported by [email protected]). |
1713 | ||
2fcc38b8 FF |
1714 | Wed Jan 27 21:34:21 1993 Fred Fish ([email protected]) |
1715 | ||
1716 | * expression.h (BINOP_CONCAT): Document use for self concatenation | |
1717 | an integral number of times. | |
1718 | * language.c (binop_type_check): Extend BINOP_CONCAT for self | |
1719 | concatenation case. | |
1720 | * valarith.c (value_concat): Rewrite to support self | |
1721 | concatenation an integral number of times. | |
2fcc38b8 FF |
1722 | * Makefile.in (ch-exp.tab.c): Change "expect" message. |
1723 | * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to | |
1724 | eliminate hundreds of spurious shift/reduce and reduce/reduce | |
1725 | conflicts that mask the 5 real ones. | |
1726 | * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens. | |
1727 | * ch-exp.y (integer_literal_expression): Remove production, | |
1728 | no longer used. | |
2fcc38b8 FF |
1729 | |
1730 | Thu Jan 21 09:58:36 1993 Fred Fish ([email protected]) | |
1731 | ||
1732 | * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that | |
1733 | implied that "no side effects" was nonfunctional. | |
1734 | * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with | |
1735 | character string and bitstring concatenation. | |
1736 | * expprint.c (dump_expression): Add case for BINOP_CONCAT. | |
1737 | * expression.h (exp_opcode): Add BINOP_CONCAT. | |
1738 | * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING. | |
1739 | * language.c (string_type): Add function to determine if a type | |
1740 | is a string type. | |
1741 | * language.c (binop_type_check): Add case for BINOP_CONCAT. | |
1742 | * valarith.c (value_concat): New function to concatenate two | |
1743 | values, such as character strings or bitstrings. | |
1744 | * valops.c (value_string): Remove error stub and implement | |
1745 | function body. | |
1746 | * value.h (value_concat): Add prototype. | |
2fcc38b8 FF |
1747 | * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//). |
1748 | * ch-exp.y (yylex): Recognize SLASH_SLASH. | |
1749 | * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as | |
1750 | BINOP_CONCAT. | |
2fcc38b8 FF |
1751 | |
1752 | Tue Jan 19 14:26:15 1993 Fred Fish ([email protected]) | |
1753 | ||
1754 | * c-exp.y (exp): Add production to support direct creation | |
1755 | of array constants using the obvious syntax. | |
1756 | * c-valprint.c (c_val_print): Set printed string length. | |
1757 | * dwarfread.c (read_tag_string_type): New prototype and | |
1758 | function that handles TAG_string_type DIEs. | |
1759 | * dwarfread.c (process_dies): Add case for TAG_string_type | |
1760 | that calls new read_tag_string_type function. | |
1761 | * expprint.c (print_subexp): Add support for OP_ARRAY. | |
1762 | * gdbtypes.c (create_range_type, create_array_type): Inherit | |
1763 | objfile from the index type. | |
2fcc38b8 FF |
1764 | * ch-typeprint.c (chill_print_type): Add case for |
1765 | TYPE_CODE_STRING. | |
1766 | * ch-valprint.c (chill_val_print): Fix case for | |
1767 | TYPE_CODE_STRING. | |
2fcc38b8 | 1768 | |
201c1243 ILT |
1769 | Mon Jan 18 11:58:45 1993 Ian Lance Taylor ([email protected]) |
1770 | ||
1771 | * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, | |
1772 | MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in | |
1773 | include/coff/mips.h. | |
1774 | ||
c4413e2c FF |
1775 | Fri Jan 15 20:26:50 1993 Fred Fish ([email protected]) |
1776 | ||
1777 | * c-exp.y (exp:STRING): Convert C strings into array-of-char | |
1778 | constants with an explicit null byte terminator. OP_STRING is | |
1779 | now used for real string types. | |
1780 | * c-lang.c (builtin_type_*): Move declarations to lang.c since | |
1781 | they are used by all languages. | |
1782 | * c-lang.c (_initialize_c_language): Move initializations of | |
1783 | builtin_type_* to lang.c. | |
1784 | * c-typeprint.c (c_type_print_varspec_prefix, | |
1785 | c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed | |
1786 | to TYPE_CODE_STRING. | |
1787 | * c-valprint.c (c_val_print): Change the way character arrays | |
1788 | are printed as strings to be consistent with the way strings | |
1789 | are printed when pointer-to-char types are dereferenced. | |
1790 | Remove test of print_max before calling val_print_string, which | |
1791 | now does it's own test. | |
1792 | * eval.c (evaluate_subexp): Add case for OP_ARRAY. | |
1793 | * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY. | |
1794 | * expression.h (enum exp_opcode): Add OP_ARRAY and document. | |
1795 | * gdbtypes.c (builtin_type_*): Add declarations moved from | |
1796 | c-lang.c. | |
1797 | * gdbtypes.c (create_string_type): New function to create real | |
1798 | string types. | |
1799 | * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY | |
1800 | renamed to TYPE_CODE_STRING. | |
1801 | * gdbtypes.c (_initialize_gdbtypes): Add initializations of | |
1802 | builtin_type_* types moved from c-lang.c. | |
1803 | * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed | |
1804 | to TYPE_CODE_STRING. | |
1805 | * gdbtypes.h (builtin_type_string): Add extern declaration. | |
1806 | * gdbtypes.h (create_string_type): Add prototype. | |
1807 | * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY | |
1808 | renamed to TYPE_CODE_STRING. | |
1809 | * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to | |
1810 | TYPE_CODE_STRING. | |
1811 | * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY | |
1812 | renamed to TYPE_CODE_STRING. | |
1813 | * parse.c (length_of_subexp, prefixify_subexp): Add case for | |
1814 | OP_ARRAY. | |
1815 | * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING. | |
1816 | * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed | |
1817 | to TYPE_CODE_STRING. | |
1818 | * valops.c (allocate_space_in_inferior): New function and | |
1819 | prototype, using code ripped out of value_string. | |
1820 | * valops.c (value_string): Rewritten to use new function | |
1821 | allocate_space_in_inferior, but temporarily disabled until some | |
1822 | other support is in place. | |
1823 | * valops.c (value_array): New function to create array constants. | |
1824 | * valprint.c (val_print_string): Add comment to document use, | |
1825 | complete rewrite to fix several small buglets. | |
1826 | * value.h (value_array): Add prototype. | |
1827 | * value.h (val_print_string): Change prototype to match rewrite. | |
c4413e2c FF |
1828 | * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING. |
1829 | * ch-exp.y (match_character_literal): Disable recognition of | |
1830 | control sequence form of character literals and document why. | |
c4413e2c | 1831 | |
6d1e8f54 SG |
1832 | Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com) |
1833 | ||
1834 | * nindy-share/nindy.c: Add comments to #endif's to clarify | |
1835 | grouping. | |
1836 | ||
1837 | * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of | |
1838 | read_memory to get byte order right. | |
1839 | * hppah-tdep.c (find_unwind_info): Don't read in unwind info | |
1840 | anymore. This is done in paread.c now. We expect unwind info | |
1841 | to hang off of objfiles, and search all of the objfiles when until | |
1842 | we find a match. | |
1843 | * (skip_trampoline_code): Cast arg to target_read_memory. | |
1844 | * objfiles.h (struct objfile): Add new field obj_private to hold | |
1845 | per object file private data (unwind info in this case). | |
1846 | * paread.c (read_unwind_info): New routine to read unwind info | |
1847 | for the objfile. This data is hung off of obj_private. | |
1848 | * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to | |
1849 | the unwind info for this objfile. Also define OBJ_UNWIND_INFO to | |
1850 | make this easier to access. | |
1851 | ||
c7da3ed3 FF |
1852 | Wed Jan 13 20:49:59 1993 Fred Fish ([email protected]) |
1853 | ||
1854 | * c-valprint.c (cp_print_class_member): Add extern decl. | |
1855 | * c-valprint.c (c_val_print): Extract code for printing methods | |
1856 | and move it to cp_print_class_method in cp-valprint.c. | |
1857 | * c-valprint.c (c_val_print): Extract code to print strings and | |
1858 | move it to val_print_string in valprint.c. | |
1859 | * cp-valprint.c (cp_print_class_method): New function using | |
1860 | code extracted from c_val_print. | |
1861 | * valprint.c (val_print_string): New function using code | |
1862 | extracted from c_val_print. | |
1863 | * value.h (val_print_string): Add prototype. | |
c7da3ed3 FF |
1864 | * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type. |
1865 | * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL. | |
1866 | * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE, | |
1867 | CHECKBUF, growbuf_by_size): New variables, macros, and support | |
1868 | functions for implementing a dynamically expandable temp buffer. | |
1869 | * ch-exp.y (match_string_literal): New lexer function. | |
1870 | * ch-exp.y (match_bitstring_literal): Dynamic buffer code | |
1871 | removed and replaced with new CHECKBUF macro. | |
1872 | * ch-exp.y (yylex): Call match_string_literal when appropriate. | |
1873 | * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR. | |
c7da3ed3 | 1874 | |
0213d96f SG |
1875 | Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com) |
1876 | ||
78205fb6 SG |
1877 | * Makefile.in: Add info for paread.o. |
1878 | * config/hppahpux.mh: Add paread.o to NATDEPFILES. | |
1879 | ||
0213d96f SG |
1880 | * blockframe.c (frameless_look_for_prologue): Correct the |
1881 | comment. | |
1882 | * gdbtypes.h, gdbtypes.c: Use const in decl of | |
1883 | cplus_struct_default, now that pa-gas assembler has been fixed. | |
1884 | * hppah-nat.c: Formatting. | |
1885 | * hppah-tdep.c: Remove lots of useless externs for variables we | |
1886 | don't use. | |
1887 | * (find_unwind_entry): Speed up by using binary search, and a one | |
1888 | entry cache. | |
1889 | * (rp_saved): New routine to see what unwind info says about RP | |
1890 | being saved on the stack frame. | |
1891 | * (frame_saved_pc): Look for prologue to see if we need to | |
1892 | examine the stack for the saved RP or not. | |
1893 | * (init_extra_frame_info): Check for prologue, instead of | |
1894 | framesize to determine if we are frameless or not. | |
1895 | * (frame_chain_valid): Stop backtraces when we run into _start. | |
1896 | * (push_dummy_frame): Reformat to make more readable. | |
1897 | * (find_dummy_frame_regs): ditto. | |
1898 | * (hp_pop_frame): ditto. | |
1899 | * (hp_restore_pc_queue): small cleanup. | |
1900 | * (hp_push_arguments): ditto. | |
1901 | * (pa_do_registers_info): ditto. | |
1902 | * (skip_prologue): New routine created from SKIP_PROLOGUE macro. | |
1903 | * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c. | |
1904 | * Define FRAME_CHAIN_VALID. | |
1905 | * Turn on BELIEVE_PCC_PROMOTION so that we can access char args | |
1906 | passed to functions. | |
1907 | ||
1908 | * paread.c (pa_symtab_read): Use new bfd conventions for | |
1909 | accessing linker symbol table. | |
1910 | * (pa_symfile_init): Access embedded STAB info via BFD section | |
1911 | mechanism and related macros. | |
1912 | ||
1913 | ||
bfc55a5d SG |
1914 | Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com) |
1915 | ||
1916 | * sparc-stub.c: Use a seperate stack for our traps. | |
1917 | * Handle recursive traps. | |
1918 | * Remove all trap init code. This needs to be done by the | |
1919 | environment. | |
1920 | * (set_mem_fault_trap): Call exceptionHandler() to setup this | |
1921 | trap. | |
1922 | * (handle_exception): See if we are at breakinst, if so, then | |
1923 | advance PC sp that users can just step out of breakpoint(). | |
1924 | * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to | |
1925 | new place if SP has changed. | |
1926 | * (case 's'): Get rid of this, we can't do it yet. | |
1927 | * (case 't'): New command to test any old random feature. | |
1928 | * (case 'r'): New command to reset the system. | |
1929 | * (breakpoint): Add label to breakpoint trap instruction so that | |
1930 | handle_exception() can detect where we are and get past the | |
1931 | breakpoint trivially. | |
1932 | ||
f92743ae ILT |
1933 | Thu Jan 7 13:33:06 1993 Ian Lance Taylor ([email protected]) |
1934 | ||
1935 | * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c. | |
1936 | ||
bfc55a5d SG |
1937 | Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
1938 | ||
1939 | * configure.in: recognise all sparclite variants | |
1940 | ||
f92743ae ILT |
1941 | Wed Jan 6 10:14:51 1993 Steve Chamberlain ([email protected]) |
1942 | ||
1943 | * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for | |
1944 | binary files oring in the right bit. | |
1945 | ||
1946 | * main.c, source.c, state.c, symmisc.c: use macros defined in | |
1947 | fopen-{bin|both} when fopening files. | |
1948 | ||
81028ab0 FF |
1949 | Wed Jan 6 08:19:11 1993 Fred Fish ([email protected]) |
1950 | ||
1951 | * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT | |
1952 | from a configuration file (typically including <limits.h>), or to | |
1953 | TARGET_CHAR_BIT if CHAR_BIT is not defined. | |
1954 | * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro. | |
1955 | * eval.c (evaluate_subexp): Add case for OP_BITSTRING. | |
1956 | * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro. | |
1957 | * exppritn.c (print_subexp, dump_expression): Add case for | |
1958 | OP_BITSTRING. | |
1959 | * expression.h (OP_BITSTRING): New expression element type for | |
1960 | packed bitstrings. | |
1961 | * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New | |
1962 | macros to convert between number of expression elements and bytes | |
1963 | to store that many elements. | |
1964 | * i960-tdep.c (leafproc_return): Use new macros to access | |
1965 | minimal symbol name and address fields. | |
1966 | * m88k-pinsn.c (sprint_address): Use new macros to access | |
1967 | minimal symbol name and address fields. | |
1968 | * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access | |
1969 | minimal symbol address field. | |
1970 | * parse.c (write_exp_elt, write_exp_string, prefixify_expression, | |
1971 | parse_exp_1): Use new EXP_ELEM_TO_BYTES macro. | |
1972 | * parse.c (write_exp_string, length_of_subexp, prefixify_expression): | |
1973 | Use new BYTES_TO_EXP_ELEM macro. | |
1974 | * parse.c (write_exp_bitstring): New function to write packed | |
1975 | bitstrings into the expression element vector. | |
1976 | * parse.c (length_of_subexp, prefixify_subexp): Add case for | |
1977 | OP_BITSTRING. | |
1978 | * parser-defs.h (struct stoken): Document that it is used for | |
1979 | OP_BITSTRING as well as OP_STRING. | |
1980 | * parser-defs.h (write_exp_bitstring): Add prototype. | |
81028ab0 FF |
1981 | * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval. |
1982 | * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER, | |
1983 | LOWER, LENGTH): New tokens for keywords. | |
1984 | * ch-exp.y (chill_value_built_in_routine_call, mode_argument, | |
1985 | upper_lower_argument, length_argument, array_mode_name, | |
1986 | string_mode_name, variant_structure_mode_name): New non-terminals | |
1987 | and productions. | |
1988 | * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL. | |
1989 | * ch-exp.y (match_bitstring_literal): New lexer support function | |
1990 | to recognize bitstring literals. | |
1991 | * ch-exp.y (tokentab6): New token table for 6 character keywords. | |
1992 | * ch-exp.y (tokentab5): Add LOWER, UPPER. | |
1993 | * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE. | |
1994 | * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX. | |
1995 | * ch-exp.y (yylex): Check tokentab6. | |
1996 | * ch-exp.y (yylex): Call match_bitstring_literal. | |
81028ab0 | 1997 | |
76a0ffb4 FF |
1998 | Mon Jan 4 16:54:18 1993 Fred Fish ([email protected]) |
1999 | ||
2eda1cdf FF |
2000 | * xcoffexec.c (vmap_symtab): Use new macros to access minimal |
2001 | symbol name and value fields. | |
2002 | ||
533d1dc7 FF |
2003 | * c-exp.y (yylex): Make static, to match prototype and other |
2004 | <lang>-exp.y files. | |
2005 | ||
76a0ffb4 FF |
2006 | * expression.h (exp_opcode): Add BINOP_MOD. |
2007 | * eval.c (evaluate_subexp): Handle new BINOP_MOD. | |
2008 | * expprint.c (dump_expression): Handle new BINOP_MOD. | |
2009 | * language.c (binop_type_check): Handle new BINOP_MOD. | |
2010 | * main.c (float_handler): Re-enable float handler when hit. | |
2011 | * valarith.c (language.h): Include, need current_language. | |
2012 | * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro | |
2013 | for integer divide truncates towards zero for negative results. | |
2014 | * valarith.c (value_x_binop): Handle BINOP_MOD if seen. | |
2015 | * valarith.c (value_binop): Allow arithmetic operations on | |
2016 | TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD. | |
76a0ffb4 FF |
2017 | * ch-exp.y (operand_4): Add useful actions for MOD and REM. |
2018 | * ch-exp.y (tokentab3): Add MOD and REM. | |
2019 | * ch-exp.y (yylex): Set innermost_block for symbols found | |
2020 | in local scopes. Return LOCATION_NAME for local symbols. | |
2021 | * ch-lang.c (chill_op_print_tab): Fix MOD entry to use | |
2022 | BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM. | |
76a0ffb4 | 2023 | |
f92743ae ILT |
2024 | Mon Jan 4 07:35:31 1993 Steve Chamberlain ([email protected]) |
2025 | ||
2026 | * command.c (shell_escape, make_command, _initialize_command): | |
2027 | don't create or use fork if CANT_FORK is defined. | |
2028 | * serial.h, ser-go32.c: now compiles, but "the obvious problems of | |
2029 | code written for the IBM PC" remain. | |
2030 | * xm-go32.h: define CANT_FORK | |
2031 | ||
ec25d19b SC |
2032 | Sun Jan 3 14:24:56 1993 Steve Chamberlain ([email protected]) |
2033 | ||
2034 | * remote-sim.c: first attempt at general simulator interface | |
2035 | * remote-hms.c: whitespace | |
2036 | * h8300-tdep.c: (h8300_skip_prologue, examine_prologue): | |
2037 | understand new stack layout. (print_register_hook): print ccr | |
2038 | register in a fancy way. | |
2039 | ||
fb6e675f FF |
2040 | Sun Jan 3 14:16:10 1993 Fred Fish ([email protected]) |
2041 | ||
2042 | * eval.c (language.h): Include. | |
2043 | * eval.c (evaluate_subexp_with_coercion): Only coerce arrays | |
2044 | to pointer types when the current language is C. It loses for | |
2045 | other languages when the lower index bound is nonzero. | |
2046 | * valarith.c (value_subscript): Take array lower bounds into | |
2047 | account when performing subscripting operations. | |
2048 | * valops.c (value_coerce_array): Add comment describing why | |
2049 | arrays with nonzero lower bounds are dealt with in value_subscript, | |
2050 | rather than in value_coerce_array. | |
2051 | ||
54bbbfb4 FF |
2052 | Sat Jan 2 12:16:41 1993 Fred Fish ([email protected]) |
2053 | ||
1188fbbf FF |
2054 | * ch-exp.y (FLOAT_LITERAL): Add token. |
2055 | * ch-exp.y (literal): Add FLOAT_LITERAL. | |
2056 | * ch-exp.y (match_float_literal): New lexer routine. | |
2057 | * ch-exp.y (convert_float): Remove. | |
2058 | * ch-exp.y (yylex): Call match_float_literal. | |
2059 | * ch-exp.y (yylex): Match single '.' after trying | |
2060 | to match floating point literals. | |
1188fbbf | 2061 | |
54bbbfb4 FF |
2062 | * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT. |
2063 | * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to | |
2064 | MULTI_SUBSCRIPT. | |
2065 | * expprint.c (dump_expression): New function for dumping | |
2066 | expression vectors during gdb debugging. | |
2067 | * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to | |
2068 | MULTI_SUBSCRIPT and moved out of BINOP range. | |
2069 | * expression.h (DUMP_EXPRESSION): New macro that calls | |
2070 | dump_expression if DEBUG_EXPRESSIONS is defined. | |
2071 | * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT. | |
2072 | * parse.c (length_of_subexp, prefixify_subexp): Change | |
2073 | BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT. | |
2074 | * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after | |
2075 | prefixify'ing the expression. | |
2076 | * printcmd.c (print_command_1): Add comment. | |
54bbbfb4 FF |
2077 | * ch-exp.y (expression_list): Add useful actions. |
2078 | * ch-exp.y (value_array_element): Add useful actions. | |
2079 | * ch-exp.y (array_primitive_value): Add production. | |
2080 | * ch-exp.y (yylex): Recognize ',' as a token. | |
54bbbfb4 | 2081 | |
ea81b10d DZ |
2082 | Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
2083 | ||
2084 | * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS, | |
2085 | POSIXize the recursive makes (make [variable assignments] target{s}) | |
2086 | ||
7532cf10 FF |
2087 | Fri Jan 1 11:56:23 1993 Fred Fish ([email protected]) |
2088 | ||
2089 | * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h. | |
2090 | * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the | |
2091 | CPLUS_MARKER for all SVR4 systems, so follow suit. | |
2092 | * defs.h (strdup_demangled): Remove prototype. | |
2093 | * dwarfread.c (enum_type, synthesize_typedef): Use new macro | |
2094 | SYMBOL_INIT_LANGUAGE_SPECIFIC. | |
2095 | * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME. | |
2096 | * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol, | |
2097 | prim_record_minimal_symbol_and_info): Use new macro | |
2098 | SYMBOL_INIT_LANGUAGE_SPECIFIC. | |
2099 | * minsyms.c (install_minimal_symbols): Use new macro | |
2100 | SYMBOL_INIT_DEMANGLED_NAME. | |
2101 | * stabsread.c (define_symbol): Use new macro | |
2102 | SYMBOL_INIT_DEMANGLED_NAME. | |
2103 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
2104 | Use new macro SYMBOL_INIT_DEMANGLED_NAME. | |
2105 | * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro | |
2106 | SYMBOL_INIT_DEMANGLED_NAME. | |
2107 | * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol): | |
2108 | SYMBOL_DEMANGLED_NAME now tests language itself. | |
2109 | * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME | |
2110 | now tests language itself. | |
2111 | * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does | |
2112 | what SYMBOL_DEMANGLED_NAME used to do, directly access the C++ | |
2113 | mangled name member in the language dependent portion of a symbol. | |
2114 | * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the | |
2115 | mangled name member appropriate for a symbol's language. | |
2116 | * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME, | |
2117 | SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP): | |
2118 | SYMBOL_DEMANGLED_NAME now tests language itself. | |
2119 | * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that | |
2120 | initializes language dependent portion of symbol. | |
2121 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that | |
2122 | demangles and caches the demangled form of symbol names. | |
2123 | * utils.c (fputs_demangled, fprint_symbol): Use current language | |
2124 | to select an appropriate demangling algorithm. | |
2125 | * utils.c (strdup_demangled): Remove, no longer used. | |
7532cf10 FF |
2126 | * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly |
2127 | access the Chill mangled name member in the language dependent | |
2128 | portion of a symbol. | |
2129 | * ch-lang.c (chill_demangle): New function, simple demangler. | |
2130 | * defs.h (chill_demangle): Add prototype. | |
2131 | * symtab.h (language_dependent_info): Add struct for Chill. | |
7532cf10 | 2132 | |
19d0f3f4 FF |
2133 | Thu Dec 31 11:06:38 1992 Fred Fish ([email protected]) |
2134 | ||
2135 | * Makefile.in (BISON): Add comment that when bison is used, it | |
2136 | must include the "-y" option. | |
2137 | * c-exp.y, m2-exp.y (yyrule, yyname, yyss, yyssp, yyvs, yyvsp): | |
2138 | Remove defines to remap non-yacc symbols, thus backing out of | |
2139 | previous recent changes. Standard policy is that non-yacc parser | |
2140 | generators get fixed, rather than adding bug workarounds in gdb | |
2141 | for each new one that pops up. Expand comment to note this. | |
2142 | * c-exp.y, m2-exp.y (YYDEBUG): Revert back to disabled by default. | |
2143 | ||
684a832f SG |
2144 | Thu Dec 31 09:03:02 1992 Stu Grossman (grossman at cygnus.com) |
2145 | ||
8a1c3e99 SG |
2146 | * partial-stab.h (near N_BINCL): Remove redundant code in N_BINCL |
2147 | case. Use code in N_SOL. | |
2148 | ||
684a832f SG |
2149 | * paread.c: New file that contains all HPPA/HPUX symbol reading |
2150 | code. | |
2151 | * dbxread.c: Remove almost all HPPA/HPUX symbol reading code. | |
2152 | * (dbx_symfile_init): Use sizeof(long) instead of 4. | |
2153 | * (dbx_symfile_offsets): Make static. | |
2154 | * (pastab_build_psymtabs): New interface routine for paread to | |
2155 | send stabs into dbxread. | |
2156 | * gdb-stabs.h: Remove gobs of HPPA cruft. | |
2157 | ||
45fe3db4 FF |
2158 | Wed Dec 30 19:47:13 1992 Fred Fish ([email protected]) |
2159 | ||
cbf5231b FF |
2160 | * c-exp.y, m2-exp.y (yyrule, yyname): Remap like other yy* names |
2161 | for byacc. | |
cbf5231b | 2162 | * ch-exp.y (yyrule, yyname): Remap like other yy* names for byacc. |
cbf5231b | 2163 | |
45fe3db4 FF |
2164 | * c-exp.y, m2-exp.y (yyreds, yytoks): Remap like other yy* names. |
2165 | * c-exp.y, m2-exp.y (YYDEBUG): Define if MAINTENANCE_CMDS is defined | |
2166 | and YYDEBUG is not already defined. | |
2167 | * c-exp.y (strncmp): Replace throughout with STREQN, missed | |
2168 | them during the previous replacements. | |
2169 | * printcmd.c (_initialize_printcmd): Update internal documentation | |
2170 | for "set" command to note that the assignment syntax is language | |
2171 | dependent. | |
45fe3db4 FF |
2172 | * ch-exp.y (yyreds, yytoks): Remap like other yy* names. |
2173 | * ch-exp.y (YYDEBUG): Define if MAINTENANCE_CMDS is defined | |
2174 | and YYDEBUG is not already defined. | |
2175 | * ch-exp.y (GDB_REGNAME, GDB_LAST, GDB_VARIABLE, GDB_ASSIGNMENT, | |
2176 | single_assignment_action): New terminals and nonterminal for gdb | |
2177 | extensions to chill expression grammer. | |
2178 | * ch-exp.y (match_dollar_tokens): Lexer routine to match all | |
2179 | tokens that start with '$' (register names, convenience vars, etc). | |
2180 | * ch-exp.y (tokentab2): Add GDB_ASSIGNMENT. | |
2181 | * ch-exp.y (yylex): Call match_dollar_tokens. | |
45fe3db4 | 2182 | |
b5c10493 SG |
2183 | Mon Dec 28 15:00:01 1992 Stu Grossman (grossman at cygnus.com) |
2184 | ||
b8ef8163 SG |
2185 | * hppah-tdep.c (skip_trampoline_code): Use new macros for |
2186 | accessing minimal symbol data. | |
2187 | * infcmd.c (read_pc): Use #ifdef, not #if. | |
2188 | * symfile.c (syms_from_objfile): Add CONST to decl for targets. | |
2189 | * tm-hppa.h (FIX_CALL_DUMMY): Use new macros for accessing | |
2190 | minimal symbol data. | |
2191 | ||
b5c10493 SG |
2192 | * hppah-tdep.c (frame_saved_pc): Use better test for outermost |
2193 | frame. Use find_return_regnum to find the caller. | |
2194 | * (find_unwind_entry): New routine to locate stack frame info | |
2195 | associated with a procedure. This looks in the $UNWIND_START$ | |
2196 | section in the SOM file. | |
2197 | * (find_return_regnum): New routine. Uses find_unwind_entry() to | |
2198 | figure out where the caller's return address is stored. | |
2199 | * (find_proc_framesize): New routine. Uses find_unwind_entry() | |
2200 | to figure out the frame size for a procedure. | |
2201 | * (saved_pc_after_call): New routine, moved from tm-hppa.h. | |
2202 | * (init_extra_frame_info): New routine. Corrects PC and FP for | |
2203 | outermost frame if necessary. | |
2204 | * (frame_chain): New routine, moved from tm-hppa.h. | |
2205 | * (skip_trampoline_code): Handle computed function calls (ie: | |
2206 | calls from $$dyncall). | |
2207 | * (unwind_command): Temporary support function to allow user | |
2208 | to control/observe aspects of the unwind (stack frame) info. | |
2209 | * infcmd.c (read_pc): (Temporary), put a hack in to see if the PC | |
2210 | was in a system call, if so, then read the PC from r31. | |
2211 | * tm-hppah.h (SKIP_TRAMPOLINE_CODE, IN_SOLIB_TRAMPOLINE): Deal | |
2212 | with extra arg for skip_trampoline_code(). | |
2213 | * (INIT_EXTRA_FRAME_INFO): Define to point at subr (see above). | |
2214 | * (FRAME_CHAIN, FRAME_CHAIN_VALID): Turn into real subroutines. | |
2215 | * tm-hppa.h (SAVED_PC_AFTER_CALL): Turn into real subroutine. | |
2216 | ||
51db2323 FF |
2217 | Sun Dec 27 17:34:15 1992 Fred Fish ([email protected]) |
2218 | ||
2219 | * dbxread.c (dbx_symfile_init, elfstab_build_psymtabs): | |
2220 | Call new bfd_get_size() and verify that string table is no larger | |
2221 | than the file that is supposed to contain it. | |
2222 | * symfile.c (syms_from_objfile): Only complain about configured | |
2223 | NAMES_HAVE_UNDERSCORE differences between gdb and bfd if the | |
2224 | current target is the default BFD target. | |
2225 | ||
1169c958 FF |
2226 | Sat Dec 26 20:51:41 1992 Fred Fish ([email protected]) |
2227 | ||
2228 | * solib.c (BKPT_AT_MAIN): Change to BKPT_AT_SYMBOL. | |
2229 | * solib.c (bkpt_names): New array of symbol names to try to | |
2230 | use for the "mapping complete" breakpoint. Configurable | |
2231 | define SOLIB_BKPT_NAME is first one to try. | |
2232 | * solib.c (find_solib): Test debug_base for nonzero rather | |
2233 | than just greater than zero. | |
2234 | * solib.c (enable_break): Use bkpt_names to look up address | |
2235 | at which to set "mapping complete" breakpoint. | |
2236 | ||
2e4964ad FF |
2237 | Tue Dec 22 20:33:38 1992 Fred Fish ([email protected]) |
2238 | ||
2239 | * defs.h (STRCMP, STREQ, STREQN): New macros. | |
2240 | * defs.h (demangle_and_match): Remove prototype. | |
2241 | * dwarfread.c (STREQ, STREQN): Remove macros, replaced with STREQ | |
2242 | and STREQN defined in defs.h. | |
2243 | * dwarfread.c (set_cu_language): For completely unknown languages, | |
2244 | try to deduce the language from the filename. Retain behavior | |
2245 | that for known languages we don't know how to handle, we use | |
2246 | language_unknown. | |
2247 | * dwarfread.c (enum_type, symthesize_typedef): Initialize language | |
2248 | and demangled name fields in symbol. | |
2249 | * dwarfread.c, mipsread.c, partial-stab.h: For all usages of | |
2250 | ADD_PSYMBOL_TO_LIST, add language and objfile parameters. | |
2251 | * dwarfread.c (new_symbol): Attempt to demangle C++ symbol names | |
2252 | and cache the results in SYMBOL_DEMANGLED_NAME for the symbol. | |
2253 | * elfread.c (STREQ): Remove macro, use STREQ defined in defs.h. | |
2254 | Replace usages throughout. | |
2255 | * elfread.c (demangle.h): Include. | |
2256 | * elfread.c (record_minimal_symbol): Remove prototype and function. | |
2257 | * gdbtypes.h, symtab.h (B_SET, B_CLR, B_TST, B_TYPE, B_BYTES, | |
2258 | B_CLRALL): Moved from symtab.h to gdbtypes.h. | |
2259 | * infcmd.c (jump_command): Remove code to demangle name and add | |
2260 | it to a cleanup list. Now just use SYMBOL_DEMANGLED_NAME. | |
2261 | * minsyms.c (demangle.h): Include. | |
2262 | * minsyms.c (lookup_minimal_symbol): Indent comment to match code. | |
2263 | * minsyms.c (install_minimal_symbols): Attempt to demangle symbol | |
2264 | names as C++ names, and cache them in SYMBOL_DEMANGLED_NAME. | |
2265 | * mipsread.c (psymtab_language): Add static variable. | |
2266 | * stabsread.c (demangle.h): Include. | |
2267 | * stabsread.c (define_symbol): Attempt to demangle C++ symbol | |
2268 | names and cache them in the SYMBOL_DEMANGLED_NAME field. | |
2269 | * stack.c (return_command): Remove explicit demangling of name | |
2270 | and use of cleanups. Just use SYMBOL_DEMANGLED_NAME. | |
2271 | * symfile.c (demangle.h): Include. | |
2272 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): Fix | |
2273 | to match macros in symfile.h and allow them to be compiled | |
2274 | if INLINE_ADD_PSYMBOL is not true. | |
2275 | * symfile.h (INLINE_ADD_PSYMBOL): Default to true if not set. | |
2276 | * symfile.h (ADD_PSYMBOL_*): Add language and objfile parameters. | |
2277 | Add code to demangle and cache C++ symbol names. Use macro form | |
2278 | if INLINE_ADD_PSYMBOL is true, otherwise use C function form. | |
2279 | * symmisc.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
2280 | Remove, also defined in symfile.c, which we already fixed. | |
2281 | * symtab.c (expensive_mangler): Remove prototype and function. | |
2282 | * symtab.c (find_methods): Remove physnames parameter and fix | |
2283 | prototype to match. | |
2284 | * symtab.c (completion_list_add_symbol): Name changed to | |
2285 | completion_list_add_name. | |
2286 | * symtab.c (COMPLETION_LIST_ADD_SYMBOL): New macro, adds both | |
2287 | the normal symbol name and the cached C++ demangled name. | |
2288 | * symtab.c (lookup_demangled_partial_symbol, | |
2289 | lookup_demangled_block_symbol): Remove prototypes and functions. | |
2290 | * symtab.c (lookup_symbol): Remove use of expensive_mangler, | |
2291 | use lookup_block_symbol instead of lookup_demangled_block_symbol. | |
2292 | Remove code to try demangling names and matching them. | |
2293 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): | |
2294 | Fix to try matching the cached demangled name if no match is | |
2295 | found using the regular symbol name. | |
2296 | * symtab.c (find_methods): Remove unused physnames array. | |
2297 | * symtab.c (name_match, NAME_MATCH): Remove function and macro, | |
2298 | replaced with SYMBOL_MATCHES_REGEXP from symtab.h. | |
2299 | * symtab.c (completion_list_add_symbol): Rewrite to use cached | |
2300 | C++ demangled symbol names. | |
2301 | * symtab.h: Much reformatting of structures and such to add | |
2302 | whitespace to make them more readable, and make them more | |
2303 | consistent with other gdb structure definitions. | |
2304 | * symtab.h (general_symbol_info): New struct containing fields | |
2305 | common to all symbols. | |
2306 | * symtab.h (SYMBOL_LANGUAGE, SYMBOL_DEMANGLED_NAME, | |
2307 | SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME, SYMBOL_MATCHES_NAME, | |
2308 | SYMBOL_MATCHES_REGEXP, MSYMBOL_INFO, MSYMBOL_TYPE): New macros. | |
2309 | * symtab. (struct minimal_symbol, struct partial_symbol, struct | |
2310 | symbol): Use general_symbol_info struct. | |
2311 | * utils.c (demangle_and_match): Remove, no longer used. | |
2312 | * valops.c (demangle.h): Include. | |
2313 | * xcoffexec.c (eq): Remove macro, replace usages with STREQ. | |
2314 | * blockframe.c, breakpoint.c, c-exp.y, c-valprint.c, dbxread.c, | |
2315 | infcmd.c, m2-exp.y, minsyms.c, objfiles.h, solib.c, stack.c, | |
2316 | symmisc.c, symtab.c, valops.c: Replace references to minimal | |
2317 | symbol fields with appropriate macros. | |
2318 | * breakpoint.c, buildsym.c, c-exp.y, c-typeprint.c, c-valprint.c, | |
2319 | coffread.c, command.c, convex-tdep.c, cp-valprint.c, dbxread.c, | |
2320 | demangle.c, elfread.c, energize.c, environ.c, exec.c, | |
2321 | gdbtypes.c, i960-tdep.c, infrun.c, infrun-hacked.c, language.c, | |
2322 | main.c, minsyms.c, mipsread.c, partial-stab.h, remote-es1800.c, | |
2323 | remote-nindy.c, remote-udi.c, rs6000-tdep.c, solib.c, source.c, | |
2324 | sparc-pinsn.c, stabsread.c, standalone.c, state.c, stuff.c, | |
2325 | symfile.c, symmisc.c, symtab.c, symtab.h, tm-sysv4.h, | |
2326 | tm-ultra3.h, values.c, xcoffexec.c, xcoffread.c: Replace strcmp | |
2327 | and strncmp usages with STREQ, STREQN, or STRCMP as appropriate. | |
2328 | * breakpoint.c, buildsym.c, c-typeprint.c, expprint.c, findvar.c, | |
2329 | mipsread.c, printcmd.c, source.c, stabsread.c, stack.c, | |
2330 | symmisc.c, tm-29k.h, valops.c, values.c: Replace SYMBOL_NAME | |
2331 | references with SYMBOL_SOURCE_NAME or SYMBOL_LINKAGE_NAME as | |
2332 | appropriate. | |
2333 | * buildsym.c (start_subfile, patch_subfile_names): Default the | |
2334 | source language to what can be deduced from the filename. | |
2335 | * buildsym.c (end_symtab): Update the source language in the | |
2336 | allocated symtab to match what we have been using. | |
2337 | * buildsym.h (struct subfile): Add a language field. | |
2338 | * c-typeprint.c (c_print_type): Remove code to do explicit | |
2339 | demangling. | |
2340 | * dbxread.c (psymtab_language): Add static variable. | |
2341 | * dbxread.c (start_psymtab): Initialize psymtab_language using | |
2342 | deduce_language_from_filename. | |
2343 | ||
a9b37611 FF |
2344 | Mon Dec 21 22:24:33 1992 Fred Fish ([email protected]) |
2345 | ||
2346 | * valprint.c (val_print): Reorganize comment and add note | |
2347 | about dependency on target byte ordering. | |
a9b37611 FF |
2348 | * ch-exp.y (value_array_slice): Fix typo. |
2349 | * ch-valprint.c (chill_val_print): Remove C'ism that arrays of | |
2350 | byte sized ints are assumed to be char strings and printed with | |
2351 | string syntax. In chill, arrays of chars and arrays of | |
2352 | bytes/ubytes are distinquishable, and printed appropriately. | |
a9b37611 | 2353 | |
9f739abd SG |
2354 | Mon Dec 21 18:02:35 1992 Stu Grossman (grossman at cygnus.com) |
2355 | ||
e5e6b6b1 SG |
2356 | * tm-hppah.h: #define NEED_TEXT_START_END for target memory |
2357 | read/write routines for HPUX. | |
2358 | ||
9f739abd SG |
2359 | * hppa-pinsn.c (print_insn): Improve handling of be and ble |
2360 | branch targets to compute target address using const from previous | |
2361 | instruction if necessary. | |
2362 | * Add `Q' operator to print out bit position field various | |
2363 | instructions. | |
2364 | * hppah-nat.c: #include sys/param.h, and sys/user.h. General | |
2365 | cleanups, use new code from Utah. | |
2366 | * (store_inferior_registers): Update to new code from Utah. | |
2367 | * (initialize_kernel_u_addr): Re-enable decl of struct user u. | |
2368 | * (fetch_register): Clear out priv level when reading PCs. | |
2369 | * hppah-tdep.c: Get rid of gobs of KERNELDEBUG stuff. | |
2370 | * Remove decl of errno, #include wait.h and target.h. | |
2371 | * (frame_saved_pc): Check `flags' pseudo-register to see if we | |
2372 | were inside of a kernel call. If so, then PC is in a different | |
2373 | register. Also, mask out bottom two bits of all PCs so as not to | |
2374 | confuse higher level code. | |
2375 | * (push_dummy_frame): Create from #define in tm-hppa.h. | |
2376 | * (find_dummy_frame_regs): Update from Utah. | |
2377 | * (hp_pop_frame): Create from #define in tm-hppa.h. | |
2378 | * (hp_restore_pc_queue): New, from Utah. | |
2379 | * (hp_push_arguments): Big fixes from Utah. | |
2380 | * (pa_do_registers_info, pa_print_registers): Only print out fp | |
2381 | regs upon request. | |
2382 | * (skip_trampoline_code): New routine to deal with stubs that | |
2383 | live in nowhereland between callers and callees. | |
2384 | * i860-tdep.c: Remove decl of attach_flag. | |
2385 | * infrun.c (wait_for_inferior): Add new macro | |
2386 | INSTRUCTION_NULLIFIED, which can tell if the instruction pointed | |
2387 | at by PC will be nullified. If so, then step the target once more | |
2388 | so as to avoid confusing the user. | |
2389 | * (just before step_over_function:): Use stop_func_start, not | |
2390 | stop_pc when checking for the existance of line number info. | |
2391 | stop_func_start will reflect the proper address of the target | |
2392 | routine, not of the stub that we may be traversing to get there. | |
2393 | * tm-hppa.h: define SKIP_TRAMPOLINE_CODE and IN_SOLIB_TRAMPOLINE | |
2394 | to deal with the stubs that PA compilers sometimes stick between | |
2395 | callers and callees. Also, define FLAGS_REGNUM for access to the | |
2396 | `flags' pseudo-reg. | |
2397 | * (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Use | |
2398 | memcpy, not bcopy. | |
2399 | * (CANNOT_STORE_REGISTER): New from Utah. Says that we can't | |
2400 | write gr0, PC regs, and PSW! | |
2401 | * (FRAME_FIND_SAVED_REGS): Bug fixes from Utah. | |
2402 | * (PUSH_DUMMY_FRAME, POP_FRAME): Make into real routines in | |
2403 | hppah-nat.c. | |
2404 | * (CALL_DUMMY, FIX_CALL_DUMMY): Fixes from Utah. | |
2405 | * Define struct unwind_table_entry. | |
2406 | * valops.c (call_function_by_hand): Add another arg to | |
2407 | FIX_CALL_DUMMY (under #ifdef GDB_TARGET_IS_HPPA). Why is this | |
2408 | necessary? | |
2409 | ||
5998e362 DZ |
2410 | Mon Dec 21 02:17:57 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
2411 | ||
2412 | * remote-vx.c: remove include of "symfile.h", replace it with "complaints.h" | |
2413 | ||
a8a69e63 FF |
2414 | Fri Dec 18 10:32:25 1992 Fred Fish ([email protected]) |
2415 | ||
2416 | * Makefile.in (VERSION): Bump to 4.7.4. | |
2417 | * Makefile.in (SFILES_MAINDIR): Add typeprint.c, c-typeprint.c, | |
2418 | m2-typeprint.c, c-valprint.c cp-valprint.c m2-valprint.c. | |
2419 | * Makefile.in (HFILES): Add valprint.h. | |
2420 | * Makefile.in (OBS): Add typeprint.o, c-typeprint.o, | |
2421 | m2-typeprint.o, c-valprint.o, cp-valprint.o m2-valprint.o. | |
2422 | * typeprint.c, typeprint.h: New files for language independent | |
2423 | type printing functions. | |
2424 | * c-typeprint.c, m2-typeprint.c: New files for language dependent | |
2425 | type printing functions and definitions. | |
2426 | * valprint.h: New include file for language independent value | |
2427 | printing definitions. | |
2428 | * c-valprint.c, cp-valprint.c, m2-valprint.c: New files for language | |
2429 | dependent value printing functions. | |
2430 | * c-exp.y (production ptype): Add range_type variable and use new | |
2431 | create_range_type function. | |
2432 | * c-exp.y (tokentab2, tokentab3), c-lang.c (c_op_print_tab), | |
2433 | infcmd.c (path_var_name), language.c (unk_op_print_tab), | |
2434 | m2-lang.c (m2_op_print_tab): Change from ANSI-obsolescent | |
2435 | "const static" to ANSI-conformant "static const". | |
2436 | * c-exp.y (c_create_fundamental_type): Remove unused nbytes. | |
2437 | * c-exp.y (c_language_defn, cplus_language_defn): Add c_print_type, | |
2438 | and c_val_print. | |
2439 | * c-lang.h (c_print_type, c_val_print): Add prototypes. | |
2440 | * coffread.c (decode_type): Add range_type variable and call to | |
2441 | new create_range_type function. | |
2442 | * complaints.c (complain): Remove unused val variable. | |
2443 | * complaints.c (_initialize_complaints): Make it void. | |
2444 | * convex-tdep.c (value_of_trapped_internalvar): Add range_type | |
2445 | variable and call new create_range_type function. | |
2446 | * defs.h (enum val_prettyprint): Move enum from value.h to here | |
2447 | so we can avoid having to include value.h just for prototypes that | |
2448 | need the enum (thanks ANSI). | |
2449 | * dwarfread.c (struct_type): Local anonymous_size variable is | |
2450 | only used if !BITS_BIG_ENDIAN. | |
2451 | * dwarfread.c (decode_subscript_data_item): Add rangetype | |
2452 | variable and call new create_range_type function. | |
2453 | * elfread.c (elf_symfile_read): Remove unused dbx and text_sect | |
2454 | variables. | |
2455 | * eval.c (evaluate_subexp): Remove unused local variable name | |
2456 | and the statement with no side effects that initializes it. | |
2457 | * expprint.c (print_subexp): Change local_printstr to | |
2458 | LA_PRINT_STRING. | |
2459 | * gdbtypes.c (create_range_type): New function that creates | |
2460 | a range type using code fragments from object file readers as | |
2461 | an example of what has to be initialized. | |
2462 | * gdbtypes.c (create_array_type): Removed index_type, low_bound, | |
2463 | and high_bound parameters, replaced with a single range_type | |
2464 | parameter. Change function body to use passed in range_type | |
2465 | rather than handcrafting one. | |
2466 | * gdbtypes.h (create_range_type): Add prototype. | |
2467 | * gdbtypes.h (create_array_type): Change prototype parameters. | |
2468 | * infrun.c (normal_stop): Remove unused local variables tem and c. | |
2469 | * infrun.c (hook_stop_stub): Return 0 rather than random value. | |
2470 | * language.c (unk_lang_print_type, unk_lang_val_print): Add | |
2471 | stub functions that call error if called. | |
2472 | * language.c (unknown_language_defn, auto_language_defn, | |
2473 | local_language_defn): Add initializers unk_lang_print_type and | |
2474 | unk_lang_val_print. | |
2475 | * language.h (struct language_defn): Reformat for larger | |
2476 | comments, add la_print_type and la_val_print members. Add | |
2477 | LA_PRINT_TYPE and LA_VAL_PRINT macros. Change local_printchar | |
2478 | to LA_PRINT_CHAR and local_printstr to LA_PRINT_STRING. | |
2479 | * m2-lang.c (m2_create_fundamental_type): Remove unused local | |
2480 | variable nbytes. | |
2481 | * m2-lang.c (m2_language_defn): Add initializers m2_print_type | |
2482 | and m2_val_print. | |
2483 | * m2-lang.h (m2_print_type, m2_val_print): Add prototypes. | |
2484 | * main.c (execute_command): Remove unused local variable cmdlines. | |
2485 | * main.c (echo_command), stabsread.c (read_type), printcmd.c | |
2486 | (clear_displays), symmisc.c (block_depth), values.c | |
2487 | (clear_value_history): | |
2488 | Make testing of truth value of assignment result explicit. | |
2489 | * mipsread.c (upgrade_type): Update FIXME to include future use | |
2490 | of create_range_type. | |
2491 | * printcmd.c (ptype_command, ptype_eval, whatis_command, | |
2492 | whatis_exp, maintenance_print_type): Move prototypes and functions | |
2493 | to new typeprint.c. | |
2494 | * printcmd.c (_initialize_printcmd): Move add_com calls for | |
2495 | ptype_command and whatis_command to new typeprint.c. | |
2496 | * ser-bsd.c (serial_open): Remove unused variable sgttyb. | |
2497 | * source.c (find_source_lines): Local variable c only used | |
2498 | when LSEEK_NOT_LINEAR is defined. | |
2499 | * stabsread.c (read_array_type): Use new create_range_type | |
2500 | function. | |
2501 | * stabsread.c (read_range_type): Add new index_type variable and | |
2502 | call new create_range_type function rather than handcrafting | |
2503 | range types. | |
2504 | * symmisc.c (type_print_1): Change usages to LA_PRINT_TYPE. | |
2505 | * symtab.c (typedef_print usages): Use c_typedef_print, renamed. | |
2506 | * symtab.c (type_print_base usages): Use c_type_print_base. | |
2507 | * symtab.c (type_print_varspec_prefix usages): Use | |
2508 | c_type_print_varspec_prefix. | |
2509 | * symtab.c (type_print_method_args usages): Use | |
2510 | cp_type_print_method_args. | |
2511 | * valprint.c: Completely ripped apart and the fragments used | |
2512 | to create c-valprint.c, cp-valprint.c, m2-valprint.c, and | |
2513 | valprint.h. Remaining stuff is language independent. | |
2514 | * value.h (struct fn_field): Forward declare for prototypes. | |
2515 | * value.h (type_print_1): Remove prototype. | |
2516 | * value.h (enum val_prettyprint): Moved to defs.h. | |
2517 | * value.h (typedef_print): Prototype renamed to c_typedef_print. | |
2518 | * value.h (baseclass_offset): Add prototype. | |
a8a69e63 FF |
2519 | * Makefile.in (SFILES_MAINDIR): Add ch-typeprint.c, ch-valprint.c. |
2520 | * Makefile.in (OBS): Add ch-typeprint.o, ch-valprint.o. | |
2521 | * ch-typeprint.c: New file for language dependent type printing. | |
2522 | * ch-valprint.c: New file for language dependent value printing. | |
2523 | * ch-exp.y (parse_number): Remove prototype and stub function. | |
2524 | * ch-exp.y (decode_integer_literal): Removed unused digits and | |
2525 | temp variables. | |
2526 | * ch-exp.y (convert_float): Completely ifdef out for now. | |
2527 | * ch-exp.y (tokentab2, tokentab3, tokentab4, tokentab5), | |
2528 | ch-lang.c (chill_op_print_tab): | |
2529 | Change from ANSI-obsolescent "const static" to ANSI-conformant | |
2530 | "static const". | |
2531 | * ch-exp.y (yylex): Add unhandled storage class enumeration | |
2532 | literals to switch statement for completeness. | |
2533 | * ch-lang.c (chill_create_fundamental_types): Remove unused | |
2534 | nbytes variable. Change dummy type to 2 bytes to match int. | |
2535 | Handle FT_VOID types gratuituously added to chill DWARF by | |
2536 | compiler. Change FT_CHAR case to generate an TYPE_CODE_CHAR | |
2537 | type rather than a one byte TYPE_CODE_INT type. | |
2538 | * ch-lang.c (chill_language_defn): Add chill_print_type and | |
2539 | chill_val_print. | |
2540 | * ch-lang.h (chill_print_type, chill_val_print): Add prototypes. | |
a8a69e63 | 2541 | |
de9bef49 JG |
2542 | Thu Dec 17 00:44:57 1992 John Gilmore ([email protected]) |
2543 | ||
2544 | Eliminate uses of NAMES_HAVE_UNDERSCORE, using | |
2545 | bfd_get_symbol_leading_char instead. | |
2546 | ||
2547 | * coffread.c (EXTERNAL_NAME): New macro for removing possible | |
2548 | leading character from names. | |
2549 | (read_coff_symtab): Use BFD's FILE *, don't open a second one. | |
de9bef49 JG |
2550 | (process_coff_symbol, coff_read_struct_type, coff_read_enum_type): |
2551 | Replace NAMES_HAVE_UNDERSCORE with EXTERNAL_NAME. | |
2552 | ||
2553 | * kdb-start.c (main): Remove NAMES_HAVE_UNDERSCORE. | |
2554 | * minsyms.c (install_minimal_symbols): Replace NAMES_HAVE_UNDERSCORE. | |
2555 | Remove SOME_NAMES_HAVE_DOT support (apparently unused). | |
2556 | * partial-stab.h: Replace NAMES_HAVE_UNDERSCORE. | |
2557 | * solib.c: Replace NAMES_HAVE_UNDERSCORE. | |
2558 | * stabsread.h: Remove NAMES_HAVE_UNDERSCORE and HASH_OFFSET. | |
2559 | * symfile.c (syms_from_objfile): Insert debugging check to test | |
84a05e52 | 2560 | NAMES_HAVE_UNDERSCORE setting against the BFD support. |
de9bef49 JG |
2561 | |
2562 | * doc/gdbint.texinfo (Host Conditionals): Remove | |
2563 | NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document | |
2564 | MEM_FNS_DECLARED. | |
2565 | (Target Conditionals): Remove all of the above. | |
2566 | ||
926d7800 JG |
2567 | * xm-rs6000.h (MEM_FNS_DECLARED): Update comments. |
2568 | ||
ca5a72cd JG |
2569 | * coffread.c (read_coff_symtab, C_BLOCK): Use complain() rather |
2570 | than error() for .bb/.eb. Bug found by Eddie Fung, <[email protected]>. | |
2571 | ||
117f631e ILT |
2572 | Tue Dec 15 10:05:56 1992 Ian Lance Taylor ([email protected]) |
2573 | ||
2574 | * coffread.c (decode_type): catch negative tagndx fields generated | |
2575 | by SCO 3.2v4 cc. | |
2576 | * exec.c: comment out string following #endif. | |
2577 | * configure.in (i[34]86-*-sco3.2v4*): use host i386sco4. | |
2578 | * xm-i386sco.h: include <sys/types.h> and <sys/dir.h>, required by | |
2579 | <sys/user.h>. | |
2580 | * config/i386sco4.mh: new file; like i386sco.mh, but don't require | |
2581 | gcc, and define const to empty to avoid SCO 3.2v4 cc bug. | |
2582 | ||
51b80b00 FF |
2583 | Tue Dec 15 04:14:24 1992 Fred Fish ([email protected]) |
2584 | ||
2585 | * complaints.c: New file, code moved from utils.c. | |
2586 | * complaints.c (complain): Made into a varargs function. | |
2587 | * complaints.h: New file, code moved from symfile.h. | |
2588 | * Makefile.in (SFILES_MAINDIR): Add complaints.c. | |
2589 | * Makefile.in (HFILES): Add complaints.h. | |
2590 | * Makefile.in (OBS): Add complaints.o. | |
2591 | * symfile.c (complaint_root, stop_whining, complaint_series, | |
2592 | complain, clear_complaints, add_show_from_set for stop_whining): | |
2593 | Moved to complaints.c. | |
2594 | * symfile.h (struct complaint, complaint_root decl, complain | |
2595 | prototype, clear_complaints prototype): Moved to complaints.h. | |
2596 | * buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c, | |
2597 | gdbtypes.c, mipsread.c, stbsread.c, symfile.c: Include | |
2598 | complaints.h. Remove casts from arguments to complain(), | |
2599 | which is now a varargs function, and remove unnecessary | |
2600 | placeholder zero args. | |
2601 | * defs.h (begin_line): Add prototype. | |
2602 | * defs.h (vprintf_filtered): Add prototype. | |
2603 | * dwarfread.c (varargs.h): Remove, no longer needed. | |
2604 | * dwarfread.c (dwarfwarn): Remove prototype and function. | |
2605 | * dwarfread.c (complaints): Define a bunch of complaints. | |
2606 | * dwarfread.c (SQUAWK): Remove macro defs, convert all | |
2607 | usages to standard complain() calls. | |
2608 | * utils.c (begin_line): New function that ensures that | |
2609 | whatever gets filter-printed next starts on its own line. | |
2610 | * utils.c (vprintf_filtered): New func, like vfprintf_filtered, | |
2611 | but to stdout (calls vfprintf_filtered internally). | |
2612 | ||
031dd1a9 JG |
2613 | Tue Dec 15 02:01:00 1992 John Gilmore ([email protected]) |
2614 | ||
fb29d681 JG |
2615 | * remote.c: Avoid printf_filtered line limit. Suggested by |
2616 | Robert R. Henry, <[email protected]>. | |
ca5a72cd | 2617 | * infcmd.c (environment_info): Ditto, for Don Allen <[email protected]>. |
fb29d681 JG |
2618 | |
2619 | * main.c (main): Accept --silent as well as --quiet. Change +help | |
2620 | to --help. Suggested by Karl Berry, <[email protected]>. | |
2621 | ||
031dd1a9 JG |
2622 | * doc/gdbint.texinfo: SWAP_HOST_AND_TARGET => SWAP_TARGET_AND_HOST. |
2623 | Noticed by Andy Jackson, <[email protected]>. | |
2624 | ||
df86eb44 JG |
2625 | Mon Dec 14 23:28:15 1992 John Gilmore ([email protected]) |
2626 | ||
2627 | * tm-nindy960.h, remote-nindy.c: Lint. | |
2628 | ||
85f0a848 FF |
2629 | Mon Dec 14 18:48:52 1992 Fred Fish ([email protected]) |
2630 | ||
2631 | * gdbtypes.c (create_array_type): Complete rewrite. Now requires | |
2632 | a optional type to decorate as an array type, the type of the | |
2633 | index, and the bounds of the array. Records this additional info | |
2634 | in the array type for use with languages with nonzero array | |
2635 | bounds. | |
2636 | * gdbtypes.h (enum type_code): Update comment for TYPE_CODE_ARRAY | |
2637 | to note that arrays may have bounds. | |
2638 | * gdbtypes.h (create_array_type): Update prototype. | |
2639 | * c-exp.y (ptype production): Adjust for new create_array_type | |
2640 | calling conventions. | |
2641 | * coffread.c (decode_type): Call create_array_type rather than | |
2642 | handcrafting array types. | |
2643 | * convex-tdep.c (value_type): Remove, now use create_array_type. | |
2644 | * convex-tdep.c (value_of_trapped_internalvar): Convert calls to | |
2645 | vector_type into calls to create_array_type. | |
2646 | * dwarfread.c (decode_subscr_data): Name changed to | |
2647 | decode_subscript_data_item throughout. | |
2648 | * dwarfread.c (decode_subscript_data_item): Rewrite to use | |
2649 | create_array_type. Now records index type and range as well. | |
2650 | * dwarfread.c (dwarf_read_array_type): Rewrite as part of | |
2651 | change to use create_array_type. | |
2652 | * dwarfread.c (read_subroutine_type): Test existing user defined | |
2653 | types before decorating them, to ensure they are blank, and | |
2654 | complain about it if they are not. | |
2655 | * dwarfread.c (decode_fund_type): For unrecognized types, always | |
2656 | return some valid type (type integer). If the unrecognized type | |
2657 | cannot be an implementation defined type, complain as well. | |
2658 | * m88k-tdep.c (pushed_size): Update comment for TYPE_CODE_ARRAY. | |
2659 | * m88k-tdep.c (store_param): Update comment for TYPE_CODE_ARRAY. | |
2660 | * mipsread.c (upgrade_type): Add FIXME comment that code to | |
2661 | handcraft arrays should be replaced with call to create_array_type. | |
2662 | * stabsread.c (read_array_type): Replace code to handcraft | |
2663 | array types with call to create_array_type. | |
2664 | * valprint.c (type_print_varspec_prefix): Minor formatting | |
2665 | change, join lines that don't need to be split. | |
2666 | ||
01d1590b SG |
2667 | Mon Dec 14 17:18:42 1992 Stu Grossman (grossman at cygnus.com) |
2668 | ||
fb29d681 | 2669 | * convex-xdep.c, hppab-nat.c, infptrace.c: Remove |
01d1590b SG |
2670 | decl for attach_flag, it now lives in inferior.h. |
2671 | * hppa-pinsn.c: Reformat opcode tables. Add function prototypes. | |
2672 | Make most functions static. | |
2673 | * hppah-nat.c: General cleanups, remove BSD specific code (since | |
2674 | that all lives in hppab-nat.c). | |
2675 | * hppah-tdep.c (frame_chain_valid), tm-hppa.h (FRAME_CHAIN): | |
2676 | Change sense of test against inside_entry_file(). This fix is | |
2677 | from U. of Utah. | |
2678 | * tm-hppa.h (PUSH_DUMMY_FRAME, POP_FRAME): Use char * for 2nd arg | |
2679 | to read/write_register_bytes(). | |
7f70a275 SG |
2680 | * gdbtypes.h: Remove const from decl for cplus_struct_default to |
2681 | work around PA-GAS assembler bug. Also, add trailing */ to some | |
2682 | comments. | |
2683 | * gdbtypes.c: Remove const from decl for cplus_struct_default. | |
2684 | Same reason as above. | |
01d1590b | 2685 | |
b69d8432 JG |
2686 | Wed Dec 9 19:53:25 1992 John Gilmore ([email protected]) |
2687 | ||
c8aac932 JG |
2688 | * mipsread.c (parse_symbol): When checking whether a structured |
2689 | type is an enum, check qualifiers of its first member, as well as | |
2690 | the base type of the member. Bug found and fixed by John M. | |
01d1590b | 2691 | Farrell, <[email protected]>. |
c8aac932 | 2692 | |
b69d8432 JG |
2693 | * vx-share/{reg.h,xdr_regs.h,xdr_regs.c}: Remove, unused. |
2694 | * remote-vx.c: Don't include vx-share/reg.h. | |
2695 | * vx-share/ptrace.h: Reproduce from scratch. | |
c8aac932 | 2696 | * config/{vxworks68,vxworks960}: Don't include xdr_regs.o. |
01d1590b SG |
2697 | * Makefile.in: Remove references to removed files, and to removed |
2698 | 29k-share directories. | |
b69d8432 | 2699 | |
160be0de FF |
2700 | Tue Dec 8 13:30:58 1992 Fred Fish ([email protected]) |
2701 | ||
d62e7a20 FF |
2702 | * c-lang.c (_initialize_c_language): Name changed from |
2703 | _initialize_c_exp. | |
2704 | * m2-lang.c (_initialize_m2_language): Name changed from | |
2705 | _initialize_m2_exp. | |
2706 | * m2-lang.c (_initialize_m2_language): Change malloc to xmalloc since | |
2707 | it is no longer inside m2-exp.y, where it was remapped by Makefile. | |
22e39759 FF |
2708 | * c-exp.y, m2-exp.y: Migrate code that has nothing to do with |
2709 | expression parsing into c-lang.c and m2-lang.c respectively. | |
2710 | * c-lang.c, m2-lang.c: New files, code migrated from c-exp.y and | |
2711 | m2-exp.y respectively. | |
2712 | * c-lang.h, m2-lang.h: New files, internal interfaces between c-* | |
2713 | and m2-* files respectively. | |
2714 | * Makefile.in (SFILES_MAINDIR): Add c-lang.c, m2-lang.c. | |
2715 | * Makefile.in (HFILES): Add c-lang.h, m2-lang.h. | |
2716 | * Makefile.in (OBS): Add c-lang.o, m2-lang.o. | |
2717 | * expression.h (struct block): Forward declaration for prototypes. | |
2718 | * language.h (struct objfile): Forward declaration for prototypes. | |
22e39759 FF |
2719 | * Makefile.in (SFILES_MAINDIR): Add ch-lang.c. |
2720 | * Makefile.in (HFILES): Add ch-lang.h. | |
2721 | * Makefile.in (OBS): Add ch-lang.o. | |
2722 | * ch-exp.y: Migrate code that has nothing to do with expression | |
2723 | parsing into ch-lang.c. | |
2724 | * ch-lang.c: New file, code migrated from c-exp.y. | |
2725 | * ch-lang.h: New file, internal interface between ch-* files. | |
d62e7a20 FF |
2726 | * ch-lang.c (_initialize_chill_language): Name changed from |
2727 | _initialize_chill_exp. | |
22e39759 | 2728 | |
160be0de FF |
2729 | Changes for Amiga Unix from [email protected]. |
2730 | * config/amix.mh (NAT_FILE): Add, set to nm-sysv4.h. | |
2731 | * config/amix.mh (NATDEPFILES): Add. | |
2732 | * config/amix.mh (XDEPFILES): Move procfs.o and fork-child.o | |
2733 | to NATDEPFILES. | |
2734 | ||
2735 | * dwarfread.c (decode_subscr_data): Remove spurious test that | |
2736 | accepted only integer subscript types. We don't do anything | |
2737 | with the type at the moment anyway. | |
2738 | ||
aed656ba FF |
2739 | Fri Dec 4 06:56:56 1992 Fred Fish ([email protected]) |
2740 | ||
2741 | * ch-exp.y (match_character_literal): Fix case where no | |
2742 | match at all is found. | |
64e738a3 FF |
2743 | * ch-exp.y (chill_create_fundamental_type): Chill uses fixed |
2744 | width types. For example, "INT" is always 2 bytes regardless | |
2745 | of the values of any TARGET_*_BIT macros. So use explicit | |
2746 | numeric sizes for the types. | |
aed656ba | 2747 | |
bf229b4e FF |
2748 | Thu Dec 3 12:00:06 1992 Fred Fish ([email protected]) |
2749 | ||
2750 | * c-exp.y (c_create_fundamental_type): New function to create | |
2751 | language specific fundamental types for C. | |
2752 | * m2-exp.y (m2_create_fundamental_type): New function to create | |
2753 | language specific fundamental types for Modula 2. | |
2754 | * c-exp.y (c_language_defn, cplus_language_defn): Add | |
2755 | c_create_fundamental_type to language struct initializers. | |
2756 | * m2-exp.y (m2_language_defn): Add m2_create_fundamental_type | |
2757 | to language struct initializers. | |
2758 | * dwarfread.c (expression.h, language.h): Include. | |
2759 | * dwarfread.c (ftypes): New array to hold fundamental types | |
2760 | for current compilation unit. | |
2761 | * dwarfread.c (cu_language_defn): New pointer to language | |
2762 | struct for language of current compilation unit. | |
2763 | * dwarfread.c (dwarf_fundamental_type): New function to | |
2764 | create/lookup fundamental types. | |
2765 | * dwarfread.c (set_cu_language): Initialize cu_language_defn. | |
2766 | * dwarfread.c (throughout): Replace lookup_fundamental_type | |
2767 | with dwarf_fundamental_type. | |
2768 | * dwarfread.c (read_file_scope): Zero out ftypes for each new | |
2769 | compilation unit (may be different language or different objfile). | |
2770 | * gdbtypes.c (lookup_fundamental_type): Move actual type | |
2771 | creations into language specific fundamental type creation | |
2772 | functions and call via create_fundamental_type. Add comment | |
2773 | about this function being obsolescent. | |
2774 | * gdbtypes.h (FT_BYTE, FT_UNSIGNED_BYTE): New types, true byte | |
2775 | sized signed and unsigned integers. | |
2776 | * gdbtypes.h (FT_NUM_MEMBERS): Increment, new types added. | |
2777 | * language.c (language_def): New function to lookup a language | |
2778 | struct given it's enumeration. | |
2779 | * language.h (struct language_defn): Add la_fund_type, a pointer | |
2780 | to a function that creates fundamental types for this language. | |
2781 | * language.h (create_fundamental_type): New macro to create | |
2782 | fundamental types based on the current language. | |
2783 | * language.h (language_def): Add prototype. | |
2784 | * language.c (unk_lang_create_fundamental_type): New function | |
2785 | for initializing language structs, calls error if called. | |
2786 | * language.c (unk_language_defn, auto_language_defn, | |
2787 | local_language_defn): Use unk_lang_create_fundamental_type. | |
bf229b4e FF |
2788 | ch-exp.y (chill_create_fundamental_type): New function. |
2789 | ch-exp.y (chill_language_defn): Add chill_create_fundamental_type. | |
2790 | ch-exp.y (_initialize_chill_exp): BOOL types are only one byte. | |
bf229b4e | 2791 | |
93bb6e65 FF |
2792 | Tue Dec 1 17:07:31 1992 Fred Fish ([email protected]) |
2793 | ||
2794 | * dwarfread.c (CHILL_PRODUCER): Add producer string for | |
2795 | GNU chill. | |
2796 | * dwarfread.c (handle_producer): Test CHILL_PRODUCER as well | |
2797 | as GCC_PRODUCER and GPLUS_PRODUCER. | |
93bb6e65 | 2798 | |
7c86126f SG |
2799 | Mon Nov 30 18:46:58 1992 Stu Grossman (grossman at cygnus.com) |
2800 | ||
2801 | * remote-udi.c (udi_wait): Don't stop if TIP says that remote is | |
2802 | still running. | |
2803 | ||
394171ac FF |
2804 | Mon Nov 30 12:00:25 1992 Fred Fish ([email protected]) |
2805 | ||
2806 | * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.' | |
2807 | rather than '$'. This particular piece of braindamage is | |
2808 | spreading like ooze. It's now infected libiberty, deja-gnu, | |
2809 | gdb, and gcc. | |
2810 | * values.c (baseclass_addr): Use CPLUS_MARKER rather than | |
2811 | hardwired '$' character. | |
2812 | ||
e7177cc2 | 2813 | Sun Nov 29 15:22:42 1992 Fred Fish ([email protected]) |
cbd1bdc3 | 2814 | |
e7177cc2 FF |
2815 | (Changes to break incredibly ugly, unmaintainable 750 line |
2816 | read_struct_type function up into managable pieces.) | |
b076b3f8 | 2817 | * Makefile.in (VERSION): Bump to 4.7.3. |
e7177cc2 FF |
2818 | * stabsread.c (struct field_info): Local struct definition. |
2819 | * stabsread.c (read_member_functions, read_struct_fields, | |
2820 | read_baseclasses, read_tilde_fields, attach_fn_fields_to_type, | |
2821 | attach_fields_to_type, read_cpp_abbrev): Prototypes and new | |
2822 | functions from fragmented read_struct_type. | |
2823 | * stabsread.c (stabs_general_complaint): Catchall complaint. | |
2824 | * stabsread.c (STABS_CONTINUE): Macro'ize cretinous stabs | |
2825 | symbol name continuation code. Use macro throughout. | |
2826 | * stabsread.c (various places): Replace add-one-to-pointer | |
2827 | with pointer increment. | |
2828 | * stabsread.c (read_type): Retain function local copy of type | |
2829 | descriptor. Rearrange code calling read_struct_type() to match | |
2830 | new conventions. | |
94daba7f FF |
2831 | * stabsread.c (define_symbol): For the sake of dbx, gcc emits |
2832 | a single blank as the name of nameless enumerations. Recognize | |
2833 | this special case and set nameless flag. | |
cbd1bdc3 FF |
2834 | * ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): New |
2835 | terminal tokens. | |
2836 | * ch-exp.y (access_name): New non-terminal token and | |
2837 | production. | |
2838 | * ch-exp.y (general_procedure_name): Now a terminal token. | |
2839 | * ch-exp.y (location): Expand production. | |
2840 | * ch-exp.y (match_simple_name_string): New function. | |
2841 | * ch-exp.y (yylex): Call match_simple_name_string and return | |
2842 | GENERAL_PROCEDURE_NAME or LOCATION_NAME as appropriate. | |
cbd1bdc3 | 2843 | |
d1065385 FF |
2844 | Wed Nov 25 07:17:13 1992 Fred Fish ([email protected]) |
2845 | ||
b9b6dbc2 FF |
2846 | * munch: Backslash escape vertical bar characters inside |
2847 | grep patterns since they have special meaning for some greps. | |
d1065385 FF |
2848 | * parse.c (write_exp_string): Complete rewrite to store string |
2849 | contants as a leading explicit length, followed by the string data, | |
2850 | followed by a trailing explicit length. | |
2851 | * eval.c (evaluate_subexp), expprint.c (print_subexp), | |
2852 | parse.c (length_of_subexp), parse.c (prefixify_subexp): | |
2853 | Use recorded explicit length of strings in expression elements, | |
2854 | rather than strlen. Adjust code to skip over strings stored in | |
2855 | expression elements, and code to access strings, to account for | |
2856 | new leading explicit size expression element. | |
2857 | * parse.c (length_of_subexp): Test for minimum endpos of 1, not | |
2858 | 0, to avoid negative expression element indices. | |
2859 | * valops.c (search_struct_method): Minor whitespace change. | |
2860 | ||
5707ea9f FF |
2861 | Mon Nov 23 11:14:15 1992 Fred Fish ([email protected]) |
2862 | ||
bac89d6c FF |
2863 | * c-exp.y (yylex): Add tempbuf, tempbufindex, and tempbufsize, |
2864 | which together maintain a dynamically expandable static buffer | |
2865 | for the lexer to use when translating C strings to their internal | |
2866 | form (other future uses possible). Fix parsing of C style strings | |
2867 | to do the normal C style input conversions of escaped character | |
2868 | sequences. | |
2869 | * valops.c (value_string): Remove translation of escaped | |
2870 | character sequences, now done in C expression parser. | |
5707ea9f FF |
2871 | * language.h (PRINT_LITERAL_FORM): New macro that takes character |
2872 | and decides if it should be printed in literal form or some other | |
2873 | form, based on it's ASCII value and setting of sevenbit_strings. | |
2874 | * {c-exp.y, m2-exp.y} (emit_char): Use new PRINT_LITERAL_FORM | |
2875 | macro, change indentation style. | |
5707ea9f FF |
2876 | * ch-exp.y (chill_printchar): Use new PRINT_LITERAL_FORM macro. |
2877 | * ch-exp.y (chill_printstr): First cut at real function instead | |
2878 | of error stub. | |
5707ea9f | 2879 | |
36e0df23 DZ |
2880 | Sun Nov 22 16:21:41 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
2881 | ||
2882 | * nindy-share/stop.h: fixed bogus comment-end in copyright message | |
2883 | ||
2884 | * i960-pinsn.c: fixed two calls of fputs_filtered that had 3 arguments | |
2885 | ||
5d074aa9 FF |
2886 | Fri Nov 20 21:35:57 1992 Fred Fish ([email protected]) |
2887 | ||
2888 | * defs.h (sevenbit_strings): Add declaration. | |
2889 | * defs.h (printchar): Replace with gdb_printchar. | |
2890 | * language.h (language_defn): Add new function pointers | |
2891 | la_printchar and la_printstr, to do language dependent | |
2892 | printing of characters and strings. | |
2893 | * language.h (local_printchar, local_printstr): New macros | |
2894 | to call language dependent functions pointed to by la_printchar | |
2895 | and la_printstr respectively. | |
2896 | * c-exp.y (emit_char, c_printchar, c_printstr): New language | |
2897 | dependent functions for printing characters and strings. | |
2898 | * c-exp.y (c_language_defn, cplus_language_defn): Add | |
2899 | c_printchar and c_printstr. | |
2900 | * command.c (do_setshow_command): Rename printchar use to | |
2901 | gdb_printchar. | |
2902 | * expprint.c (print_subexp): Replace C style string output | |
2903 | with call to local_printstr. | |
2904 | * language.c (unk_lang_printchar, unk_lang_printstr): | |
2905 | New stubs, currently errors. | |
2906 | * language.c (unknown_language_defn, auto_language_defn, | |
2907 | local_language_defn): Add unk_lang_printchar and | |
2908 | unk_lang_printstr. | |
2909 | * m2-exp.y (emit_char, m2_printchar, m2_printstr): New | |
2910 | language dependent functions to print characters and strings. | |
2911 | * m2-exp.y (m2_language_defn): Add m2_printchar and m2_printstr. | |
2912 | * utils.c (printchar): Renamed to gdb_printchar. | |
2913 | * valprint.c (print_string): Remove prototype, function moved | |
2914 | to c-exp.y, where it becomes c_printstr. | |
2915 | * valprint.c (print_max): Made global for reference from the | |
2916 | language dependent printing routines in *-exp.y. | |
2917 | * valprint.c (repeat_count_threshold): New variable with function | |
2918 | of old REPEAT_COUNT_THREHOLD define, but now settable by user. | |
2919 | Change all references to old macro to references to new variable. | |
2920 | * valprint.c (value_print, val_print): Replace calls to | |
2921 | print_string with calls to local_printstr. | |
2922 | * valprint.c (val_print): Replace C style character printing | |
2923 | with call to local_printchar. | |
2924 | * valprint.c (val_print): Add case for TYPE_CODE_CHAR. | |
2925 | * valprint.c (_initialize_valprint): Add add_show_from_set | |
2926 | call for setting up repeat_count_threshold as print variable. | |
5d074aa9 FF |
2927 | * ch-exp.y (decode_integer_value): New function. |
2928 | * ch-exp.y (decode_integer_literal): Use decode_integer_value. | |
2929 | * ch-exp.y (chill_printchar, chill_printstr): New language | |
2930 | dependent functions for printing characters and strings. | |
2931 | * ch-exp.y (chill_language_defn): Add chill_printchar and | |
2932 | chill_printstr. | |
5d074aa9 | 2933 | |
b0944a33 JG |
2934 | Thu Nov 19 21:22:21 1992 John Gilmore ([email protected]) |
2935 | ||
2936 | * main.c (main): Print GDB version number in gdb -help; doc pid arg. | |
2937 | Suggested by Marty Leisner, <[email protected]>. | |
2938 | (print_gdb_version): New arg is stdout or stderr. Callers changed. | |
2939 | ||
195b44d9 ILT |
2940 | Wed Nov 18 15:05:45 1992 Ian Lance Taylor ([email protected]) |
2941 | ||
2942 | * remote-vx.c (vx_kill): just warn if we can't contact the board, | |
2943 | and assume the process has been killed. | |
2944 | ||
2104007f SG |
2945 | Wed Nov 18 14:39:57 1992 Stu Grossman (grossman at cygnus.com) |
2946 | ||
2104007f SG |
2947 | * remote-udi.c (udi_open): Reset vars so that user can re-run |
2948 | programs without leaving GDB. | |
2949 | * (many routines): Slightly improve error handling. | |
2950 | * (download): Zero out BSS by longs instead of bytes to avoid | |
2951 | timeouts in real hardware. | |
2952 | * 29k-share/udi/udip2soc.c (UDIDisconnect, UDIKill): Indicate | |
2953 | that connection is no longer in use after shutdown() of socket. | |
2954 | This keeps GDB from dying of a SIGPIPE when you issue multiple | |
2955 | `target udi' commands. | |
2956 | ||
2e66cf7d FF |
2957 | Wed Nov 18 14:27:47 1992 Fred Fish ([email protected]) |
2958 | ||
2959 | * language.h (language_format_info): New structure to bundle | |
2960 | local formatting information. | |
2961 | * language.h (language_defn): Replace individual format info | |
2962 | with language_format_info structs. | |
2963 | * language.h (local_*_format, local_*_format_prefix, | |
2964 | local_*_format_specifier, local_*_format_suffix): New macros | |
2965 | for binary/octal/decimal/hex formats to access info elements. | |
2966 | * c-exp.y (c_language_defn): Update for new format handling. | |
2967 | * m2-exp.y (m2_language_defn): Update for new format handling. | |
2968 | * dbxread.c (language.h): Include for partial-stab.h use. | |
5d074aa9 FF |
2969 | * mipsread.c (expression.h, language.h): Include for |
2970 | partial-stab.h use. | |
2e66cf7d FF |
2971 | * defs.h (local_hex_format, local_hex_format_custom, |
2972 | local_hex_string, local_hex_string_custom): Move to language.h. | |
2973 | * language.c (local_hex_format_custom, local_hex_string, | |
2974 | local_hex_string_custom, local_octal_format_custom): Use new | |
2975 | format handling. | |
2976 | * language.c (unknown_language_defn, auto_language_defn, | |
2977 | local_language_defn): Update for new format handling. | |
2978 | * printcmd.c (print_scalar_formatted): Use new macros | |
2979 | to access decimal and binary format info for printing. | |
2e66cf7d FF |
2980 | * c-exp.y (chill_language_defn): Update for new format handling. |
2981 | * ch-exp.y (CHARACTER_LITERAL): Add support to yylex. | |
5d074aa9 FF |
2982 | * ch-exp.y (decode_integer_literal): Add function |
2983 | * ch-exp.y (match_integer_literal): Use decode_integer_literal. | |
2e66cf7d FF |
2984 | * ch-exp.y (builtin_type_chill_char): Add definition. |
2985 | * gdbtypes.h (builtin_type_chill_char): Add declaration. | |
2e66cf7d | 2986 | |
cdb1cc92 ILT |
2987 | Tue Nov 17 11:17:06 1992 Ian Lance Taylor ([email protected]) |
2988 | ||
2989 | * tm-rs6000.h (BELIEVE_PCC_PROMOTION): Define, since AIX cc gets | |
2990 | it right. | |
2991 | (aix_framedata): added nosavedpc field. | |
2992 | (SAVED_PC_AFTER_CALL): Don't try to optimize; just call | |
2993 | read_register. | |
2994 | (FRAMELESS_FUNCTION_INVOCATION): Pass second argument of 0. | |
2995 | (FRAME_SAVED_PC): If PC not saved, use SAVED_PC_AFTER_CALL. | |
2996 | * rs6000-tdep.c (skip_prologue): Handle gcc generated stfd | |
2997 | instructions as function_frame_info does. Expand special case of | |
2998 | st r31,-4(r1) to be st r31,NUM(r1), since gcc can generate offsets | |
2999 | other than -4. | |
3000 | (pop_frame): Add 4 rather than sizeof (int) to avoid host | |
3001 | dependence. | |
3002 | (function_frame_info): Set frameless if the function has no frame, | |
3003 | and set nosavedpc if the PC was not saved. Handle gcc generated | |
3004 | stfd 31,-4(31); st 31, -12(31) correctly. | |
3005 | (frameless_function_invocation): New second argument pcsaved; if 0 | |
3006 | return whether the function has a frame, if 1 return whether the | |
3007 | function saved PC. | |
3008 | (frame_initial_stack_address): Correct typo: cache registers for | |
3009 | callee_fi, not for fi, (avoids reading garbage memory locations). | |
3010 | ||
b638ca91 SG |
3011 | Mon Nov 16 15:58:07 1992 Stu Grossman (grossman at cygnus.com) |
3012 | ||
cdb1cc92 ILT |
3013 | * infrun.c (wait_for_inferior (just before step_over_function |
3014 | label)): Change test for stepping into subroutine to check for the | |
3015 | presence of line number info. This makes stuff compiled with -g1 | |
3016 | cause GDB to not lose control when stepping. | |
3017 | ||
b638ca91 SG |
3018 | * symtab.c (find_pc_line): Improve code per gnu's suggestions. |
3019 | Improve comments as well. | |
3020 | ||
e58de8a2 FF |
3021 | Sun Nov 15 09:22:09 1992 Fred Fish ([email protected]) |
3022 | ||
45a655b0 FF |
3023 | * Makefile.in (VERSION): Bump to 4.7.2 |
3024 | * symtab.c (find_pc_symtab): Fix return of random value | |
3025 | to caller. | |
e58de8a2 FF |
3026 | * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add dependency on |
3027 | Makefile since it contains sed patterns used in generation. | |
3028 | Add sed pattern to also delete #include of any malloc.h. | |
e58de8a2 FF |
3029 | * c-exp.y, expr.c, expression.h, language.c, m2-exp.y, |
3030 | parser-defs.h, valarith.c, valops.c, value.h: Remap macros and | |
3031 | function names to conform to K&R terminology with respect to | |
3032 | logical and bitwise operators: | |
3033 | UNOP_ZEROP => UNOP_LOGICAL_NOT | |
3034 | UNOP_LOGNOT => UNOP_COMPLEMENT | |
3035 | BINOP_LOGAND => BINOP_BITWISE_AND | |
3036 | BINOP_LOGXOR => BINOP_BITWISE_XOR | |
3037 | BINOP_LOGIOR => BINOP_BITWISE_IOR | |
3038 | BINOP_AND => BINOP_LOGICAL_AND | |
3039 | BINOP_OR => BINOP_LOGICAL_OR | |
3040 | PREC_OR => PREC_LOGICAL_OR | |
3041 | PREC_AND => PREC_LOGICAL_AND | |
3042 | PREC_LOGIOR => PREC_BITWISE_IOR | |
3043 | PREC_LOGXOR => PREC_BITWISE_XOR | |
3044 | PREC_LOGAND => PREC_BITWISE_AND | |
3045 | value_zerop() => value_logical_not() | |
3046 | value_lognot() => value_complement() | |
3047 | * c-exp.y (c_op_print_tab): Add explicit empty terminator. | |
3048 | * m2-exp.y (m2_op_print_tab): Add explicit empty terminator. | |
19cfe25d FF |
3049 | * i387-tdep.c (sys/dir.h): Remove, appears to be unnecessary |
3050 | and is nonexistant in some SVR4 based systems. | |
3051 | * language.c (DEFAULT_ALLOCSIZE): Change from 3 => 4. | |
3052 | * m2-exp.y (number_sign, modblock): Make static, #ifdef out | |
3053 | unused modblock. | |
3054 | * m2-exp.y (ANDAND): Rename to LOGICAL_AND. | |
3055 | * source.c (source_info): Fix minor nits, print "1 line" rather | |
3056 | than "1 lines", and "language is <lang>". | |
3057 | * valarith.c (value_binop): Handle TYPE_CODE_BOOL as well | |
3058 | as TYPE_CODE_INT and TYPE_CODE_FLOAT. | |
3059 | * valprint.c (val_print): Print TYPE_CODE_BOOL type values as | |
3060 | "TRUE" or "FALSE". | |
3061 | * values.c (value_from_longest): Handle TYPE_CODE_BOOL. | |
19cfe25d | 3062 | * ch-exp.y: New expression parser, for GNU-Chill. |
e58de8a2 FF |
3063 | * defs.h (enum language): Add language_chill. |
3064 | * dwarfread.c (set_cu_language): Add LANG_CHILL case and make | |
3065 | LANG_MODULA2 a recognized language. | |
e58de8a2 FF |
3066 | * gdbtypes.h (enum_typecode): Note TYPE_CODE_BOOL used for |
3067 | Chill as well as Modula-2. | |
3068 | * gdbtypes.y (builtin_type_chill_bool, builtin_type_chill_long, | |
3069 | builtin_type_chill_ulong, builtin_type_chill_real): Add. | |
e58de8a2 FF |
3070 | * language.c (set_language_command): Add chill. |
3071 | * language.c (binop_result_type, integral_type, character_type, | |
3072 | boolean_type, structured_type, value_true, binop_type_check): | |
3073 | Add language_chill cases. | |
3074 | * language.h (_LANG_chill): Define. | |
e58de8a2 FF |
3075 | * symfile.c (deduce_language_from_filename): Recognize the |
3076 | filename extensions ".chill", ".c186", and ".c286" for Chill. | |
e58de8a2 | 3077 | * valprint.c (typedef_print): Add case for language_chill. |
19cfe25d FF |
3078 | * Makefile.in (SFILES_MAINDIR): Add ch-exp.y. |
3079 | * Makefile.in (YYFILES): Add ch-exp.tab.c. | |
3080 | * Makefile.in (YYOBJ): Add ch-exp.tab.o. | |
3081 | * Makefile.in (saber_gdb): Add unload of ch-exp.y and load | |
3082 | of ch-exp.tab.c. | |
3083 | * Makefile.in (distclean): Add target ch-exp.tab.c. | |
3084 | * Makefile.in (realclean): Add rm of ch-exp.tab.c. | |
3085 | * Makefile.in (ch-exp.tab.o, ch-exp.tab.c): New targets. | |
3086 | * eval.c (evaluate_subexp): Add OP_BOOL case. | |
3087 | * expprint.c (print_subexp): Add OP_BOOL case. | |
e58de8a2 | 3088 | |
cbf15d9a JG |
3089 | Fri Nov 13 20:36:28 1992 John Gilmore ([email protected]) |
3090 | ||
3091 | * infcmd.c (set_environment_command): Avoid skipping first | |
3092 | char of env value if an '=' appears in it. Bug report and fix | |
3093 | by Mark Jungerman, <[email protected]>. | |
3094 | ||
c1878f87 SG |
3095 | Fri Nov 13 20:24:10 1992 Stu Grossman (grossman at cygnus.com) |
3096 | ||
3097 | * infcmd.c (step_over_calls): Improve comments. | |
3098 | * symtab.c (find_pc_psymtab): Clean up a bit. | |
3099 | * (find_pc_symtab): Fix comments, clean up code. | |
3100 | * (find_pc_line): General cleanups, efficiency improvements. | |
3101 | Also, don't return garbage when some line info exists, but there | |
3102 | was no good match. | |
3103 | ||
cbf15d9a JG |
3104 | Thu Nov 5 23:04:38 1992 Rob Ryan ([email protected]) |
3105 | ||
3106 | * xcoffexec.c (vmap_symtab): fixed a bug where if a object has no | |
3107 | member, and the stat pointer passed to vmap_symtab was NULL, the | |
3108 | wrong vmap entries would be modified. Fixes behavior where | |
3109 | attempting to load symbols for a module with no member would mess | |
3110 | up already read in symbols. | |
3111 | ||
b6113cc4 SG |
3112 | Wed Nov 11 17:09:17 1992 Stu Grossman (grossman at cygnus.com) |
3113 | ||
3114 | * Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and | |
3115 | 29k-share/dfe/mini2udi.o. | |
3116 | * config/a29k-udi.mt: Remove yank.o and mini2udi.o. | |
3117 | * alldeps.mak, depend: Update to deal with removal of | |
3118 | aforementioned files. | |
3119 | * remote-udi.c: Major cleanups. Clean up udi_open and drop | |
3120 | requirement for useless 'program' argument. Clean up | |
3121 | udi_create_inferior, and udi_load to call common download() | |
3122 | routine. Create download routine to load remote hosts directly | |
3123 | (with the help of BFD) so that we don't need yank.c and | |
3124 | mini2udi.c. | |
3125 | Fix udi_detach to call UDIDisconnect with | |
3126 | the right arguments. Clean up udi_resume, don't assign tip_error | |
3127 | twice. Clean up udi_wait, straighten out status codes. Make | |
3128 | udi_kill really work. | |
3129 | ||
3130 | Fri Nov 6 10:26:01 1992 Steve Chamberlain ([email protected]) | |
3131 | ||
3132 | * c-exp.y: separated host/target idea of integer type size, | |
3133 | removed redundant parse rules. (YYSTYPE): added typed_val, removed | |
3134 | UINT and CHAR rules. (parse_number): work out the targetwise type | |
3135 | of a number based upon it's size and qualifiers. (yylex): chars | |
3136 | are now treated the same way as ints. | |
3137 | ||
3138 | * source.c (indentify_source_line): don't core dump if wanted | |
3139 | line is larger than number of lines in source. (can happen when | |
3140 | coff gets confused about #included source). | |
3141 | ||
59c84bd8 JG |
3142 | Fri Nov 6 03:00:39 1992 John Gilmore ([email protected]) |
3143 | ||
3144 | Fix problems noticed by Allan Steel, <[email protected]>, | |
3145 | when debugging a program with 100 shared libraries. | |
3146 | ||
3147 | * solib.c (solib_map_sections): Always close the BFD we open. | |
3148 | Free all malloc'd storage we allocate, too, including error cases. | |
3149 | (struct so_list): Remove unused so_bfd member. | |
3150 | (clear_solib): Don't bother closing so_bfd. | |
3151 | ||
3152 | * symfile.c (symfile_bfd_open): Mark newly opened BFD as | |
3153 | cacheable. `So many symbol files, so little file descriptors.' | |
3154 | ||
8a96d79b JG |
3155 | Fri Nov 6 00:14:38 1992 John Gilmore ([email protected]) |
3156 | ||
3157 | * m68k-stub.c: Remove ansidecl.h and the few uses of it. | |
3158 | Stubs should stand alone as much as possible. | |
3159 | ||
3160 | * source.c (show_directories): Avoid printf_filtered length prob | |
3161 | pointed out by Jonathan Stone. | |
3162 | ||
3163 | * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper limit properly to | |
3164 | avoid accesses beyond end of table. Fix by Lee W. Cooprider, | |
3165 | <[email protected]>. | |
3166 | ||
402dca80 FF |
3167 | Thu Nov 5 17:33:08 1992 Fred Fish ([email protected]) |
3168 | ||
3169 | * {ser-bsd.c, ser-termios.c} (serial_close): Pass address of | |
3170 | struct, not struct itself. | |
3171 | * serial.h (serial_restore): Fix prototype, takes pointer not | |
3172 | struct. | |
3173 | ||
2352d20b SG |
3174 | Thu Nov 5 17:12:42 1992 Stu Grossman (grossman at cygnus.com) |
3175 | ||
3176 | * Makefile.in (depend): Add nm.h to the list of things to fixup. | |
3177 | * depend: Redo, to fixup nm.h problems with *-tab.c files. | |
3178 | ||
61f55ca3 JG |
3179 | Thu Nov 5 00:19:51 1992 John Gilmore ([email protected]) |
3180 | ||
042bf84c JG |
3181 | * i386-stub.c: Remove ansidecl.h and the few uses of it. |
3182 | Stubs should stand alone as much as possible. | |
3183 | ||
61f55ca3 JG |
3184 | * README: Add remote-es1800.c and remote-st2000.c to table. |
3185 | * go32-nat.c: Remove, there is no native go32 support. | |
3186 | * go32-xdep.c: Remove unused fork, fvork, wait, execlp, kill_inferior. | |
3187 | ||
740b7efa SG |
3188 | Wed Nov 4 15:27:31 1992 Stu Grossman (grossman at cygnus.com) |
3189 | ||
1549918a SG |
3190 | * inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap): Add |
3191 | new routines to deal with sending SIGINTs to attached processes | |
3192 | when the user interrupts the controlling GDB. | |
3193 | * inftarg.c (child_wait), procfs.c (procfs_wait): Add calls to | |
3194 | the aforementioned routines when waiting for the attached process. | |
3195 | ||
740b7efa SG |
3196 | * elfread.c, mipsread.c: Include <string.h>. |
3197 | * i386-stub.c: Include "ansidecl.h" to deal with prototypes. | |
3198 | * serial.h: Add prototype for serial_restore(). | |
3199 | ||
a521e93a ILT |
3200 | Wed Nov 4 11:13:25 1992 Ian Lance Taylor ([email protected]) |
3201 | ||
3202 | * minsyms.c (lookup_minimal_symbol_by_pc): subtract 1, not 2, from | |
3203 | minimal_symbol_count, because the NULL symbol is not included in | |
3204 | the count. This prevented this function from finding the last | |
3205 | symbol in the table. | |
3206 | ||
b1fbbed4 ILT |
3207 | Tue Nov 3 11:29:17 1992 Ian Lance Taylor ([email protected]) |
3208 | ||
3209 | * dbxread.c (process_one_symbol): if not defined | |
3210 | (BLOCK_ADDRESS_FUNCTION_RELATIVE), set function_start_offset at | |
3211 | the start of the function, not just after N_FUN. | |
3212 | ||
3213 | Fri Oct 30 16:33:02 1992 Fred Fish ([email protected]) | |
e35843d4 FF |
3214 | |
3215 | * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add sed patterns to | |
3216 | remap all malloc's to xmalloc's and all realloc's to xrealloc's. | |
3217 | * c-exp.y, m2-exp.y: Add comment about how malloc/realloc are | |
3218 | remapped to xmalloc/xrealloc, use only malloc/realloc in grammer | |
3219 | file. Remove preprocessor defines that previously did remapping. | |
3220 | ||
61f55ca3 JG |
3221 | Fri Oct 30 00:58:18 1992 John Gilmore ([email protected]) |
3222 | ||
3223 | * infcmd.c (run_command): Avoid long calls to printf_filtered. | |
3224 | Bug fix courtesy of Alexander Klaiber. | |
3225 | ||
851fffcf RP |
3226 | Tue Oct 27 17:08:45 1992 K. Richard Pixley ([email protected]) |
3227 | ||
b1de302a RP |
3228 | hp300 native support (hp300hpux untested). |
3229 | ||
3230 | * hp300ux-xdep.c: removed. | |
3231 | * xm-hp300bsd.h (REGISTER_U_ADDR): removed. | |
3232 | * xm-hp300hpux.h: updated copyright. | |
3233 | (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): removed. | |
3234 | * nm-hp300bsd.h, nm-hp300hpux.h, hp300ux-nat.c: new files. | |
3235 | * Makefile.in (HFILES): added nm-hp300bsd.h and nm-hp300hpux.h. | |
3236 | * config/hp300bsd.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3237 | fork-child.o coredep.o corelow.o. | |
3238 | (NAT_FILE, NATDEPFILES): new macros. | |
3239 | * config/hp300bsd.mt (TDEPFILES): removed exec.o. | |
3240 | * config/hp300hpux.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3241 | fork-child.o. | |
3242 | (NAT_FILE, NATDEPFILES): new macros. | |
3243 | * config/hp300hpux.mt (TDEPFILES): removed exec.o. | |
3244 | ||
7aae0974 RP |
3245 | Vax ultrix native support. |
3246 | ||
3247 | * nm-vax.h: new file. | |
3248 | * Makefile.in (HFILES): added nm-vax.h. | |
3249 | * config/vaxult.mh (XDEPFILES): infptrace.o inftarg.o fork-child.o | |
3250 | coredep.o corelow.o removed. | |
3251 | (NAT_FILE, NATDEPFILES): new macros. | |
3252 | * xm-vax.h: updated copyright. | |
3253 | (REGISTER_U_ADDR): removed. | |
3254 | ||
5c9bbfe6 RP |
3255 | Apollo native support (untested). |
3256 | ||
124a6fc0 | 3257 | * Makefile.in (HFILES): added nm-apollo68[bv].h. |
5c9bbfe6 RP |
3258 | * a68v-nat.c, nm-apollo68[bv].h: new files. |
3259 | * xm-apollo68[bv].h (FETCH_INFERIOR_REGISTERS): removed. | |
3260 | * xm-apollo68b.h (PTRACE_IN_WRONG_PLACE): removed. | |
3261 | * a68v-xdep.c: removed. | |
3262 | * config/apollo68[bv].mh (XDEPFILES): removed infptrace.o | |
3263 | inftarg.o fork-child.o a68v-xdep.o. | |
3264 | (NAT_FILE, NATDEPFILES): new macros. | |
3265 | ||
851fffcf RP |
3266 | * defs.h: include nm.h. |
3267 | * coredep.c, infptrace.c, procfs.c, rs6000-nat.c, sparc-nat.c, | |
3268 | sparc-tdep.c, : do not include nm.h. | |
3269 | * doc/gdbint.texinfo: nm.h now included in defs.h. | |
3270 | ||
451df680 SG |
3271 | Fri Oct 23 04:47:17 1992 Stu Grossman (grossman at cygnus.com) |
3272 | ||
bccaecc6 SG |
3273 | * Makefile.in (VERSION): 4.7.1 post release! |
3274 | ||
451df680 SG |
3275 | * config/hppahpux.mh (NATDEPFILES): Add hppah-nat.o. |
3276 | ||
c50c5197 JG |
3277 | Fri Oct 23 00:48:08 1992 John Gilmore ([email protected]) |
3278 | ||
3279 | * Makefile.in (VERSION): gdb-4.7 release. | |
3280 | * README: Update for gdb-4.7. | |
3281 | ||
db5b1f90 SG |
3282 | Thu Oct 22 11:24:18 1992 Stu Grossman (grossman at cygnus.com) |
3283 | ||
ee22c7f0 SG |
3284 | * sparc-tdep.c: include nm.h (for now) so that we get USE_PROC_FS |
3285 | when necessary. | |
3286 | ||
db5b1f90 SG |
3287 | * alldeps.mak, depend: Update. |
3288 | ||
fef84cc4 JG |
3289 | Thu Oct 22 03:14:36 1992 John Gilmore ([email protected]) |
3290 | ||
3291 | * partial-stab.h ('f', 'F'): Don't reference pst->textlow if pst | |
3292 | is null. | |
3293 | * tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP): Remove -- it | |
3294 | causes problems in setting breakpoint in the right place in | |
3295 | functions with `float' args which are passed as doubles. | |
3296 | * xm-vaxbsd.h (MEM_FNS_DECLARED): Avoid erroneous redecl's. | |
3297 | * config/rs6000.mh (NATDEPFILES): Add corelow.o. | |
3298 | ||
603900c7 SG |
3299 | Thu Oct 22 01:01:24 1992 Stu Grossman (grossman at cygnus.com) |
3300 | ||
3301 | * Makefile.in (HFILES): Add nm-i386sco.h. | |
3302 | * dwarfread.c: include <sys/types.h> for SCO. | |
3303 | * infptrace.c: Don't include ptrace.h under SCO. | |
3304 | * config/i386sco.mh: Use -D_POSIX_SOURCE instead of -posix for | |
3305 | gcc. | |
3306 | * config/i386v.mt: Add exec.o to TDEPFILES. | |
3307 | ||
3496b745 SG |
3308 | Wed Oct 21 19:08:20 1992 Stu Grossman (grossman at cygnus.com) |
3309 | ||
3310 | * i386v-nat.c: Remove space from front of #endif. | |
3311 | * irix4-nat.c: Remove externs of registers[], include inferior.h | |
3312 | instead. | |
3313 | * mips-nat.c: Explicitly initialize zerobuf to 0! | |
3314 | * mips-tdep.c (init_extra_frame_info): Undo John's last change. | |
3315 | Always setup fci->frame, even if it's non-zero. Too many places | |
3316 | depend upon this behavior (and I have to get a release out the | |
3317 | door)! | |
3318 | * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set | |
3319 | processing_gcc_compilation if we find the embedded stabs marker. | |
3320 | This fixes several bugs with finding the location of short or char | |
3321 | function parameters passed on the stack. | |
3322 | ||
99ef5653 RP |
3323 | Wed Oct 21 17:46:07 1992 K. Richard Pixley ([email protected]) |
3324 | ||
3325 | Native support for sun4sol2. | |
3326 | ||
3327 | * xm-sysv4.h (USE_PROC_FS, ATTACH_DETACH): removed to nm-sysv4.h. | |
3328 | * nm-sysv4.h: new file. | |
3329 | * Makefile.in (HFILES): added nm-sysv4.h. | |
3330 | * config/sun4sol2.mh (XDEPFILES): removed procfs.o fork-child.o. | |
3331 | (NAT_FILE, NATDEPFILES): new macros. | |
3332 | * config/sun4sol2.mt (TDEPFILES): removed exec.o and solib.o. | |
3333 | ||
e4db3f3e JG |
3334 | Wed Oct 21 03:51:01 1992 John Gilmore ([email protected]) |
3335 | ||
0a2a48a2 JG |
3336 | * coredep.c: Include "nm.h" to get REGISTER_U_ADDR. |
3337 | * doc/gdbint.texinfo: Improve REGISTER_U_ADDR and USE_PROC_FS doc. | |
3338 | ||
e4db3f3e JG |
3339 | * Makefile.in (VERSION): Tick to 4.6.9. |
3340 | ||
3341 | Tue Oct 20 23:27:56 1992 John Gilmore ([email protected]) | |
3342 | ||
3343 | * mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific | |
3344 | definition, replace with portable one. | |
3345 | * remote-nindy.c: Lint. | |
3346 | (nindy_wait): Return type is int, result is inferior_pid. | |
3347 | * symmisc.c (dump_psymtab): Only print section_offsets if set. | |
3348 | (initialize_symmisc): Remove empty function. | |
3349 | * tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS): | |
3350 | Remove obsolete, misspelled macro. | |
3351 | * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR. | |
3352 | (all @node commands): Use new form to avoid nitpicking errors. | |
3353 | * doc/gdbint.texinfo: Document host/native/target split. | |
3354 | ||
ce5489d2 SG |
3355 | Wed Oct 21 00:14:34 1992 Stu Grossman (grossman at cygnus.com) |
3356 | ||
e0e91077 SG |
3357 | * mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings. |
3358 | ||
ce5489d2 SG |
3359 | * xm-mips.h (offsetof): Don't define this if __STDC__. |
3360 | ||
ca048722 RP |
3361 | Tue Oct 20 21:32:18 1992 K. Richard Pixley ([email protected]) |
3362 | ||
3fcb9021 RP |
3363 | umax native support (untested). |
3364 | ||
3365 | * config/umax.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3366 | fork-child.o. | |
3367 | (NAT_FILE, NATDEPFILES): new macros. | |
3368 | * config/umax.mt (TDEPFILES): removed exec.o. | |
3369 | * xm-umax.h (U_REGS_OFFSET, ATTACH_DETACH, REGISTER_U_ADDR): | |
3370 | removed to nm-umax.h. | |
3371 | * nm-umax.h: new file. | |
3372 | * Makefile.in (HFILES): added nm-umax.h. | |
3373 | ||
ca048722 RP |
3374 | hppa native support (untested). |
3375 | ||
3376 | * config/hppahpux.mh, config/hppabsd.mh (XDEPFILES): now empty. | |
3377 | (NAT_FILE, NATDEPFILES): new macros. | |
3378 | * config/hppabsd.mt (TDEPFILES): removed exec.o and hppab-core.o. | |
3379 | * config/hppahpux.mt (TDEPFILES): removed exec.o. | |
3380 | * xm-hppa[bh].h (REGISTER_U_ADDR, U_REGS_OFFSET): removed. | |
3381 | * nm-hppa[bh].h, hppa[bh]-nat.c: new files. | |
3382 | * hppa[bh]-xdep.c: removed. | |
3383 | * hppa[bh]h-tdep.c: do not include ptrace.h. | |
3384 | * Makefile.in (HFILES): added nm-hppa[bh].h. | |
3385 | ||
3386 | * doc/gdbint.texinfo: add PUSH_DUMMY_FRAME, POP_FRAME. | |
3387 | ||
2675499b SG |
3388 | Tue Oct 20 00:01:46 1992 Stu Grossman (grossman at cygnus.com) |
3389 | ||
3390 | * mips-nat.c: Straighten out include files. Work around | |
3391 | conflicting defs of JB_xxx syms in <setjmp.h> and <machine/pcb.h> | |
3392 | for Ultrix-4.2. | |
3393 | ||
d95eb930 SG |
3394 | Mon Oct 19 15:09:57 1992 Stu Grossman (grossman at cygnus.com) |
3395 | ||
56fc16c7 SG |
3396 | * mips-nat.c (fetch_core_registers, register_addr): Copy from |
3397 | coredep.c, but zero out FP_REGNUM & ZERO_REGNUM so that stack | |
3398 | backtraces from core files work. | |
3399 | * config/decstation.mh, config/irix3.mh: Remove coredep.o. | |
3400 | Functions are now defined in mips-nat.c. | |
3401 | ||
3402 | * tm-irix3.h: Put MIPS_EFI_SYMBOL_NAME in here too. | |
3403 | ||
3ec5a74b SG |
3404 | * remote-hms.c: Disable all uses of serial_nextbaudrate and |
3405 | serial_default_name(). | |
3406 | ||
5a6242dd SG |
3407 | * remote-hms.c, ser-go32.c, serial.h: Change from |
3408 | serial_timedreadchar() to new serial_readchar(). | |
3409 | ||
d95eb930 SG |
3410 | * Makefile.in (HFILES): Fixup list of nm-*.h files. Add missing ones. |
3411 | ||
10a297b7 PB |
3412 | Mon Oct 19 12:45:23 1992 Per Bothner ([email protected]) |
3413 | ||
3414 | * c-exp.y: Moved handling of 'const' and 'volatile' from | |
3415 | <type> to <typebase>. This removes 2 conflicts. | |
3416 | ||
e6efef9f FF |
3417 | Sun Oct 18 00:36:30 1992 Fred Fish ([email protected]) |
3418 | ||
3419 | * breakpoint.c (breakpoint_re_set_one): Don't delete watchpoints | |
3420 | from breakpoint table when reseting breakpoints. | |
3421 | ||
4d0eabff FF |
3422 | Sat Oct 17 00:59:23 1992 Fred Fish ([email protected]) |
3423 | ||
3424 | Native support cleanup and corefile fixes for i386 SVR4 systems. | |
3425 | ||
3426 | * i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
3427 | fill_fpregset): Moved to i386v4-nat.c | |
3428 | * i386v4-nat.c, nm-i386v4.h, : New files. | |
3429 | * i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE): Use nm-i386v4.h. | |
3430 | * i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES): Add corelow.o, | |
3431 | change i386v-nat.o to i386v4-nat.o. | |
3432 | ||
173a4f1b RP |
3433 | Fri Oct 16 13:06:08 1992 K. Richard Pixley ([email protected]) |
3434 | ||
c36989aa RP |
3435 | Miscellaneous 386 configs updated. |
3436 | ||
3437 | * config/i386aout.mt (TDEPFILES): removed exec.o. | |
3438 | * config/i386sol2.mh, config/ncr3000.mh, config/i386v4.mh | |
3439 | (XDEPFILES): removed procfs.o fork-child.o i386-xdep.o. | |
3440 | (NAT_FILE, NATDEPFILES): new macros. | |
3441 | * config/i386aout.mt, config/i386sol2.mt, config/ncr3000.mt, | |
3442 | config/i386v4.mt (TDEPFILES): removed exec.o. | |
3443 | * config/i386v32.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3444 | fork-child.o coredep.o corelow.o i386-xdep.o i387-tdep.o. | |
3445 | (NAT_FILE, NATDEPFILES): new macros. | |
3446 | * config/i386sco.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3447 | fork-child.o coredep.o corelow.o i386-xdep.o. | |
3448 | (NAT_FILE, NATDEPFILES): new macros. | |
3449 | ||
f1a353db RP |
3450 | Native support cleanup for i386bsd (untested). |
3451 | ||
3452 | * config/i386bsd.mt (NATDEPFILES): exec.o removed. | |
3453 | * config/i386bsd.mh (NATDEPFILES): added exec.o | |
3454 | * tm-i386bsd.h (FLOAT_INFO): removed. | |
3455 | * nm-i386bsd.h (FLOAT_INFO): added. | |
3456 | ||
c7c94073 RP |
3457 | Native support for i386v (untested). |
3458 | ||
3459 | * config/i386v.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3460 | fork-child.o coredep.o corelow.o i386-xdep.o i387-tdep.o. | |
3461 | (NAT_FILE, NATDEPFILES): new macros. | |
3462 | * config/i386v.mt (TDEPFILES): removed exec.o, added i387-tdep.o. | |
3463 | * i386-xdep.c: removed. | |
3464 | * Makefile.in (HFILES): added nm-i386v.h | |
3465 | * i386v-nat.c, nm-i386v.h: new file. | |
3466 | * xm-i386v.h: (REGISTER_U_ADDR, i386_register_u_addr): removed to | |
3467 | nm-i386v.h. | |
3468 | * tm-i386v.h (FLOAT_INFO): removed. | |
3469 | ||
e24cb83d RP |
3470 | Native support for linux (untested). |
3471 | ||
3472 | * config/linux.mh (XDEPFILES): removed infptrace.o inftarg.o | |
c7c94073 | 3473 | fork-child.o coredep.o corelow.o i387-tdep.o i386-xdep.o. |
e24cb83d RP |
3474 | (NAT_FILE, NATDEPFILES): new macros. |
3475 | * config/linux.mt (TDEPFILES): removed exec.o, added i387-tdep.o. | |
3476 | * Makefile.in (HFILES): added nm-linux.h. | |
3477 | * nm-linux.h: new file. | |
3478 | * xm-linux.h: updated copyright. cleaned up formatting. | |
3479 | (ATTACH_DETACH, U_REGS_OFFSET): removed to nm-linux.h. | |
3480 | ||
61bbb1c2 RP |
3481 | Native support for sun386 (untested). |
3482 | ||
3483 | * config/sun386.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3484 | fork-child.o sun386-xdep.o. | |
3485 | (NAT_FILE, NATDEPFILES): new macros. | |
3486 | * config/sun386.mt (TDEPFILES): removed exec.o. | |
3487 | * Makefile.in (HFILES): added nm-sun386.h. | |
3488 | * sun386-nat.c, nm-sun386.h: new file. | |
3489 | * sun386-xdep.c: removed. | |
3490 | * xm-sun386.h: updated comment and copyright. | |
3491 | (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): removed to | |
3492 | nm-sun386.h. | |
3493 | ||
a113beac RP |
3494 | Native support for i386mach (untested). |
3495 | ||
3496 | * config/i386mach.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3497 | fork-child.o mach386-xdep.o. | |
3498 | (NAT_FILE, NATDEPFILES): new macros. | |
3499 | * Makefile.in (HFILES): added nm-i386mach.h. | |
3500 | * nm-i386mach.h, i386mach-nat.c: new files. | |
3501 | * mach386-xdep.c: removed. | |
3502 | * xm-i386mach.h: updated copyright. | |
3503 | (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): removed to | |
3504 | nm-i386mach.h. | |
3505 | ||
d9548d44 RP |
3506 | Native separation for go32 (untested). |
3507 | ||
3508 | * config/go32.mh (NAT_FILE, NATDEPFILES): new macros. | |
3509 | * go32-nat.c: new file. | |
3510 | * go32-xdep.c (call_ptrace, child_resume, | |
3511 | fetch_inferior_registers, store_inferior_registers, | |
3512 | child_xfer_memory, fetch_core_registers): removed to go32-nat.c. | |
3513 | ||
173a4f1b RP |
3514 | Native support for m88k (untested). |
3515 | ||
e367cb3b | 3516 | * Makefile.in (HFILES): added nm-m88k.h |
173a4f1b RP |
3517 | * xm-delta88.h, xm-m88k.h (REGISTER_U_ADDR, |
3518 | FETCH_INFERIOR_REGISTERS): removed. | |
3519 | * config/m88k.mh, config/delta88.mh (XDEPFILES): infptrace.o | |
3520 | inftarg.o fork-child.o m88k-xdep.o removed to NATDEPFILES. | |
3521 | (NAT_FILE, NATDEPFILES): new macros. | |
3522 | * config/m88k.mt, config/delta88.mt (TDEPFILES): removed exec.o. | |
3523 | * m88k-nat.c, nm-m88k.h, nm-delta88.h: new files.o. | |
3524 | * m88k-xdep.c: removed. | |
3525 | ||
f4cc0e9b JG |
3526 | Fri Oct 16 04:16:30 1992 John Gilmore ([email protected]) |
3527 | ||
3528 | * i386b-nat.c: Comment changes. | |
3529 | * nm-i386bsd.h, xm-i386bsd.h: Split native dependent pieces out | |
3530 | into new nm-file. | |
3531 | * config/i386bsd.mh (NAT_FILE): Point to new nm-file. | |
3532 | ||
2268d619 JG |
3533 | Fri Oct 16 03:34:01 1992 John Gilmore ([email protected]) |
3534 | ||
3535 | Avoid longjmp()-catching compilation errors in cross-ports. | |
3536 | ||
3537 | * doc/gdbint.texinfo: Update GET_LONGJMP_TARGET, L_SET doc. | |
3538 | * irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): | |
3539 | Move from mips-tdep.c and tm-{irix3,mips}.h. | |
3540 | * mips-nat.c: Remove a bunch of code that was ifdef'd out of | |
3541 | native MIPS ports. | |
3542 | * nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET): Move from tm-irix3.h | |
3543 | and tm-mips.h. | |
3544 | ||
3545 | * ultra3-nat.c (register_addr): Move from ultra3-xdep.c. | |
3546 | (fetch_core_registers): Fix bfd_seek arguments. | |
3547 | ||
62aa17e3 JG |
3548 | Fri Oct 16 03:02:28 1992 John Gilmore ([email protected]) |
3549 | ||
d5a66a8d JG |
3550 | Make core files work again (add back the `core' target). |
3551 | ||
3552 | * config/decstation.mh, news.mh, sun2os3.mh, sun2os4.mh | |
3553 | (NATDEPFILES): Add corelow.o. | |
62aa17e3 JG |
3554 | * config/delta88.mt, m88k.mt (TDEPFILES): Remove coredep.o, it's |
3555 | native dependent. | |
3556 | ||
d5a66a8d JG |
3557 | * config/3b1.mh, bigmips.mh, hp300bsd.mh, hppabsd.mh, hppahpux.mh, |
3558 | i386sco.mh, i386v.mh, i386v32.mh, irix3.mh, isi.mh, linux.mh, | |
3559 | littlemips.mh, merlin.mh, news1000.mh, pn.mh, rtbsd.mh, tahoe.mh, | |
3560 | vaxbsd.mh, vaxult.mh (XDEPFILES): Add corelow.o whenever coredep.o | |
3561 | appears. FIXME, these should be moved to NATDEPFILES for native | |
3562 | use only. | |
3563 | ||
b396595a RP |
3564 | Thu Oct 15 21:53:53 1992 K. Richard Pixley ([email protected]) |
3565 | ||
6bf98ac0 RP |
3566 | Ultra3 host/target/native split. (untested). |
3567 | ||
3568 | * ultra3-xdep.c: updated copyright. Do not include sys/ptrace.h. | |
3569 | (fetch_register, fetch_inferior_registers, | |
3570 | store_inferior_registers, fetch_core_registers): removed to | |
3571 | ultra3-nat.c. | |
3572 | * xm-ultra3.h (FETCH_INFERIOR_REGISTERS, U_REGS_OFFSET): removed | |
3573 | to nm-ultra3.h. | |
3574 | * Makefile.in (HFILES): added nm-ultra3.h. | |
3575 | * nm-ultra3.h, ultra3-nat.c: new files for native support. | |
3576 | * config/ultra3.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3577 | fork-child.o. | |
3578 | (NAT_FILE, NATDEPFILES): new macros for native support. | |
3579 | * config/ultra3.mt (TDEPFILES): exec.o removed. | |
3580 | ||
b396595a RP |
3581 | * xm-vaxult.h: add MEM_FNS_DECLARED. |
3582 | ||
d5931d79 JG |
3583 | Thu Oct 15 02:59:30 1992 John Gilmore ([email protected]) |
3584 | ||
3585 | * Makefile.in (VERSION): Roll to 4.6.8. | |
3586 | (OBS): Put version.o first, so Makefile rebuild happens early. | |
3587 | ||
3588 | * command.h: Publicize prototype for not_just_help_class_command. | |
3589 | * command.c: Remove proto. | |
327f7197 JG |
3590 | * maint.c: Mark "mt" as an abbrev, to avoid duplicated help |
3591 | output. Move "maint info" from class info to class maintenance, | |
3592 | and improve text. | |
3593 | * infrun.c: Move "stop" to class_obscure, and give it a | |
d5931d79 JG |
3594 | function so it will not be seen as a global help topic. FIXME, |
3595 | it should be possible to set these attributes independently. | |
3596 | ||
3597 | * core.c (core_command): Make nicer error message for no core support. | |
d5931d79 JG |
3598 | |
3599 | Lint around file_ptr's (bfd's off_t's) and bfd_seek. | |
3600 | ||
3601 | * dbxread.c (read_dbx_symtab): Use L_SET as bfd_seek arg. | |
3602 | (elfstab_build_psymtabs): staboffset and stabstroffset args are | |
3603 | file_ptr's. | |
3604 | * dwarfread.c (struct dwfinfo): Convert dbfoff, lnfoff to file_ptr. | |
3605 | (scan_compilation_units): Punt unused filename arg. dbfoff, | |
3606 | lnoffset, and curlnoffset are file_ptr's now. | |
3607 | (dwarf_build_psymtabs): Drop desc and filename args; use | |
3608 | objfile. dbfoff and lnoffset are file_ptr's now. | |
3609 | (read_ofile_symtab): foffset is now file_ptr. Use L_SET in bfd_seek. | |
3610 | * elfread.c (struct elfinfo): dboffset and lnoffset are file_ptr's. | |
3611 | (elf_symfile_read): Skip desc and filename args to | |
3612 | dwarf_build_psymtabs. Pass file_ptr's to elfstab_build_psymtabs. | |
3613 | * gdb-stabs.h: Use file_ptr rather than off_t. | |
3614 | * mipsread.c (fixup_symtab): f_ptr is a file_ptr. Re-enable | |
3615 | compile-time debug check that someone turned off as "unused". | |
3616 | (read_the_mips_symtab): st_filptr is a file_ptr. Fix bfd_seek call. | |
3617 | * symfile.h: Update dwarf_build_psymtabs and | |
3618 | elfstab_build_psymtabs prototypes. | |
3619 | * xcoffread.c (init_stringtab, init_lineno, xcoff_symfile_read): | |
3620 | Use file_ptr offsets. bfd_seeks use L_SET. | |
3621 | ||
dac4929a SG |
3622 | Thu Oct 15 01:27:32 1992 Stu Grossman (grossman at cygnus.com) |
3623 | ||
3624 | * mips-tdep.c, mipsread.c, tm-mips.h: Get rid of ".gdbinfo." | |
3625 | symbol. #define MIPS_EFI_SYMBOL_NAME instead. Use different | |
3626 | value so that demangler won't be invoked. This greatly speeds up | |
3627 | stepping. | |
3628 | * mips-tdep.c (mips_pop_frame): Rewrite handling of | |
3629 | linked_proc_info so that it properly deallocates the appropriate | |
3630 | item after it is done with it instead of before. | |
3631 | * Don't pass bogus frame pointer to create_new_frame(). Just | |
3632 | leave it as zero so that lower level code will figure out the | |
3633 | correct value. | |
3634 | ||
a6b98cb9 RP |
3635 | Wed Oct 14 18:56:28 1992 K. Richard Pixley ([email protected]) |
3636 | ||
75365589 RP |
3637 | Sony News native support. |
3638 | ||
3639 | * Makefile.in (HFILES): added nm-news.h. | |
3640 | * nm-news.h: new file. | |
3641 | * config/news.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3642 | fork-child.o coredep.o to NATDEPFILES. | |
3643 | (NAT_FILE, NATDEPFILES): new macros for native support. | |
3644 | * config/news.mt (TDEPFILES): removed exec.o. | |
3645 | ||
170d4f55 RP |
3646 | * remote-vx.c: remove redundant include of sys/time.h. |
3647 | ||
a6b98cb9 RP |
3648 | * infrun.c: include ctype.h. Otherwise some machines result in |
3649 | undefined for isdigit. | |
3650 | ||
358ca35e JG |
3651 | Tue Oct 13 01:27:14 1992 John Gilmore ([email protected]) |
3652 | ||
3653 | * configure.in: Convert m68k entries to m68* entries to handle | |
3654 | all the various m68xxx hosts and targets. | |
849d81e5 | 3655 | * config/news1000.mt: No longer needed, same as news.mt. |
358ca35e | 3656 | |
601f1570 RP |
3657 | Fri Oct 9 18:54:37 1992 K. Richard Pixley ([email protected]) |
3658 | ||
3659 | * config/sun3os[34].mh (NATDEPFILES): remove duplicate inftarg.o. | |
3660 | ||
89f1a7df SG |
3661 | Fri Oct 9 14:20:08 1992 Stu Grossman (grossman at cygnus.com) |
3662 | ||
47b7176b SG |
3663 | * Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h, |
3664 | nm-sun2.h, nm-mips.h. | |
3665 | ||
30328636 SG |
3666 | * config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o. |
3667 | ||
a1096574 SG |
3668 | * Makefile.in (alldeps.mak): Add = sign after NATDEPFILES. |
3669 | ||
89f1a7df SG |
3670 | * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o. |
3671 | ||
b5ddc101 ILT |
3672 | Fri Oct 9 08:41:11 1992 Ian Lance Taylor ([email protected]) |
3673 | ||
3674 | * xm-hppah.h: if __STDC__ is not defined, define | |
3675 | HPPA_COMPILER_BUG. | |
3676 | symtab.c (decode_line_1): avoid a bug in the HP9000/700 native | |
3677 | compiler; see the comment in the file. | |
3678 | ||
0e35d2f3 JG |
3679 | Fri Oct 9 04:43:43 1992 John Gilmore ([email protected]) |
3680 | ||
3681 | First cut at support for all BSD variants on 386. | |
3682 | ||
3683 | * tm-i386bsd.h, xm-i386bsd.h: New config files. | |
3684 | * i386b-nat.c: New native support file. | |
3685 | * configure.in: Add host and target for i[34]86-*-bsd*. | |
3686 | * config/i386bsd.mh, config/i386bsd.mt: New config files. | |
3687 | ||
a70dc898 RP |
3688 | Fri Oct 9 00:31:33 1992 K. Richard Pixley ([email protected]) |
3689 | ||
56e89422 RP |
3690 | Sun2 native support (untested). |
3691 | ||
3692 | * xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS, | |
3693 | REGISTER_U_ADDR): removed to nm-sun2.h. | |
3694 | * nm-sun2.h: new file. | |
3695 | * config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o | |
3696 | fork-child.o sun3-xdep.o removed. | |
3697 | (NAT_FILE, NATDEPFILES): new macros. | |
3698 | ||
a70dc898 RP |
3699 | Mips native support. Decstation and iris4 have been tested. |
3700 | Iris3 has not. | |
3701 | ||
3702 | * mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
3703 | fill_fpregset): removed to irix4-nat.c | |
3704 | * mips-xdep.c: removed. | |
3705 | * irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new | |
3706 | files. | |
3707 | * procfs.c: include nm.h. | |
3708 | * xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed. | |
3709 | * xm-irix4.h: bump copyright. | |
3710 | (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS, | |
3711 | PROC_NAME_FMT): removed. | |
3712 | * xm-mips.h (FETCH_INFERIOR_REGISTERS): removed. | |
3713 | * config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o. | |
3714 | (NAT_FILE, NATDEPFILES): new macros for native support. | |
3715 | (CC): supply default compiler switches. | |
d5931d79 JG |
3716 | * config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o |
3717 | fork-child.o coredep.o. | |
a70dc898 RP |
3718 | (NAT_FILE, NATDEPFILES): new macros for native support. Note that |
3719 | irix3 is untested. | |
3720 | * config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o | |
3721 | fork-child.o mips-xdep.o coredep.o. | |
3722 | (NAT_FILE, NATDEPFILES): new macros for native support. | |
3723 | ||
55ec69fb RP |
3724 | Thu Oct 8 23:50:51 1992 K. Richard Pixley ([email protected]) |
3725 | ||
3726 | * config/rs6000.mh (XDEPFILES): removed fork-child.o. | |
3727 | (NATDEPFILES): added fork-child.o | |
3728 | * config/sun3os3.mh (XDEPFILES): removed fork-child.o. | |
3729 | (NATDEPFILES): added fork-child.o | |
3730 | * config/sun3os4.mh (XDEPFILES): removed fork-child.o. | |
3731 | (NATDEPFILES): added fork-child.o | |
3732 | ||
01ae50eb JG |
3733 | Thu Oct 8 23:19:25 1992 John Gilmore ([email protected]) |
3734 | ||
3735 | * infcmd.c (path_info): Avoid 250-char limit on printf_filtered, | |
3736 | by using puts_filtered instead. | |
3737 | ||
0256270d KR |
3738 | Fri Oct 9 00:28:25 1992 Ken Raeburn ([email protected]) |
3739 | ||
3740 | * remote-nindy.c (nindy_load): Replacement version from Steve | |
3741 | Chamberlain, doesn't require forking to run "strip" or "sx". | |
3742 | ||
e6c61372 SG |
3743 | Thu Oct 8 18:27:35 1992 Stu Grossman (grossman at cygnus.com) |
3744 | ||
3745 | * Makefile.in (HFILES): Add nm-*.h files. | |
3746 | ||
968720bf RP |
3747 | Thu Oct 8 16:27:45 1992 K. Richard Pixley ([email protected]) |
3748 | ||
dd6f8695 RP |
3749 | * config/sun4os4.mh (XDEPFILES): fork-child.o removed. |
3750 | (NATDEPFILES): added fork-child.o. | |
3751 | ||
968720bf RP |
3752 | * doc/gdbint.texinfo: document a few more macros, create new |
3753 | section for native macros. | |
3754 | ||
e7ae70e9 SG |
3755 | Thu Oct 8 13:52:46 1992 Stu Grossman (grossman at cygnus.com) |
3756 | ||
3757 | * Makefile.in alldeps.mak depend: Rip out 29k/udi pending | |
3758 | resolution of copyright issues. | |
3759 | ||
0da70124 SG |
3760 | Wed Oct 7 20:08:53 1992 Stu Grossman (grossman at cygnus.com) |
3761 | ||
3762 | * Makefile.in (setup-to-dist): Remove -norecursion so that doc | |
3763 | subdir gets configured. | |
3764 | ||
6a1f93f6 KR |
3765 | Wed Oct 7 12:24:01 1992 Ken Raeburn ([email protected]) |
3766 | ||
3767 | * Makefile.in (nindy.o): Define "STRIP" as pathname of strip | |
3768 | program. | |
3769 | * nindy-share/nindy.c (coffstrip): Use that pathname, instead of | |
3770 | searching for a "bfd_strip" program. Also, fixed up arguments | |
3771 | passed to that program. | |
3772 | ||
3773 | * tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", | |
3774 | which is now used for something else. Rewrite description of | |
3775 | associated parameters to match how gdb does it now. | |
3776 | (ADDITIONAL_OPTION_HELP): Fix message accordingly. | |
3777 | ||
3778 | * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. | |
3779 | ||
3950a34e RP |
3780 | Tue Oct 6 14:47:11 1992 K. Richard Pixley ([email protected]) |
3781 | ||
3782 | NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as | |
3783 | to_notice_signals. | |
3784 | ||
3785 | * inferior.h (proc_signal_handling_change): prototype removed. | |
3786 | * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed. | |
3787 | (handle_command): now calls target_notice_signals. | |
3788 | * procfs.c (proc_signal_handling_change): renamed to | |
3789 | procfs_notice_signals. Now static. Add prototype. All callers | |
3790 | changed. | |
3791 | * target.h (struct target_ops): new field, to_notice_signals. | |
3792 | (target_notice_signals): new macro to cover new field. | |
3793 | * target.c (cleanup_target): default to_notice_signals to ignore. | |
3794 | * corelow.c (core_ops), | |
3795 | exec.c (exec_ops), | |
3796 | inftarg.c (child_ops), | |
3797 | procfs.c (procfs_ops), | |
3798 | remote-adapt.c (adapt-ops), | |
3799 | remote-eb.c (eb_ops), | |
3800 | remote-es1800.c (es1800_ops, es1800_child_ops), | |
3801 | remote-hms.c (hms_ops), | |
3802 | remote-mm.c (mm_ops), | |
3803 | remote-nindy.c (nindy_ops), | |
3804 | remote-st2000.c (st2000_ops), | |
e7ae70e9 | 3805 | remote-udi.c (udi_ops), |
3950a34e RP |
3806 | remote-vx.c (vx_ops, vx_run_ops), |
3807 | remote.c (remote_ops), | |
3808 | target.c (dummy_target), | |
3809 | xcoffexec.c (exec_ops): added static initializer for | |
3810 | to_notice_signals. | |
3811 | * xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed. | |
3812 | ||
06e4d12d JG |
3813 | Tue Oct 6 12:13:08 1992 John Gilmore ([email protected]) |
3814 | ||
3815 | * main.c (define_command): Add forgotten initializer. | |
3816 | ||
48ab6c0e JG |
3817 | Tue Oct 6 02:23:17 1992 John Gilmore ([email protected]) |
3818 | ||
b5af69c3 JG |
3819 | * language.c, language.h: Move saved_language out to global |
3820 | expected_language. Set expected_language when user expectation | |
3821 | changes. | |
3822 | * language.c (language_info): Don't print type/range checking gub. | |
3823 | * main.c (main): Set expected language. | |
3824 | (execute_command): Check against expected language. | |
3825 | * symfile.c (set_initial_language): Set expected language. | |
3826 | ||
48ab6c0e JG |
3827 | * configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf. |
3828 | ||
94603999 JG |
3829 | Fri Sep 4 00:34:30 1992 Per Bothner ([email protected]) |
3830 | ||
3831 | A bunch of changes mostly to improve debugging of C++ programs. | |
3832 | Specifically, the calling of inferiors methods is improved. | |
3833 | ||
3834 | * value.h: New macros METHOD_PTR_IS_VIRTUAL, | |
3835 | METHOD_PTR_FROM_VOFFSET, METHOD_PTR_TO_VOFFSET to partially | |
3836 | hide the implementation details of pointer-to-method objects. | |
3837 | How to tell if the pointer points to a virtual method is | |
3838 | still very dependent on the particular compiler, but this | |
3839 | should make it easier to find the places to change. | |
3840 | * eval.c (evaluate_subexp [case OP_FUNCALL]), valprint.c | |
3841 | (val_print [case TYPE_CODE_PTR]): Use the new METHOD_PTR_* | |
3842 | macros, instead of a hard-wired-in code that incorrectly | |
3843 | assumed a no-longerused representation of pointer-to-method | |
3844 | values. And otherwise fix the relevant bit-rotted code. | |
3845 | ||
3846 | * valprint.c (type_print_base [case TYPE_CODE_STRUCT]): | |
3847 | If there are both fields and methods, put a space between. | |
3848 | ||
3849 | * stabsread.c (read_struct_type): Fix bug in handling of | |
3850 | GNU C++ anonymous type (indicated by CPLUS_MARKER followed | |
3851 | by '_'). (It used to prematurely exit the loop reading in | |
3852 | the fields, so it would think it should start reading | |
3853 | methods while still in the fields. This could crash gdb | |
3854 | given a gcc that can emit nested type information.) | |
3855 | ||
3856 | * valops.c (search_struct_method): Pass 'this' value by | |
3857 | reference instead of by value. This provides a more | |
3858 | consistent interface through a recursive search where the | |
3859 | "bottom" functions may need to adjust offsets (due to multiple | |
3860 | inheritance). | |
3861 | * valops.c, value.h, values.c: Pass extra parameters to | |
3862 | value_fn_field and value_virtual_fn_field so we can | |
3863 | correctly adjust offset for multiple inheritance. | |
3864 | * eval.c (evaluate_subexp [case OP_FUNCALL]): Simplify | |
3865 | virtual function calls by using value_virtual_fn_field(). | |
3866 | * values.c: New function baseclass_offset, derived from | |
3867 | baseclass_addr (which perhaps can be made obsolete?). | |
3868 | It returns an offset rather than an address. This is a | |
3869 | cleaner interface since it doesn't mess around allocating | |
3870 | new values. | |
3871 | * valops.c (search_struct_method): Use baseclass_offset | |
3872 | rather than baseclass_addr. | |
3873 | ||
aa1dea48 SG |
3874 | Mon Oct 5 16:02:04 1992 Stu Grossman (grossman at cygnus.com) |
3875 | ||
e7ae70e9 SG |
3876 | * Makefile.in: Re-install 29K/UDI stuff. |
3877 | * remote-udi.c (udi_resume): Clean up. | |
3878 | * (udi_wait): Rewrite, leave out bugs. | |
3879 | * Add debugging code to print out all register fetches and stores. | |
3880 | * Straighten out target_ops. | |
aa1dea48 SG |
3881 | * tm-29k.h (DUMMY_FRAME_RSIZE): Pad out to doubleword. |
3882 | ||
e661aaae ILT |
3883 | Mon Oct 5 09:46:44 1992 Ian Lance Taylor ([email protected]) |
3884 | ||
e7ae70e9 SG |
3885 | * remote-udi.c (udi_create_inferior): run with no arguments should |
3886 | not pass the program name as an argument, since the UDI code | |
3887 | already handles that. | |
3888 | (udi_load): get the symbols from prog_name, not arg_string (the | |
3889 | load command should really use arg_string as the program name, not | |
3890 | prog_name, but at least the run command works now). | |
3891 | ||
5d5a9c3c | 3892 | * munch: HP9000/300 nm puts an extra space between T and symbol |
91912864 ILT |
3893 | name. |
3894 | ||
e661aaae ILT |
3895 | * config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions |
3896 | needed for vxworks targets. | |
3897 | ||
34517ebc JG |
3898 | Fri Oct 2 22:04:42 1992 John Gilmore ([email protected]) |
3899 | ||
3900 | * am29k-tdep.c (_initialize_29k): Make it possible for the | |
3901 | user to set and query the address where function calls into the | |
3902 | inferior write a small scratch routine. `set call_scratch_address' | |
3903 | * inferior.h (PC_IN_CALL_DUMMY): Fix fencepost error. | |
3904 | * remote.c (remote_prepare_to_store): Only fetch regs if they are | |
3905 | not already cached validly. | |
3906 | ||
93282e61 RP |
3907 | Thu Oct 1 14:36:42 1992 K. Richard Pixley ([email protected]) |
3908 | ||
ef6f3a8b RP |
3909 | Rs6000 native support. |
3910 | ||
3911 | * infptrace.c: remove #ifdef USG from around include ptrace.h. | |
3912 | machines without this header should not be compiling this file. | |
3913 | * nm-rs6000.h, rs6000-nat.c: new files for native support. | |
3914 | * rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h. | |
3915 | * rs6000-xdep.c: removed. all code now in rs6000-nat.c. | |
3916 | * xm-rs6000.h: do not include ptrace.h. | |
3917 | (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h. | |
3918 | * config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o. | |
3919 | infptrace.o and inftarg.o move to NATDEPFIES. | |
3920 | (NAT_FILE, NATDEPFILES): new macro for native support. | |
3921 | ||
93282e61 RP |
3922 | Sun3 native support. |
3923 | ||
3924 | * config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES): | |
3925 | new macros for native support. | |
3926 | (XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES, | |
3927 | removed sun3-xdep.o. | |
3928 | * xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to | |
3929 | nm-sun3.h. | |
3930 | * sun3-xdep.c: removed. All code is now in sun3-nat.c. | |
3931 | * sun3-nat.c, nm-sun3.h: new files for native support. | |
3932 | ||
3933 | Thu Oct 1 10:30:54 1992 Fred Fish ([email protected]) | |
3934 | ||
3935 | * dwarfread.c (dbsize): New variable to hold size of dwarf info. | |
3936 | * dwarfread.c (dwarf_build_psymtabs): Rename dbsize parameter to | |
3937 | dbfsize and use it to initialize new local file scope dbsize. | |
3938 | * dwarfread.c (read_ofile_symtab): Initialize dbsize and use it. | |
3939 | * dwarfread.c (basicdieinfo): Use dbsize to check for oversize | |
3940 | DIEs as well as the current check for undersize DIEs. This helps | |
3941 | to gracefully detect and reject corrupted DIE information. | |
3942 | ||
a65841d7 JG |
3943 | Thu Oct 1 01:57:56 1992 John Gilmore ([email protected]) |
3944 | ||
3945 | Add `command hooks' and a hook for inferior program stopping. | |
3946 | ||
3947 | * command.h (struct cmd_list_element): Remove unused `aux' | |
3948 | field. Add new `hook', `hookee', and `cmd_pointer' fields. | |
3949 | * command.c (add_cmd): Initialize new fields, elim old. | |
3950 | (add_alias_cmd): Clone new fields. | |
3951 | (delete_cmd): Un-hook hookee if we're deleting hook. | |
3952 | (help_cmd): Tell user the command is hooked, if it is. | |
3953 | (lookup_cmd_1): Abbreviations return the original command | |
3954 | instead of themselves, so that hooks on the original cmd will be | |
3955 | run. | |
3956 | * defs.h (enum command_class): Add class_pseudo and comments. | |
3957 | * gdbcmd.h (execute_user_command): Add prototype. | |
3958 | * infrun.c (normal_stop): If the stop command is hooked, | |
3959 | run the hook whenever we stop. | |
3960 | (hook_stop_stub): Stub for catch_errors. | |
3961 | (_initialize_infrun): Set up pseudo "stop" command. | |
3962 | * main.c (execute_user_command): Code extracted from execute_command. | |
3963 | (execute_command): If hooked, run the hook before the command. | |
3964 | (define_command): If defining a new hook, check the command it | |
3965 | is hooking, and warn if none. Install the hook. | |
3966 | * source.c (_initialize_source): "l" is an abbrev for "list". | |
3967 | * doc/gdb.texinfo: Document command hooks. | |
3968 | ||
3969 | * Makefile.in (VERSION): Roll to 4.6.7. | |
3970 | * config/sun4os4.mh: Remove dup inftarg.o from NATDEPFILES. | |
3971 | * infrun.c (breakpoints_inserted): Make it static again. | |
3972 | * tm-symmetry.h (FLOAT_INFO): #if 0 it for cross-ptrace abuse. | |
3973 | ||
dfc82617 RP |
3974 | Wed Sep 30 15:33:22 1992 K. Richard Pixley ([email protected]) |
3975 | ||
3976 | Native file renaming. | |
3977 | ||
3978 | * nat-sparc.c -> sparc-nat.c | |
3979 | * nat-sun4os4.h -> nm-sun4os4.h | |
3980 | * nat-trash.h -> nm-trash.h | |
9c14e78d | 3981 | * config/sun4os4.mh: track file renaming. |
dfc82617 RP |
3982 | * configure.in: link to nm.h rather than nat.h. |
3983 | * infptrace.c: include nm.h rather than nat.h. | |
3984 | ||
df9b3bfc RP |
3985 | Tue Sep 29 14:35:00 1992 K. Richard Pixley ([email protected]) |
3986 | ||
c9c23412 RP |
3987 | Host/target/native split for sun4. |
3988 | ||
3989 | * Makefile.in (TSOBS): removed corelow.o. | |
3990 | * infptrace.c: included nat.h. | |
3991 | * nat-trash.h: temporary header file. This should be removed once | |
3992 | all hosts have the native/host/target split. | |
3993 | * configure.in: add a symlink from nat-trash.h to nat.h if no | |
3994 | other nat file exists for this configuration. | |
3995 | * sparc-tdep.c: no longer include sys/ptrace.h. | |
3996 | * sparc-xdep.c: removed. contents have been moved to nat-sparc.c. | |
3997 | * xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to | |
3998 | nat-sun4os4.h. | |
3999 | * nat-sparc.c, nat-sun4os4.h: new files for sun4 native support. | |
4000 | * config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o | |
4001 | to NATDEPFILES. removed sparc-xdep.o. | |
4002 | (NATDEPFILES, NAT_FILE): new macros for native support. | |
4003 | ||
df9b3bfc RP |
4004 | Break the direct connection from core_file_command to any |
4005 | particular type of core file support. | |
4006 | ||
4007 | * target.h (find_core_target): new prototype. | |
4008 | * target.c (find_core_target): new function. Walks the target | |
4009 | list looking for the core target. | |
4010 | * core.c (core_file_command): replace calls to core_detach and | |
4011 | core_open with find_core_target and direct calls. | |
4012 | ||
be891e75 ILT |
4013 | Tue Sep 29 10:19:00 1992 Ian Lance Taylor ([email protected]) |
4014 | ||
4015 | * xm-hp300hpux.h: define MEM_FNS_DECLARED; include <sys/ptrace.h> | |
4016 | for infptrace.c. | |
4017 | config/hp300hpux.mh: ALLOCA1 was not defined. | |
4018 | ||
597dc86b SG |
4019 | Mon Sep 28 22:03:41 1992 Stu Grossman (grossman at cygnus.com) |
4020 | ||
4021 | * breakpoint.c, exec.c, language.c, main.c, printcmd.c, symfile.c, | |
4022 | target.c, valprint.c: Use unfiltered forms of f/printf, et. al. | |
4023 | until we can figure out a better way to do paging. | |
4024 | ||
e0ba1d14 JG |
4025 | Sat Sep 26 02:07:31 1992 John Gilmore ([email protected]) |
4026 | ||
4027 | * findvar.c (supply_register): Add CLEAN_UP_REGISTER_VALUE hook. | |
4028 | * tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Use it. | |
4029 | * hppa-coredep.c: Remove, now that we use the hook. | |
4030 | * config/hppab.mh, config/hppah.mh: Use standard coredep.o. | |
4031 | * hppab-xdep.c, hppah-xdep.c: Remove custom code, use hook. | |
4032 | ||
4033 | * dbxread.c, partial-stab.h: Replace all #ifdef hp9000s800's with | |
4034 | GDB_TARGET_IS_HPPA's. This is a SERIOUS KLUDGE. The code needs to all | |
4035 | be ripped out and reimplemented right (see elfread.c). | |
4036 | * tm-hppa.h (GDB_TARGET_IS_HPPA): Define. | |
4037 | ||
4038 | Rename all HPPA files to fit into unique DOS filenames: | |
4039 | * *hppabsd* => *hppab* | |
4040 | * *hppahpux* => *hppah* | |
4041 | ||
b3d4dd73 JG |
4042 | Sat Sep 26 00:25:15 1992 John Gilmore ([email protected]) |
4043 | ||
3fbdd536 JG |
4044 | Make the /proc support a target-struct in its own right. |
4045 | ||
b3d4dd73 JG |
4046 | * Makefile.in: Remove inftarg.[co], since it is now included via |
4047 | config/*.mh files. | |
4048 | * config/*.mh: Add inftarg.o and fork-child.o to all *.mh that | |
4049 | reference infptrace.o. Add fork-child.o to all *.mh that | |
4050 | reference procfs.o. | |
4051 | ||
3fbdd536 JG |
4052 | * inferior.h (proc_wait, inferior_proc_init, proc_set_exec_trap): |
4053 | No longer global functions. | |
4054 | (fork_inferior): New global function from fork-child.c. | |
4055 | * inftarg.c (child_wait): Remove USE_PROC_FS conditional. | |
4056 | (ptrace_me, ptrace_him): New stub functions for fork_inferior(). | |
4057 | (child_create_inferior): Moved to fork-child.c as fork_inferior. | |
4058 | (child_create_inferior): New tiny function that calls fork_inferior. | |
4059 | * fork-child.c: New file, containing fork_inferior, which is | |
4060 | built from slight mods to inftarg.c's child_create_inferior. | |
4061 | ||
4062 | * procfs.c (procfs_ops): Add target vector. | |
4063 | (attach): Rename as static do_attach. | |
4064 | (procfs_create_inferior): New tiny function that calls fork_inferior. | |
4065 | (child_xfer_memory): Rename to static procfs_xfer_memory. | |
4066 | (store_inferior_registers): Rename to static procfs_store_registers. | |
4067 | (inferior_proc_init): Rename to static procfs_init_inferior. | |
4068 | (procfs_attach, procfs_detach, procfs_prepare_to_store, | |
4069 | procfs_files_info, procfs_open, procfs_mourn_inferior, | |
4070 | procfs_can_run): Slightly mangled copies of the corresponding | |
4071 | child_XXX routines from inftarg.c. | |
4072 | (proc_wait): Renamed to static procfs_wait. | |
4073 | (child_resume): Rename to static procfs_resume. | |
4074 | (fetch_inferior_registers): Rename to static procfs_fetch_registers. | |
4075 | (initialize_proc_fs): Rename to initialize_procfs. Set up | |
4076 | procfs_ops, too. | |
4077 | ||
4078 | * putenv.c: index -> strchr. | |
4079 | * regex.c: Always rename bcopy to memcpy, etc. | |
4080 | FIXME: Eventually do the renames rather than use #define's. | |
4081 | * sparc-tdep.c (deferred_stores): Moved from sparc-xdep.c. | |
4082 | Fix bcopy->memcpy. | |
4083 | * sparc-xdep.c: Move deferred_stores to target dependent. | |
4084 | * xm-irix4.h, xm-sysv4.h (CREATE_INFERIOR_HOOK): No longer needed. | |
4085 | ||
836e343b JG |
4086 | Fri Sep 25 21:59:27 1992 John Gilmore ([email protected]) |
4087 | ||
4088 | Split non-target-dependent code out of target_attach routines. | |
4089 | ||
4090 | * target.h: Comments on target_attach args and results. | |
4091 | * infcmd.c (attach_command): Check for existing execution, call | |
4092 | target_attach, set up terminal status and wait_for_inferior, wait | |
4093 | for the attach status, and do normal_stop. | |
4094 | * inftarg.c (child_attach): Remove target independent stuff. | |
4095 | * remote-adapt.c (adapt_attach): Ditto. | |
4096 | * remote-mm.c (mm_attach): Ditto. | |
e7ae70e9 | 4097 | * remote-udi.c (udi_attach): Ditto. |
836e343b JG |
4098 | * remote-vx.c (vx_attach): Ditto. |
4099 | ||
4100 | Cleanup. | |
4101 | ||
4102 | * remote-hms.c (hms_attach): Remove completely, it was useless. | |
e7ae70e9 | 4103 | * remote-mm.c, remote-hms.c, remote-udi.c, remote-adapt.c: Remove |
836e343b | 4104 | commented-out start_remote calls. |
e7ae70e9 | 4105 | * remote-hms.c, remote-adapt.c, remote-mm.c, remote-udi.c: Remove |
836e343b JG |
4106 | DENTER and DEXIT macros and their calls. Use a real debugger -- |
4107 | like gdb -- to see what functions are being called when. | |
a5a7c719 | 4108 | * utils.c (strcmp_iw): Make nonstatic, for lint. |
836e343b | 4109 | |
3aa6856a JG |
4110 | Fri Sep 25 18:48:20 1992 John Gilmore ([email protected]) |
4111 | ||
4112 | * infrun.c, inftarg.c, inferior.h: Comment and lint cleanups. | |
4113 | ||
b869d3f4 SG |
4114 | Fri Sep 25 15:13:44 1992 Stu Grossman (grossman at cygnus.com) |
4115 | ||
1aed6766 SG |
4116 | * tm-sparc.h, dbxread.c (read_ofile_symtab): Install Jim Wilson's |
4117 | fix to differentiate between gcc1 & gcc2 compiled files so that we | |
4118 | can debug calls that pass structs as args correctly. | |
4119 | * symmisc.c (dump_symtab): If block was compiled with gcc, say | |
4120 | so, and what version. | |
4121 | ||
b869d3f4 SG |
4122 | * remote.c (remote_wait): Make regs be char to avoid picayune |
4123 | ANSI compiler warnings. | |
4124 | ||
e7ae70e9 SG |
4125 | * energize.h: Move all external struct decls to inside of |
4126 | __STDC__, add prototype for energize_shell_wait(). | |
4127 | * energize.c (getpty): Clean up, make us really get a controlling | |
4128 | terminal. | |
4129 | * (energize_initialize): Disable SIGIO prior to setting up for | |
4130 | I/O interrupts. Move setsid(), et. al. to getpty(). | |
4131 | * (energize_shell_wait): New routine to wait for things started | |
4132 | via the shell command, uses wait() instead of /dev/proc. | |
4133 | * Also, add prototype for execute_command_1(). | |
4134 | ||
050d45c5 RP |
4135 | Fri Sep 25 12:09:33 1992 K. Richard Pixley ([email protected]) |
4136 | ||
310cc570 RP |
4137 | * inftarg.c (child_create_inferior, child_attach, |
4138 | child_mourn_inferior): collect unix child process stratum | |
4139 | functions which live below the target vector into this file to | |
4140 | facilitate host/target/native split. Also, make them static. | |
4141 | * inflow.c (child_mourn_inferior): removed. | |
4142 | * infrun.c (child_create_inferior, child_attach): removed. | |
4143 | (resume): becomes global so that functions below the | |
4144 | target vector can find it. | |
4145 | * inferior.h (resume): add prototype. | |
4146 | (child_mourn_inferior, child_create_inferior, child_attach): | |
4147 | remove prototypes. | |
4148 | ||
050d45c5 RP |
4149 | * xcoffexec.c (exec_ops): child_attach and child_create_inferior |
4150 | replaced with find_default_attach and | |
4151 | find_default_create_inferior. | |
4152 | ||
4153 | Fri Sep 25 10:21:04 1992 Ken Raeburn ([email protected]) | |
4154 | ||
4155 | * i960-pinsn.c: Use _filtered routines for printing, so symbolic | |
4156 | addresses don't get displayed in the wrong positions. | |
4157 | ||
8afd6ca5 RP |
4158 | Fri Sep 25 09:52:47 1992 K. Richard Pixley ([email protected]) |
4159 | ||
4160 | Separate core functions along target vector in preparation for | |
4161 | native support. Functions above vector now live in core.c. Those | |
4162 | below in corelow.c. | |
4163 | ||
4164 | * core.c (solib_add_stub, core_close, core_open, core_detach, | |
4165 | get_core_registers, core_files_info, core_ops): moved to corelow.c | |
4166 | (_initialize_core): removed addition of core_ops target. | |
4167 | * corelow.c: new file. | |
4168 | (solib_add_stub, core_close, core_open, core_detach, | |
4169 | get_core_registers, core_files_info, core_ops): moved from core.c | |
4170 | (_initialize_corelow): new function. | |
4171 | * gdbcore.h (core_open, core_detach): added prototypes. | |
4172 | (core_ops): add forward declaration. | |
4173 | * Makefile.in (SFILES_MAINDIR): add core.c | |
4174 | (OBS): add core.o | |
4175 | (TSOBS): change core.o to corelow.o | |
4176 | ||
cdfab267 SG |
4177 | Wed Sep 23 11:14:53 1992 Stu Grossman (grossman at cygnus.com) |
4178 | ||
4179 | * m68k-tdep.c (m68k_saved_pc_after_call): Use 'GDB_TARGET_IS_SUN3' | |
4180 | instead of 'sun' predefined symbol so that trap analysis code is | |
4181 | enabled only when the TARGET is a sun3. | |
4182 | ||
5e9a7f00 KR |
4183 | Tue Sep 22 17:13:19 1992 Ken Raeburn ([email protected]) |
4184 | ||
4185 | * tm-i960.h (ext_format_i960): Add top-level declaration. | |
4186 | (REGISTER_CONVERT_TO_{VIRTUAL,RAW}): Don't declare it in nested | |
4187 | blocks, else Sun4 compiler complains. | |
4188 | ||
ebeccdf0 JG |
4189 | Tue Sep 22 00:43:51 1992 John Gilmore ([email protected]) |
4190 | ||
4191 | * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' | |
4192 | instruction's argument. Patch from [email protected] | |
4193 | (Jonathan Stone). | |
4194 | ||
5ee4e16c JG |
4195 | Mon Sep 21 18:16:30 1992 K. Richard Pixley ([email protected]) |
4196 | ||
4197 | Break the thread of control that implies that a unix child | |
4198 | process will be the default target. | |
4199 | ||
4200 | * target.c (find_default_run_target, find_default_attach, | |
4201 | find_default_create_inferior, return_zero): new functions. | |
4202 | (cleanup_target): Make return_zero the default for to_can_run. | |
4203 | ||
4204 | * exec.c (exec_ops), core.c (core_ops): Replace child_attach and | |
4205 | child_create_inferior references with find_default_XXX instead. | |
4206 | ||
4207 | * target.h (struct target_ops): new field, to_can_run. | |
4208 | (find_default_attach, find_default_create_inferior): new prototypes. | |
4209 | (target_can_run): new macro. | |
4210 | ||
4211 | * Also added a zero (default) to_can_run element to all static | |
4212 | struct target_ops initializations throughout GDB, except: | |
4213 | * inftarg.c (child_ops): Use new child_can_run() to enable child runs. | |
4214 | ||
4215 | * infrun.c (child_create_inferior): Clean up error handling when | |
4216 | no exec file is specified. | |
4217 | (child_attach): Don't require exec file. | |
4218 | ||
b28d3617 JG |
4219 | Mon Sep 21 19:43:13 1992 John Gilmore and K. Richard Pixley ([email protected]) |
4220 | ||
4221 | Remove kill_inferior_fast, in favor of target_kill, which goes | |
4222 | through the target vector. | |
4223 | ||
4224 | * inferior.h (kill_inferior_fast): remove declaration. | |
4225 | ||
4226 | * main.c (disconnect): call quit_cover using catch_errors rather | |
4227 | than calling kill_inferior_fast directly. New way goes through | |
4228 | the target vector, handles attached processes, and writes | |
4229 | command history if appropriate. | |
4230 | (quit_cover): new function, wrapper for quit_command. | |
4231 | ||
4232 | * convex-xdep.c, go32-xdep.c, hppabsd-xdep.c, hppahpux-xdep.c, | |
4233 | infptrace.c, procfs.c: Removed all instances of kill_inferior_fast, | |
4234 | inlining them into the local kill_inferior when needed. | |
4235 | ||
6b50c5c2 JG |
4236 | Mon Sep 21 19:23:05 1992 John Gilmore ([email protected]) |
4237 | ||
4238 | * infrun.c (_initialize_infrun): Alias `i handle' == `i signals'. | |
4239 | * stabsread.c (read_struct_type): Simplify complicated expression | |
4240 | for dumb DECstation compiler. | |
4241 | ||
8f61b5e4 ILT |
4242 | Mon Sep 21 14:54:35 1992 Ian Lance Taylor ([email protected]) |
4243 | ||
4244 | * m68k-pinsn (print_insn_arg, fetch_arg): added support for | |
4245 | operands to memory management instructions, from WRS. | |
4246 | ||
538280d8 FF |
4247 | Sep 20 08:42:12 1992 Fred Fish ([email protected]) |
4248 | ||
4249 | * main.c (main): Back out previous language setting changes. | |
4250 | Replace with simple default to C before processing any init | |
4251 | files. There MUST be a language set, even in the absence of | |
4252 | init files or executables, or expression parsing fails. | |
4253 | ||
d75710b0 FF |
4254 | Sat Sep 19 09:52:26 1992 Fred Fish ([email protected]) |
4255 | ||
4256 | * main.c (main): Move code that sets initial language to | |
4257 | symfile.c. Fixup places where command files are processed to | |
4258 | be consistent in setting a default language if none has been | |
4259 | previously set. | |
4260 | * symfile.c (set_initial_language): Add code moved from | |
4261 | main() that sets an initial default language when a new | |
4262 | symbol file is read. | |
4263 | * symfile.c (symbol_file_command): Call set_initial_language. | |
4264 | * symtab.c (find_main_psymtab): Add FIXME comment. | |
4265 | ||
45413b27 JG |
4266 | Wed Sep 16 22:31:55 1992 K. Richard Pixley ([email protected]) |
4267 | ||
4268 | * breakpoint.c, sparc-tdep.c: comment changes. | |
f7fe7196 JG |
4269 | * configure.in: removed target_dependent line. |
4270 | ||
4271 | * remote-mm.c (mm_attach): change printf to error to prevent | |
4272 | fallthrough bug. | |
e7ae70e9 SG |
4273 | * remote-udi.c (udi_attach): change printf to error to prevent |
4274 | fallthrough bug. | |
45413b27 | 4275 | |
5f1c39ef JG |
4276 | * rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replace |
4277 | calls to {fetch|store}_inferior_registers with calls to | |
4278 | target_{fetch|store}_registers, for remote-target independence. | |
4279 | ||
dd9da95a JG |
4280 | Sat Sep 19 04:23:54 1992 John Gilmore ([email protected]) |
4281 | ||
4282 | * Makefile.in: Fix bug I introduced in merging Rich's change. | |
4283 | * infrun.c (child_create_inferior): Use proceed() rather than | |
4284 | doing all the same stuff by hand. | |
4285 | ||
d40309c7 JG |
4286 | Thu Sep 17 17:35:37 1992 K. Richard Pixley ([email protected]) |
4287 | ||
4288 | * Makefile.in, configure.in: add support for files used only when | |
4289 | configured native, that is, when host = target. | |
4290 | ||
a4afec9a JG |
4291 | Wed Sep 16 23:03:23 1992 K. Richard Pixley ([email protected]) |
4292 | ||
4293 | * tm-sparc.h, xm-sparc.h: externs and macros relating to deferred | |
d40309c7 | 4294 | stores are target dependent and were moved from xm to tm. |
a4afec9a | 4295 | |
2e384b3b JG |
4296 | Sat Sep 19 03:14:37 1992 John Gilmore ([email protected]) |
4297 | ||
8c095066 JG |
4298 | * Makefile.in (gdb-all.texi): Build in objdir, not $srcdir. |
4299 | ||
2e384b3b JG |
4300 | * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE |
4301 | overrides, to avoid problem in xdr_bytes with malloc(0) => 0. | |
4302 | ||
dcc8abce JG |
4303 | Wed Sep 16 20:04:54 1992 K. Richard Pixley ([email protected]) |
4304 | ||
4305 | * target.h (struct target_ops): removed to_convert_to_virtual and | |
4306 | to_convert_from_virtual elements. Initializations removed from | |
4307 | all static initializations. | |
4308 | (target_convert_to_virtual, target_convert_from_virtual): | |
4309 | removed. | |
4310 | (host_convert_to_virtual, host_convert_from_virtual): Removed | |
4311 | forward declarations. | |
4312 | * target.c (cleanup_target): removed default assignments for | |
4313 | to_convert_to_virtual and to_convert_from_virtual. | |
4314 | * inftarg.c (host_convert_to_virtual, host_convert_from_virtual): | |
4315 | removed. | |
4316 | * findvar.c (value_of_register, value_from_register): | |
4317 | target_convert_to_virtual inlined. | |
4318 | * infcmd.c (do_registers_info): target_convert_to_virtual inlined. | |
4319 | * valops.c (value_assign): target_convert_from_virtual inlined. | |
4320 | ||
2886f8b2 JG |
4321 | Fri Sep 18 02:07:39 1992 John Gilmore ([email protected]) |
4322 | ||
c35475f9 JG |
4323 | * main.c (gdb_readline): Avoid printf_filtered, which sets char |
4324 | position wrong if used for the prompt. | |
4325 | * utils.c (puts_filtered): Comment: NOT a puts() replacement! | |
4326 | ||
2886f8b2 JG |
4327 | Support for accessing arbitrary MIPS stack frames in memory. |
4328 | ||
4329 | * blockframe.c (get_prev_frame_info): If INIT_FRAME_PC_FIRST is | |
4330 | set, run it before INIT_EXTRA_FRAME_INFO. | |
4331 | * stack.c (frame_info): If PRINT_EXTRA_FRAME_INFO defined, call it. | |
4332 | ||
4333 | * mips-tdep.c (init_extra_frame_info): Only clobber the `frame' | |
4334 | (FP) value in the frame_info struct if it is zero (as from top of | |
4335 | execution stack). | |
4336 | (setup_arbitrary_frame): Implement FRAME_SPECIFICATION_DYADIC. | |
4337 | ||
4338 | * mips-xdep.c (fetch_inferior_registers): ZERO_REGNUM always | |
4339 | comes back as zero. So does FP_REGNUM, as a trigger for | |
4340 | init_extra_frame_info. | |
4341 | ||
4342 | * tm-mips.h (INIT_FRAME_PC_FIRST): Kludge, FIXME, defined to get | |
4343 | the program counter set before INIT_EXTRA_FRAME_INFO is run. | |
4344 | (INIT_FRAME_PC): Defined to null. | |
4345 | (PRINT_EXTRA_FRAME_INFO): print frame pointer location via symtab. | |
4346 | (FRAME_SPECIFICATION_DYADIC): Ask for two args in frame command. | |
4347 | Briefly explain MIPS stacks in GDB. | |
4348 | ||
d974236f JG |
4349 | Thu Sep 17 03:49:59 1992 John Gilmore ([email protected]) |
4350 | ||
cb1d36fc JG |
4351 | * copying.awk, copying.c (show_copying_command, |
4352 | show_warranty_command): Rename from copying_info, warranty_info, | |
4353 | to match command function conventions. | |
4354 | ||
d974236f JG |
4355 | * utils.c (prompt_for_continue): Reinitialize more-counts |
4356 | before printing anything, and again afterward. Fix comments. | |
4357 | (vfprintf_filtered): Eliminate static buffer; use auto buffer, | |
4358 | or alloca() if needed. | |
4359 | ||
4360 | * rs6000-xdep.c: Use correct conditional (IBM6000_TARGET) to | |
4361 | detect native versus cross-host. | |
4362 | ||
f4992534 SG |
4363 | Wed Sep 16 21:57:14 1992 Stu Grossman (grossman at cygnus.com) |
4364 | ||
4365 | * m68k-tdep.c (sun3_saved_pc_after_call): Only do trap check for | |
4366 | Suns. Rename to m68k_saved_pc_after_call. | |
4367 | * tm-68k-noun.h, tm-sun3.h (SAVED_PC_AFTER_CALL): Use | |
4368 | m68k_saved... instead of sun3_saved... | |
4369 | ||
22473f72 JG |
4370 | Wed Sep 16 17:00:07 1992 John Gilmore ([email protected]) |
4371 | ||
4372 | * Makefile.in (update-depend, update-alldeps): Split out of | |
4373 | setup-to-dist, for convenience in rebuilding the depend and | |
4374 | alldeps.mak files. | |
4375 | (assorted): Update to catch straggler files when building gdb.tar.Z. | |
4376 | ||
997cc2c0 JG |
4377 | Tue Sep 15 01:18:50 1992 John Gilmore ([email protected]) |
4378 | ||
4379 | Preliminary cleanup for splitting host/native/target. | |
4380 | ||
4381 | * infptrace.c (child_resume): Don't deal with NO_SINGLE_STEP | |
4382 | here; it is dealt with at a gdb-target-independent level. | |
4383 | * rs6000-tdep.c (single_step): Don't call ptrace, we are a | |
4384 | high toned routine. Fix return type to void. | |
6bb40269 JG |
4385 | * tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it. |
4386 | Rich and I believe the "real problem" was that both single_step | |
4387 | and target_resume were issuing PT_CONTINUE calls. This would | |
4388 | cause the second PT_CONTINUE to sometimes fail because the process | |
4389 | was already running. | |
4390 | * infptrace.c (child_resume): Remove AIX_BUGGY_PTRACE_CALL kludge. | |
997cc2c0 | 4391 | |
5ca812d4 SG |
4392 | Mon Sep 14 19:20:43 1992 Stu Grossman (grossman at cygnus.com) |
4393 | ||
e7ae70e9 SG |
4394 | * energize.c (pty_to_kernel): Must check for EAGAIN as |
4395 | termination condition. | |
4396 | (full_filename): Don't prepend dirname if filename begins with /. | |
4397 | (breakpoint_notify, kernel_dispatch): Deal with DynamicLoad | |
4398 | messages properly!! | |
4399 | (getpty (NCR)): Lotsa bug fixes... | |
4400 | (kernel_dispatch (case StopRType)): Use kill() instead of | |
4401 | killpg() so we can deal with losing systems... | |
4402 | (wait_for_events): Work around NCR select() lossage. It doesn't | |
4403 | zero out readfds when select() returns zero. | |
4404 | (energize_initialize): Use I_SETSIG to get SIGIO interrupts. Use | |
4405 | getcwd() instead of getwd() (NCR getwd() seg faults). | |
4406 | (energize_wait): Use sigaction() for NCR. Their version of signal() | |
4407 | is unreliable by default. | |
4408 | ||
34da3608 SG |
4409 | * procfs.c (proc_wait): Call print_sys_errmsg() if we get an |
4410 | error from PIOCSWSTOP. | |
4411 | ||
a8e033f2 SG |
4412 | * breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c, |
4413 | symfile.c, target.c, valprint.c: Use _filtered form of *printf. | |
4414 | defs.h, utils.c: Make vfprintf_filtered global. | |
4415 | ||
e7ae70e9 SG |
4416 | * energize.c (send_location): New routine to consolidate all |
4417 | places where we must notify kernel of where the given pc is. | |
4418 | (cplus_demangle): Put single-quotes around demangled names. | |
4419 | (energize_call_command): Call send_location() after doing up, | |
4420 | down, and frame commands. | |
4421 | ||
549ff100 RP |
4422 | Fri Sep 11 18:28:28 1992 Roland H. Pesch ([email protected]) |
4423 | ||
d1d1ab12 | 4424 | * doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: first |
e7ae70e9 | 4425 | pass at doc for two new remote targets---29K using UDI, and Tandem |
d1d1ab12 RP |
4426 | ST2000 using STDBUG. |
4427 | ||
4428 | * doc/all.m4, doc/none.m4: new m4 switch, _ST2000__ | |
4429 | ||
4430 | * doc/all.m4: turn on H8/300 stuff for generic manual | |
4431 | ||
549ff100 RP |
4432 | * doc/gdbinv-s.m4.in: remove text on special procedures to continue |
4433 | after explicit call to breakpoint() in serial stubs. | |
4434 | ||
3de61d8c JG |
4435 | Fri Sep 11 01:34:25 1992 John Gilmore ([email protected]) |
4436 | ||
57a9bb5f JG |
4437 | * mipsread.c: Clean up some white space. |
4438 | (parse_symbol): Handle stEnd of stFile. | |
4439 | (parse_partial_symbols): Remove old #if 0'd code. Handle stLocal. | |
4440 | ||
3de61d8c JG |
4441 | * mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers, |
4442 | store_inferior_registers): Replace unexplained numbers | |
4443 | with manifest constants from a DECstation header file. | |
4444 | * xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>. | |
4445 | (REGISTER_U_ADDR): Fix up for Ultrix 4.2. | |
4446 | ||
4447 | * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. | |
4448 | ||
4449 | * stack.c (_initialize_stack): "dow" should be a valid abbreviation | |
4450 | for "down". Suggested by Richard Stallman. | |
4451 | ||
73386fff KR |
4452 | Thu Sep 10 15:26:07 1992 Ken Raeburn ([email protected]) |
4453 | ||
4454 | * remote-vx.c: Rename realloc for inclusion of rpc/rpc.h, to avoid | |
4455 | redeclaration bug on SunOS 4. | |
4456 | ||
4ddd278f JG |
4457 | Wed Sep 9 17:36:53 1992 John Gilmore ([email protected]) |
4458 | ||
4459 | * i386-stub.c, sparc-stub.c (getpacket): Actually check checksums. | |
4460 | * m68k-stub.c: Remove a few extraneous ANSI-isms. | |
4461 | * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if | |
4462 | they aren't already there. | |
4463 | * remote-vx.c (vx_prepare_to_store): Ditto. | |
4464 | * xcoffread.c: Surround forward struct defns with #ifdef __STDC__. | |
4465 | ||
2640f7e1 JG |
4466 | Wed Sep 9 16:50:22 1992 John Gilmore ([email protected]) |
4467 | ||
4468 | Removed a large number of changes inserted by Per Bothner | |
4469 | for C++ support. These will go back in when they've been | |
4470 | examined. | |
4471 | ||
ed3f6049 SG |
4472 | Tue Sep 8 21:05:18 1992 Stu Grossman (grossman at cygnus.com) |
4473 | ||
4474 | * serial.h: Fix prototye for serial_raw(). | |
4475 | * ser-bsd.c, ser-termios.c: Fix args for serial_open() & | |
4476 | serial_write() to match prototypes. | |
4477 | * remote-st2000.c (get_reg_name): Make *p be const. | |
4478 | ||
120f867e KR |
4479 | Tue Sep 8 17:24:52 1992 Ken Raeburn ([email protected]) |
4480 | ||
4481 | * remote-nindy.c (nindy_fetch_registers): Make return type void, | |
4482 | to agree with target structure field type. | |
4483 | (nindy_store_registers): Ditto. | |
4484 | ||
4485 | * Makefile (OPCODES): New var, pointing to opcodes library. | |
4486 | (CLIBS, CDEPS): Include it. | |
4487 | (saber_gdb): Load opcodes library. | |
4488 | ||
a090e706 SG |
4489 | Tue Sep 8 15:22:06 1992 Stu Grossman (grossman at cygnus.com) |
4490 | ||
4491 | * a68v-xdep.c (store_inferior_registers): declare as void. | |
4492 | * infptrace.c: HP/Apollos have ptrace.h in the wrong place. | |
4493 | * remote-st2000.c: Massive changes to use new serial package. | |
4494 | Also added 'connect' command to transparantly connect to serial | |
4495 | port. | |
4496 | * ser-termios.c: Big cleanup, use nicer coding conventions. | |
4497 | * ser-bsd.c: New module, serial stuff for BSD systems. | |
4498 | * serial.h: Define struct ttystate properly using HAVE_TERMIO. | |
4499 | * xm-apollo68b.h: #define PTRACE_IN_WRONG_PLACE... | |
4500 | ||
4468ccfb RP |
4501 | Fri Sep 4 18:53:57 1992 Roland H. Pesch ([email protected]) |
4502 | ||
4503 | * doc/gdb.texinfo: fix shameful error of agreement reported by | |
4504 | [email protected] (Jim Blandy) | |
4505 | * doc/gdb.texinfo: remove old partial discussion of remote serial | |
4506 | protocol (via serial debug stubs) | |
4507 | * doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: new section discussing | |
4508 | use of serial debug stubs | |
4509 | ||
35fcebce PB |
4510 | Fri Sep 4 00:34:30 1992 Per Bothner ([email protected]) |
4511 | ||
35fcebce PB |
4512 | * symfile.h: Declaration of set_demangling_style() moved |
4513 | here from demangle.h (which is now in ../include). | |
4514 | * i386-xdep.c: Update comment. | |
35fcebce | 4515 | |
8005788c RP |
4516 | Thu Sep 3 13:44:46 1992 K. Richard Pixley ([email protected]) |
4517 | ||
4518 | * symtab.c (completion_list_add_symbol): restructured to optimize | |
2640f7e1 JG |
4519 | for time. First clip names that cannot match. Then clip any |
4520 | names we've already considered. Drop a redundant strncpy. Drop | |
4521 | a redundant malloc and associated free for demangled names. | |
8005788c | 4522 | |
6c7e40b4 SG |
4523 | Thu Sep 3 09:17:05 1992 Stu Grossman (grossman at cygnus.com) |
4524 | ||
4525 | * a68v-xdep.c (store_inferior_registers): Define as type void. | |
4526 | * configure.in: Add host m68k-apollo*-bsd*. | |
4527 | * demangle.c (struct demanglers): Use enum instead of constant | |
4528 | value to keep braindamaged HP/Apollo compiler happy. | |
4529 | ||
546014f7 PB |
4530 | Wed Sep 2 20:45:31 1992 Per Bothner ([email protected]) |
4531 | ||
4532 | * utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" to | |
4533 | match "FOO". This allows 'break Foo' to work when Foo is | |
4534 | a mangled C++ function. (See comment before function.) | |
4535 | ||
6131a42a JG |
4536 | Wed Sep 2 13:45:27 1992 John Gilmore ([email protected]) |
4537 | ||
82eabd43 JG |
4538 | * config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug, |
4539 | for files in vx-share/*.c. | |
4540 | * xm-rs6000.h (fd_set): Circumvent the rs6000.mh circumvention, | |
4541 | for normal GDB source files. | |
4542 | ||
6d7bfa9a JG |
4543 | * Makefile.in (VERSION): Roll to 4.6.6. |
4544 | ||
6131a42a JG |
4545 | * tm-vx68.h, tm-es1800.h: Use tm-68k.h rather than tm-sun3.h. |
4546 | * tm-sun3.h: Remove STACK_END_ADDR, no longer used. | |
4547 | * tm-sun3os4.h: Update comments. | |
4548 | * xm-delta88.h: Remove STACK_END_ADDR. | |
4549 | ||
b52373a2 JG |
4550 | Wed Sep 2 01:18:31 1992 John Gilmore ([email protected]) |
4551 | ||
6aef3bde JG |
4552 | * Makefile.in (VERSION): Roll to 4.6.5. |
4553 | ||
6131a42a JG |
4554 | * infrun.c: Lint for recent `handle' changes. |
4555 | ||
b52373a2 JG |
4556 | * ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up. |
4557 | * serial.h (EXFUN): Remove all uses, convert to PARAMS. | |
4558 | * config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files | |
4559 | should include a ser-XXX.o module. | |
4560 | ||
4561 | * dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap. | |
4562 | * defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const. | |
4563 | ||
4564 | * configure.in: Map unrecognized sun 68k's, sun sparcs, into | |
4565 | known suns in configure.in, rather than mapping them to unique | |
4566 | config files that happen to duplicate other config files. | |
4567 | * config/sun3.{mh,mt}: Remove (use identical sun3os4.*). | |
4568 | * config/sun4.{mh,mt}: Remove (use identical sun4os4.*). | |
4569 | ||
ebb3a1e5 JG |
4570 | Wed Sep 2 00:10:43 1992 John Gilmore ([email protected]) |
4571 | ||
4572 | * configure.in (*-*-sunos*): Use trailing * to match all | |
4573 | sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1. | |
4574 | (sparc-*-sunos3): Remove host & target. Sunos3 never shipped | |
4575 | in production on Sun-4. | |
4576 | ({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff. | |
4577 | (m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files. | |
4578 | (sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files. | |
4579 | ||
4580 | * config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt, | |
4581 | config/sparc-noun.mt: New target configs for embedded. | |
4582 | * config/sun4os3.{mh,mt}: Remove, never existed in production. | |
4583 | ||
4584 | * tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New | |
4585 | target definitions for embedded with and without underlines on | |
84a05e52 | 4586 | identifiers. |
ebb3a1e5 JG |
4587 | |
4588 | * tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE: | |
4589 | not a parameter of the CPU, but of the development environment. | |
4590 | * tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE. | |
4591 | ||
ea678717 JG |
4592 | Tue Sep 1 17:31:45 1992 John Gilmore ([email protected]) |
4593 | ||
4594 | * breakpoint.c (breakpoint_re_set): Avoid setting source symtab | |
4595 | (which involves reading in main's symtab) if we have no breakpoints. | |
4596 | ||
95ff889e FF |
4597 | Mon Aug 31 13:47:45 1992 Fred Fish ([email protected]) |
4598 | ||
4599 | * dwarfread.c (cu_language): New local variable to record | |
4600 | language for current compilation unit being processed. | |
4601 | * dwarfread.c (set_cu_language): New local function to decode | |
4602 | and record language for current compilation unit being processed. | |
4603 | * dwarfread.c (synthesize_typedef): Add local function to | |
4604 | synthesize a typedef for C++ classes, structs, unions, and | |
4605 | enumerations. | |
4606 | * dwarfread.c (read_structure_scope): Synthesize typedefs | |
4607 | for C++ classes, structs and unions. | |
4608 | * dwarfread.c (read_enumeration): Synthesize typedefs for | |
4609 | C++ enumerations. | |
4610 | * dwarfread.c (read_file_scope): Call set_cu_language to | |
4611 | record language for current compilation unit. After symtab | |
4612 | is built, save this recorded language. | |
4613 | * dwarfread.c (process_dies, add_partial_symbol, struct_type, | |
4614 | scan_partial_symbols, new_symbol): Recognize TAG_class_type. | |
4615 | * dwarfread.c (add_partial_symbol): Synthesize partial symbol | |
4616 | typedefs for C++ classes, structs, unions, and enumerations. | |
4617 | * dwarfread.c (scan_compilation_units): Call set_cu_language | |
4618 | to record language for current compilation unit. | |
4619 | * dwarfread.c (scan_partial_symbols): Call add_enum_psymbol here | |
4620 | for TAG_enumeration_types, rather than in add_partial_symbol. | |
4621 | * dwarfread.c (add_partial_symbol): Combine TAG_enumeration_type | |
4622 | case with class, struct, and union type cases, now that they are | |
4623 | the same. Remove tests for non-NULL name attributes, now done | |
4624 | by callers. | |
4625 | * gdbtypes.h (TYPE_CODE_CLASS): Add type for C++ classes, but | |
4626 | treat as alias for TYPE_CODE_STRUCT for now. | |
4627 | ||
b68b44fa ILT |
4628 | Sun Aug 30 21:32:17 1992 Ian Lance Taylor ([email protected]) |
4629 | ||
4630 | * Makefile.in: map "gdb" through program_transform_name when | |
4631 | installing. | |
4632 | ||
3877a219 FF |
4633 | Sun Aug 30 21:18:51 1992 Fred Fish ([email protected]) |
4634 | ||
4635 | * {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c} | |
4636 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): | |
4637 | Use "regi" for local indexing through register numbers, reserving | |
4638 | "regno" for the name of a specific register passed as an input | |
4639 | parameter. Fix bug propagated through all versions that sometimes | |
4640 | used regno as an index when it should have been regi, thus using | |
4641 | -1 as an index in some cases. | |
4642 | ||
3402b1cf PB |
4643 | Sun Aug 30 18:15:17 1992 Per Bothner ([email protected]) |
4644 | ||
4645 | * cplus-dem.c, demangle.h: Moved to ../libiberty and ../include, | |
4646 | respectively, so same demangler can be used by other programs. | |
4647 | * Makefile.in: Remove demangler stuff. | |
4648 | * Makefile.in (depend): Pass -I../readline (needed for main.c). | |
4649 | * demangle.c (_initialize_demangler): Tell demangler which | |
4650 | CPLUS_MARKER to assume. | |
4651 | ||
d6776adb JG |
4652 | Fri Aug 28 13:13:33 1992 John Gilmore ([email protected]) |
4653 | ||
9b280a7f JG |
4654 | RS/6000 portability changes (for hosting cross-debuggers). |
4655 | ||
4656 | * breakpoint.c (fixup_breakpoints): Re-kludge to IBM6000_TARGET. | |
4657 | * buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h, | |
4658 | xcoffexec.c, xcoffread.c: Rename aixcoff to xcoff everywhere. | |
4659 | * printcmd.c (print_frame_args): Remove an RS/6000 dependency. | |
4660 | * stabsread.c (define_symbol): Remove RS/6000 dependencies. | |
4661 | * tm-rs6000.h (ATTACH_DETACH): Remove: host-dependent. | |
4662 | (PTRACE_ATTACH, PTRACE_DETACH): Remove: host-dep. | |
4663 | (NO_SINGLE_STEP): Add, target-dependent. | |
4664 | (loadinfotextindex): Lowercase, remove "aix_". | |
4665 | * xm-rs6000.h: Add <sys/ptrace.h> for infptrace.c. | |
4666 | (NO_SINGLE_STEP): Remove, target-dependent. | |
4667 | * xcoffexec.c (vmap_symtab): Cleanup #if 0'd code. | |
4668 | * xcoffread.c: Only build file if RS/6000 native GDB. | |
4669 | (build_function_symbol): Remove #if 0'd code. | |
4670 | * rs6000-tdep.c: Cleanup. Add static fn protos. | |
4671 | Use CORE_ADDR for addresses throughout. Make void fns void. | |
4672 | (pop_dummy_frame): Add FIXME about bogosity of design here. | |
4673 | (rs6000_struct_return_address): Ditto. | |
4674 | (frameless_function_invocation, frame_get_cache_fsr, | |
4675 | frame_initial_stack_address, xcoff_relocate_symtab, | |
4676 | xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo, | |
4677 | add_text_to_loadinfo, find_toc_address): Move from xdep file. | |
4678 | Use CORE_ADDRs. Change identifiers to lowercase. | |
4679 | ||
4680 | * rs6000-xdep.c: Make whole file conditional on native RS/6000, | |
4681 | supplying dummy routines if non-native. Add prototype for | |
4682 | static exec_one_dummy_insn. Move a mess of functions to | |
4683 | rs6000-tdep.c (as above). Remove #if 0'd code. | |
4684 | ||
4685 | * config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side. | |
4686 | (XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug. | |
4687 | * config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o. | |
4688 | ||
4689 | * gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems | |
4690 | for callers. | |
4691 | ||
d6776adb JG |
4692 | * vx-share/README, nindy-share/README: New files describing |
4693 | how these directories' code is shared, and with whom. | |
4694 | ||
ef131e13 JG |
4695 | Thu Aug 27 20:04:56 1992 John Gilmore ([email protected]) |
4696 | ||
4697 | * configure.in (target configurations): Reformat into table. | |
4698 | Remove unsupp. Amigados host and target. Ditto Mach 386 target. | |
4699 | ||
4700 | * tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs. | |
4701 | * config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}: Ditto. | |
4702 | * config/{i386sco.mt,i386v32.mt}: Remove; identical to i386v.mt. | |
4703 | * config/{go32.mt,i960.mt}: Remove; they only printed error msgs. | |
4704 | * config/nindy960.mt: Remove useless MT_CFLAGS setting. | |
4705 | * config/i386aout.mt: Use tm-i386v.h, not tm-i386v-g.h. | |
4706 | ||
4707 | * Makefile.in (config-check): Add command to check whether | |
4708 | configure.in is consistent with config/*. | |
4709 | ||
19758e9e JG |
4710 | Wed Aug 26 21:10:52 1992 John Gilmore ([email protected]) |
4711 | ||
4712 | * configure.in (host configurations): Reformat nested cases into | |
4713 | easy-to-maintain table. | |
b1aa08e2 JG |
4714 | (m68k-altos-*, i386v*): We don't care whether coff encap is used. |
4715 | config/{altosgas.mh, i386v-g.mh, i386v32-g.mh}: Remove. | |
19758e9e | 4716 | |
38e9ed49 FF |
4717 | Wed Aug 26 16:02:01 1992 Fred Fish ([email protected]) |
4718 | ||
4719 | * cplus-dem.c: Reorder args to most local functions to make them | |
4720 | follow the consistent pattern of struct work_stuff pointer first, | |
4721 | followed by pointer into string being demangled, followed by | |
4722 | pointer to the string where the result is being stored, followed | |
4723 | by other args. Also generally replace most variables of name | |
4724 | "type" with "mangled" for consistency. They all pointed to the | |
4725 | same string but half were one name and half the other. | |
4726 | * cplus-dem.c (LONGERNAMES): Remove #ifndef's. | |
4727 | * cplus-dem.c (demangle_qualified): Rewrite to clean up and allow | |
4728 | use whenever a qualified name is being demangled. | |
4729 | * cplus-dem.c (do_type): Qualified names are treated similarly | |
4730 | to fundamental types, not as modifiers of fundamental types. | |
4731 | ||
ee97d673 SG |
4732 | Mon Aug 24 20:44:38 1992 Stu Grossman (grossman at cygnus.com) |
4733 | ||
38e9ed49 FF |
4734 | * configure.in: Add sparclite as a target. |
4735 | ||
ee97d673 SG |
4736 | * sparc-stub.c (handle_exception): Flush instruction cache just |
4737 | before returning to the user. (hexToInt): Fix overzealous cleanup. | |
4738 | ||
93220abe FF |
4739 | Mon Aug 24 11:57:13 1992 Fred Fish ([email protected]) |
4740 | ||
4741 | * infrun.c (handle_command): Rewrite to allow multiple signal | |
4742 | numbers, signal number ranges, and to recognize "all" to mean all | |
4743 | signals except those used by the debugger. | |
4744 | * infrun.c (SET_SIGS, UNSET_SIGS): Macros used in handle_command | |
4745 | to set or reset actions for specific signals. | |
4746 | ||
dac9734e FF |
4747 | Sun Aug 23 17:10:07 1992 Fred Fish ([email protected]) |
4748 | ||
4749 | * coffread.c (decode_type): Call alloc_type to alloc new | |
4750 | types. | |
4751 | * stabsread.c (read_array_type, read_range_type, define_symbol): | |
4752 | Call alloc_type to alloc new types. | |
4753 | * stabsread.c (define_symbol): Move dbl_valu symbol field data | |
4754 | from type_obstack to symbol_obstack. | |
4755 | * stabsread.c (define_symbol): Move typedef_sym from type_obstack | |
4756 | to symbol_obstack. | |
4757 | * gdbtypes.h (TYPE_ALLOC): New macro to allocate space for data | |
4758 | associated with a type, using the same mechanism as was used to | |
4759 | allocate space for the type structure itself. | |
4760 | * coffread.c (patch_type, coff_read_struct_type, | |
4761 | coff_read_enum_type): Use TYPE_ALLOC. | |
4762 | * dwarfread.c (struct_type): Use TYPE_ALLOC. | |
4763 | * gdbtypes.c (create_array_type, check_stub_method, | |
4764 | allocate_cplus_struct_type): Use TYPE_ALLOC. | |
4765 | * mipsread.c (parse_symbol, parse_type): Use TYPE_ALLOC. | |
4766 | * stabsread.c (read_struct_type, read_array_type, read_enum_type, | |
4767 | read_range_type): Use TYPE_ALLOC. | |
4768 | ||
ca8820f9 FF |
4769 | Sun Aug 23 11:04:08 1992 Fred Fish ([email protected]) |
4770 | ||
4771 | * breakpoint.c (breakpoint_re_set): Select a default source | |
4772 | symtab if one is not currently selected. | |
4773 | * utils.c (query): Call wrap_here before building the output | |
4774 | query string, to turn off wrapping and flush any buffered output. | |
4775 | Otherwise our query may end up in the wrap buffer and never be | |
4776 | seen by the user. | |
4777 | * eval.c (evaluate_subexp): Report error when attempting to | |
4778 | evaluate subscript for types without a target type, rather | |
4779 | than dumping core by using the NULL pointer. | |
4780 | * symfile.c (symbol_file_command): Forget current_source_symtab | |
4781 | and current_source_line when discarding symbol table. | |
4782 | ||
42e8b658 JG |
4783 | Sat Aug 22 22:33:20 1992 John Gilmore ([email protected]) |
4784 | ||
4785 | Bug fixes from Andrew Heybey <[email protected]>. | |
4786 | ||
4787 | * tm-mips.h (REGISTER_VIRTUAL_TYPE): Float regs are float type. | |
4788 | * mips-tdep.c (mips_print_register): Alloc enough space for two regs. | |
4789 | ||
39a13178 SG |
4790 | Fri Aug 21 15:17:03 1992 Stu Grossman (grossman at cygnus.com) |
4791 | ||
4792 | * remote.c (remote_open): Fix baud rate setting to make -b flag | |
4793 | work. (remote_wait): Change 'T' message parser to deal with new | |
4794 | improved format which allows stub to send an arbitrary bunch of | |
4795 | registers. | |
4796 | * sparc-stub.c: General cleanups. (trap_low, handle_exception): | |
4797 | make all this re-entrant by storing all state on the stack. Clean | |
4798 | up memory error trapping. (computeSignal, set_debug_traps): | |
4799 | make it all table driven. Make a start at a baud rate setting command. | |
4800 | ||
0d6d92c7 ILT |
4801 | Wed Aug 19 10:23:27 1992 Ian Lance Taylor ([email protected]) |
4802 | ||
664cf438 ILT |
4803 | * m68k-pinsn.c: handle new operand type 'r', introduced for cas2. |
4804 | ||
0d6d92c7 ILT |
4805 | * remote-vx.c: redefine malloc to avoid buggy declaration on |
4806 | RS/6000 <rpc/types.h>. | |
4807 | xm-rs6000.h: include <sys/select.h> to define fd_set for | |
4808 | <rpc/svc.h> on RS/6000. | |
4809 | ||
4bbefa86 ILT |
4810 | Tue Aug 18 14:48:24 1992 Ian Lance Taylor ([email protected]) |
4811 | ||
4812 | * Makefile.in: added FLAGS_TO_PASS variable, and passed it to | |
4813 | recursive invocations of make. Always create installation | |
4814 | directories. | |
4815 | ||
d6b38bfb PB |
4816 | Mon Aug 17 18:29:58 1992 Per Bothner ([email protected]) |
4817 | ||
4818 | * m68k-pinsn.c: Minor fix in style of output (don't use | |
4819 | range to indicate floating point control registers). | |
4820 | ||
e893a126 JG |
4821 | Sat Aug 15 02:58:03 1992 John Gilmore ([email protected]) |
4822 | ||
67c9f54c JG |
4823 | * m68k-pinsn.c: Surround extended support with #ifdef HAVE_68881. |
4824 | ||
e893a126 JG |
4825 | * infcmd.c (registers_info): Handle multiple register names. |
4826 | Changes inspired by Roland McGrath. | |
4827 | ||
4ecee2f9 SG |
4828 | Sat Aug 15 02:28:52 1992 Stu Grossman (grossman at cygnus.com) |
4829 | ||
4830 | * sparc-stub.c: New file. Mix it with your SPARClite | |
4831 | application, and it will speak GDB remote protocol! | |
4832 | * remote.c (remote_wait): Change 'T' (expedited reply) message to | |
e893a126 | 4833 | deal with arbitrary registers. Needed for sparc-stub. |
4ecee2f9 | 4834 | |
3dc755fb FF |
4835 | Fri Aug 14 12:11:25 1992 Fred Fish ([email protected]) |
4836 | ||
4837 | * cplus-dem.c (cplus_markers): Add table for gnu style and | |
4838 | use throughout, in place of compile time constant CPLUS_MARKER. | |
4839 | * cplus-dem.c (ARM_VTABLE_STRING, ARM_VTABLE_STRLEN): Add. | |
4840 | * cplus-dem.c (cfront_special): New function, as suggested | |
4841 | by [email protected]. | |
4842 | * cplus-dem.c (forget_types): New function. | |
4843 | * cplus-dem.c (cplus_demangle): Call gnu_special, moved from | |
4844 | demangle_prefix(). | |
4845 | * cplus-dem.c (mop_up): Call forget_types(). | |
4846 | * cplus-dem.c (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING): | |
4847 | Use throughout, instead of checking current_demangling_style. | |
4848 | * cplus-dem.c (demangle_signature): When finding an explicit | |
4849 | start of function args, forget all remembered types for | |
4850 | lucid/cfront style demangling. | |
4851 | * cplus-dem.c (demangle_prefix): In a sequence of two or more | |
4852 | underbar characters, use last pair as the delimiter. Hoist | |
4853 | gnu_special() call up to cplus_demangle(). Call cfront_special() | |
4854 | when appropriate. | |
4855 | * cplus-dem.c (cplus_special): Fix virtual table name demangling | |
4856 | for inherited classes. | |
4857 | * cplus-dem.c (demangle_args): Document quirks of numbered | |
4858 | references to previously seen types. | |
4859 | * dbxread.c (read_ofile_symtab, process_one_symbol): | |
4860 | Use AUTO_DEMANGLING rather than explicitly checking | |
4861 | current_demangling_style. | |
4862 | * demangle.h: Add some comments. | |
4863 | * demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING, | |
4864 | CFRONT_DEMANGLING): New macros. | |
4865 | * dwarfread.c (LCC_PRODUCER): Remove trailing space, which is | |
4866 | not found in the actual producer string produced by lcc. | |
4867 | * dwarfread.c (handle_producer): Use AUTO_DEMANGLING rather | |
4868 | than explicitly checking current_demangling_style. | |
4869 | ||
4e8ea7a6 JG |
4870 | Thu Aug 13 11:54:46 1992 John Gilmore (gnu at cygnus.com) |
4871 | ||
4872 | * breakpoint.c (enable_longjmp_breakpoint, | |
4873 | disable_longjmp_breakpoint, set_longjmp_resume_breakpoint): | |
4874 | Check for duplicate breakpoints at the same address. Bug report | |
4875 | and preliminary fix from Dave Morrison, <[email protected]>. | |
4876 | ||
7b5d9650 FF |
4877 | Wed Aug 12 11:14:58 1992 Fred Fish ([email protected]) |
4878 | ||
4879 | * buildsym.c (end_symtab): Document that end_symtab can return | |
4880 | NULL under non-error conditions. | |
4881 | * dwarfread.c (read_file_scope): Guard against dereferencing NULL | |
4882 | returned from end_symtab for empty compilation units. | |
4883 | ||
6872cfda JG |
4884 | Tue Aug 11 02:49:39 1992 John Gilmore (gnu at cygnus.com) |
4885 | ||
4886 | * am29k-tdep.c: Lint from DECstation compiler. | |
4887 | * mem-break.c: Restore test of BREAKPOINT size that Fred removed. | |
4888 | As the man page says, "Sometimes you just can't get lint to shut | |
4889 | up". That doesn't mean you should blow away the code it won't | |
4890 | shut up about. | |
4891 | * mips-xdep.c: Revise stubbing-out of code until Rich cleans | |
4892 | it up over the next few weeks. Make mips x 29k build. | |
4893 | * tm-29k.h (CALL_DUMMY): Make it work on cross-endian hosts. | |
4894 | (FIX_CALL_DUMMY): Comment in the patching of the breakpoint, | |
4895 | but leave it as a comment because the breakpoint instruction | |
4896 | is not easily accessible at this moment (it's static, and if | |
4897 | we define one here, it goes into every file compiled). | |
4898 | ||
a679650f FF |
4899 | Mon Aug 10 22:27:19 1992 Fred Fish ([email protected]) |
4900 | ||
4901 | * Makefile.in (VERSION): Bump to 4.6.3. | |
4902 | * dwarfread.c (scan_partial_symbols): Skip over DIE's within | |
4903 | function scopes when building partial symbol tables. | |
4904 | * objfiles.c (open_existing_mapped_file): Make it clear in | |
4905 | warning message that out of date mapped files are ignored. | |
4906 | * symtab.c (lookup_symtab_1, lookup_symbol): Print compilation | |
4907 | unit source file name in error message. | |
4908 | ||
50055e94 FF |
4909 | Sat Aug 8 23:12:22 1992 Fred Fish ([email protected]) |
4910 | ||
4911 | * dwarfread.c (struct dieinfo): Add has_at_byte_size. | |
4912 | * dwarfread.c (struct_type): In absence of AT_byte_size for | |
4913 | bitfield, use size of object of member's type for the size of | |
4914 | the anonymous object containing the bit field. | |
4915 | * dwarfread.c (completedieinfo): Set has_at_byte_size when | |
4916 | an AT_byte_size attribute is seen. | |
4917 | * mipsread.c (psymtab_to_symtab_1): Fix misspelled cast to | |
4918 | union aux_ext (was aux_ent). | |
4919 | * i386-pinsn.c (print_insn): Cast 2'nd arg to read_memory from | |
4920 | unsigned char* to char*, for Lucid compiler. | |
4921 | * i386-tdep.c (codestream_fill): Fix cast of 2'nd arg to read_memory | |
4922 | to be correct type (from unsigned char* to char*). | |
4923 | * valprint.c (type_print_derivation_info): Minor tweak to placement | |
4924 | of commas in derived class printing. | |
4925 | * xcoffread.c (builtin_type): Fix misspelling in fatal message. | |
4926 | ||
f6492282 SC |
4927 | Fri Aug 7 11:18:23 1992 Steve Chamberlain ([email protected]) |
4928 | ||
4929 | * xm-go32.h: Define LSEEK_NOT_LINEAR | |
a65841d7 | 4930 | * source.c (find_source_lines): if LSEEK_NOT_LINEAR is defined |
f6492282 SC |
4931 | then work out the lseek positions of newlines by running through |
4932 | the file and `tell'ing. This makes source file listing work on | |
4933 | OS's where the relationship between physical position in file and | |
4934 | canonical position is indeterminate, eg VMS and DOS. | |
4935 | ||
8275e802 FF |
4936 | Thu Aug 6 10:56:01 1992 Fred Fish ([email protected]) |
4937 | ||
c02a37ea FF |
4938 | * stabsread.c: Ensure that all members of all allocated structures |
4939 | are initialized to known state to avoid hard to find bugs with gdb | |
4940 | using fields containing random data. | |
3416d90b FF |
4941 | * buildsym.c (start_subfile): Compact dirname initialization. |
4942 | * buildsym.c (patch_subfile_names): New function. | |
8275e802 | 4943 | * buildsym.c (end_symtab): Make copy of dirname on symbol obstack. |
3416d90b FF |
4944 | * buildsym.c (end_symtab): Free all malloc'd subfile fields. |
4945 | * buildsym.h (patch_subfile_names): Add prototype. | |
4946 | * dbxread.c (process_one_symbol): Call patch_subfile_names. | |
8275e802 | 4947 | |
38094c60 JG |
4948 | Wed Aug 5 01:42:40 1992 John Gilmore (gnu at cygnus.com) |
4949 | ||
e7ae70e9 SG |
4950 | * remote-udi.c: Update comments. |
4951 | ||
38094c60 JG |
4952 | * remote.c (getpkt): Only force retransmission ten times; |
4953 | after that, assume bug in target code, and handle pkt anyway. | |
4954 | ||
d0d0f75e SG |
4955 | Mon Aug 3 17:06:20 1992 Stu Grossman (grossman at cygnus.com) |
4956 | ||
4957 | * configure.in: Add support for apollo 68k under BSD environment. | |
4958 | * xm-apollo68b.h: New file to support above. | |
4959 | ||
9e4667f6 FF |
4960 | Mon Aug 3 00:25:56 1992 Fred Fish ([email protected]) |
4961 | ||
4962 | * configure.in: Recognize i486 host cpu. | |
4963 | * valprint.c (type_print_derivation_info): Print derivation info | |
4964 | in same form as class declarations in source. | |
4965 | * valprint.c (type_print_varspec_suffix): Split arg printing | |
4966 | code out to type_print_args function. | |
4967 | ||
cd46ffad | 4968 | Sat Aug 1 13:32:58 1992 Fred Fish ([email protected]) |
ddce75e0 | 4969 | |
cd46ffad FF |
4970 | * dwarfread.c (struct dieinfo): Remove obsolete at_visibility, |
4971 | at_import, at_frame_base. | |
4972 | * dwarfread.c (completedieinfo): Remove cases for obsolete | |
4973 | AT_visibility, AT_import, and AT_frame_base attributes. | |
4974 | * breakpoint.h (BREAKPOINT_MAX): Increase from 10 to 16 for | |
4975 | i860, which can keep up to 4 shadow breakpoints. | |
4976 | * tm-stratus.h (USG): Define. | |
4977 | * tm-stratus.h (TARGET_BYTE_ORDER): Define to BIG_ENDIAN. | |
4978 | * xm-stratus.h (HOST_BYTE_ORDER): Define to BIG_ENDIAN. | |
4979 | * xm-stratus.h (xm-sysv4.h): Include, name changed from xm-svr4.h. | |
4980 | * xm-stratus.h (NO_JOB_CONTROL): Remove define. | |
4981 | * config/stratus.mt (TDEPFILES): Include files available from | |
4982 | stratus that are not yet in release pending receipt of paperwork | |
4983 | at FSF. | |
4984 | * buildsym.c (finish_block): Minor code format change. | |
4985 | * gdbtypes.h (struct field): Add to comments. | |
4986 | * gdbtypes.h (virtual_field_bits): Add to comments. | |
4987 | * objfiles.c (allocate_objfile): Change obstack interface to | |
4988 | match FSF merging efforts. | |
ddce75e0 | 4989 | |
cd46ffad | 4990 | Mon Jul 27 21:14:44 1992 Fred Fish ([email protected]) |
ddce75e0 | 4991 | |
cd46ffad FF |
4992 | * Makefile.in (VERSION): Bump to 4.6.2. |
4993 | * Makefile.in (SFILES_MAINDIR): Add stabsread.c | |
4994 | * Makefile.in (OBS): Add stabsread.o | |
4995 | * Makefile.in (stabsread.o): Add build rule. | |
4996 | * stabsread.c, stabsread.h: New files. | |
4997 | * buildsym.c: Split out stabs specific support to stabsread.c. | |
4998 | * buildsym.h: Split out stabs specific support to stabsread.h. | |
4999 | * dbxread.c (stabsread.h): Include | |
5000 | * dbxread.c (dbx_new_init): Call stabsread_new_init. | |
5001 | * dbxread.c (dbx_psymtab_to_symtab_1): Call stabsread_init. | |
5002 | * dbxread.c (read_ofile_symtab): Call end_stabs. | |
5003 | * dbxread.c (process_one_symbol): Call end_stabs and start_stabs. | |
5004 | * dbxread.c (elfstab_build_psymtabs): Call stabsread_new_init. | |
5005 | * dwarfread.c (psymtab_to_symtab_1): Call buildsym_init, add | |
5006 | really_free_pendings to cleanups. | |
5007 | * elfread.c (elf_new_init): Call stabsread_new_init. | |
5008 | * gdbtypes.c: Small changes to maintenance commands. | |
5009 | * mipsread.c (stabsread.h): Include. | |
5010 | * mipsread.c (psymtab_to_symtab_1): Call end_stabs. | |
5011 | * xcoffread.c (stabsread.h): Include. | |
5012 | * xcoffread.c (global_stabs): Remove redundant def. | |
5013 | * xcoffread.c (read_xcoff_symtab): Call start_stabs and end_stabs. | |
ddce75e0 | 5014 | |
d7808603 FF |
5015 | Wed Jul 22 21:39:33 1992 Fred Fish ([email protected]) |
5016 | ||
5017 | * lmode_inferior_valid, lmode_ours_valid: New static vars. | |
5018 | * inflow.c (terminal_init_inferior, terminal_inferior, | |
5019 | terminal_ours_1, initialize_inflow): Record and use state | |
5020 | of lmode_inferior_valid and lmode_ours_valid. | |
5021 | ||
cd46ffad FF |
5022 | Wed Jul 22 04:23:03 1992 D. V. Henkel-Wallace ([email protected]) |
5023 | ||
5024 | * es1800.c: use FREAD|FWRITE rather than _FREAD|_FWRITE. | |
5025 | include <sgtty.h> on USG. (from sef). | |
5026 | ||
5027 | * depend: es1800 dependency needed here. | |
5028 | ||
c0f1085b FF |
5029 | Mon Jul 20 21:09:53 1992 Fred Fish ([email protected]) |
5030 | ||
5031 | * buildsym.c (read_struct_type): Initialize structs allocated | |
5032 | with alloca, to avoid using random values from stack later on. | |
5033 | * defs.h (fprintf_filtered): Add prototype. | |
5034 | * gdbtypes.c (check_stub_method): Fix misleading comments. | |
5035 | * gdbtypes.c (print_arg_types, dump_fn_fieldlists): New maint | |
5036 | support functions. | |
5037 | * gdbtypes.c (print_cplus_stuff, recursive_dump_type): Many | |
5038 | small changes to maint support functions. | |
5039 | * gdbtypes.h (cplus_struct_type): Reorganize member ordering | |
5040 | for some fields and expand comments. | |
5041 | * objfiles.c (allocate_objfile): Use new obstack_alloc_arg | |
5042 | macro and track change to obstack_full_begin macro. | |
5043 | * utils.c (fprintfi_filtered): New function. | |
5044 | * valprint.c (type_print_base): Fixup field printing to not | |
5045 | print extraneous lines and not print bogus "no data fields" | |
5046 | messages for C++ classes with no data members. Also use new | |
5047 | fprintfi_filtered function. | |
5048 | ||
cd46ffad FF |
5049 | Mon Jul 20 11:25:18 1992 D. V. Henkel-Wallace ([email protected]) |
5050 | ||
5051 | * configure.in: es1800 ok for 68000 too. | |
5052 | ||
c0f1085b FF |
5053 | Sat Jul 18 15:48:58 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5054 | ||
5055 | * configure.in: echo error messages to stderr, not stdout | |
5056 | ||
5057 | Fri Jul 17 17:07:24 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
5058 | ||
5059 | * configure.in: recognize hppa* instead of hppa | |
5060 | ||
f8e32b6e SG |
5061 | Fri Jul 17 16:52:04 1992 Stu Grossman (grossman at cygnus.com) |
5062 | ||
e7ae70e9 SG |
5063 | * energize.c: Second cut at DynamicLoad message handling. |
5064 | ||
5065 | * energize.c: Relativize pathnames in #include statements. | |
5066 | * (kernel_dispatch): Better error messages for unknown protocol | |
5067 | messages. | |
5068 | * (kernel_dispatch): First cut at DynamicLoad message handling. | |
5069 | ||
f8e32b6e SG |
5070 | * Makefile.in: Remove -I../readline from all compilations, |
5071 | include a special case for main.o instead. | |
5072 | ||
d4902ab0 FF |
5073 | Fri Jul 17 10:14:56 1992 Fred Fish ([email protected]) |
5074 | ||
51a9d78c FF |
5075 | * eval.c (evaluate_subexp): Ask lookup_struct_elt_type to call |
5076 | error if it fails to find a member type, rather than return NULL | |
5077 | and trigger a coredump. | |
5078 | * symtab.c (lookup_symbol, lookup_demangled_block_symbol, | |
5079 | lookup_demangled_partial_symbol,): Ask demangle_and_match to | |
5080 | match on complete demanglings, including argument lists for member | |
5081 | functions, rather than just accepting the first demangling that | |
5082 | matches the class and function name. | |
d4902ab0 FF |
5083 | * dwarfread.c (read_file_scope): Pass contents of AT_comp_dir |
5084 | to start_symtab as the directory name. | |
5085 | * dwarfread.c (completedieinfo): Strip off any leading hostname | |
5086 | portion of the AT_comp_dir attribute string. Gdb doesn't know | |
5087 | what to do with them (FIXME). | |
5088 | ||
cdaa27e9 SG |
5089 | Thu Jul 16 13:37:09 1992 Stu Grossman (grossman at cygnus.com) |
5090 | ||
cb48d806 SG |
5091 | * breakpoint.c (commands_command): Simplify code a bit, remove |
5092 | unnecessary fflush(). | |
5093 | ||
cdaa27e9 SG |
5094 | * Makefile.in (OTHERS): Add gcc.patch. |
5095 | * partial-stab.h (N_SO): Fix handling of redundant SOs (again...) | |
5096 | ||
345e9ab8 FF |
5097 | Thu Jul 16 12:07:40 1992 Fred Fish ([email protected]) |
5098 | ||
5099 | * dwarfread.c (LCC_PRODUCER): Change to match current NCR | |
5100 | lcc producer string. | |
5101 | ||
3ddcdc59 SG |
5102 | Thu Jul 16 11:40:55 1992 Stu Grossman (grossman at cygnus.com) |
5103 | ||
5104 | * WHATS.NEW renamed to NEWS. | |
5105 | ||
d23639b2 FF |
5106 | Wed Jul 15 11:37:31 1992 Fred Fish ([email protected]) |
5107 | ||
5108 | * dbxread.c, dwarfread.c: Re-enable experimental code to | |
5109 | automatically select demangling style. | |
5110 | * demangle.c (DEFAULT_DEMANGLING_STYLE): Rename from simply | |
5111 | DEMANGLING_STYLE, to make more descriptive. Revert back to | |
5112 | "auto" as default. Comment use. | |
5113 | * Makefile.in (DEMANGLING_STYLE, DEMANGLE_OPTS): Remove. | |
5114 | * Makefile.in (${DEMANGLER}.o) Remove target and special | |
5115 | compilation rule. | |
5116 | ||
5e85287e FF |
5117 | Tue Jul 14 23:05:14 1992 Fred Fish ([email protected]) |
5118 | ||
5119 | * Makefile.in (VERSION): Bump to 4.6.1 (post-release versions). | |
5120 | ||
d1fbc20d SG |
5121 | Tue Jul 14 19:26:54 1992 Stu Grossman (grossman at cygnus.com) |
5122 | ||
5123 | * Makefile.in, demangle.c: Change default demangling style to | |
5124 | gnu. | |
5125 | * Makefile.in: Update version to 4.6 !!! | |
5126 | * README, WHATS.NEW: Update for 4.6. | |
5127 | ||
7e94a17b KR |
5128 | Tue Jul 14 16:59:46 1992 Ken Raeburn ([email protected]) |
5129 | ||
7b8ca0a0 KR |
5130 | * i960-tdep.c (frame_args_address): If arg pointer can't be found, |
5131 | use frame address. | |
5132 | ||
7e94a17b KR |
5133 | * buildsym.c (read_struct_type): Don't die on TYPE_CODE_UNDEF |
5134 | nodes as base classes. | |
5135 | ||
efcc6e06 SG |
5136 | Tue Jul 14 00:12:30 1992 Stu Grossman (grossman at cygnus.com) |
5137 | ||
d1fbc20d SG |
5138 | * alldeps.mak, depend: Update. |
5139 | ||
930acbe5 SG |
5140 | * xcoffread.c: Add decl for section_offset to keep prototype happy. |
5141 | ||
67ba524f SG |
5142 | * Makefile.in (VERSION): 4.5.9. |
5143 | ||
efcc6e06 SG |
5144 | * xm-hp300bsd.h: Add decl for strdup(). |
5145 | * mips-tdep.c (heuristic_proc_desc): Fill in proc start addr in | |
5146 | PDR. Cleanup a few things, fix compilation warnings. | |
5147 | ||
2dbde378 FF |
5148 | Mon Jul 13 19:06:54 1992 Fred Fish ([email protected]) |
5149 | ||
5150 | * Makefile.in (DEMANGLING_STYLE): New define to set default | |
5151 | demangling style for C++. Defaults to "auto". | |
5152 | * Makefile.in (DEMANGLE_OPTS): Use DEMANGLING_STYLE. | |
5153 | * Makefile.in (SFILES_MAINDIR): Add demangle.c | |
5154 | * Makefile.in (OBS): Add demangle.o | |
5155 | * cplus-dem.c (GNU_DEMANGLING, ARM_DEMANGLING, LUCID_DEMANGLING): | |
5156 | Remove compile time decisions about demangling style and replace | |
5157 | with runtime decisions using current_demangling_style. | |
5158 | * cplus-dem.c (main): Expand code included during building of | |
5159 | standalone demangler to recognize demangling style options. | |
5160 | * dbxread.c (demangle.h): Include. | |
5161 | * dbxread.c (read_ofile_symtab, process_one_symbol): Set GNU C++ | |
5162 | demangling style if processing g++ code and current demangling style | |
5163 | is auto (Note: this feature currently disabled.) | |
5164 | * demangle.c: New file, generic demangling control. | |
5165 | * demangle.h (demangling_styles): New enumeration to select one | |
5166 | of several demangling styles. Also define string names for each | |
5167 | style. | |
5168 | * demangle.h (set_demangling_style): Add prototype. | |
5169 | * dwarfread.c (demangle.h): Include. | |
5170 | * dwarfread.c (GPLUS_PRODUCER, LCC_PRODUCER, CFRONT_PRODUCER): | |
5171 | New producer string prefixes to recognize. | |
5172 | * dwarfread.c (handle_producer): Consolidate actions for specific | |
5173 | producers. Set demangling style based on producer string if | |
5174 | current style is auto. (Note: this feature currently disabled.) | |
5175 | * config/ncr3000.mt (DEMANGLE_OPTS): Remove. | |
5176 | ||
49f3be18 JG |
5177 | Sat Jul 11 18:23:58 1992 John Gilmore (gnu at cygnus.com) |
5178 | ||
5179 | * config/sun4sol2.mh: Remove -xs flag, default INSTALL to cp. | |
5180 | ||
a252e715 PB |
5181 | Fri Jul 10 13:58:34 1992 Per Bothner ([email protected]) |
5182 | ||
5183 | * gdbtypes.c, gdbtypes.h: New function lookup_signed_typename. | |
5184 | * c-exp.y: Call lookup_signed_typename() after seeing | |
5185 | "signed". This handles "signed char" correctly. | |
5186 | * c-exp.y: Recognize (but ignore) 'const' and 'volatile' | |
5187 | keywords before a type specifier. | |
5188 | ||
311592ff FF |
5189 | Fri Jul 10 10:19:52 1992 Fred Fish ([email protected]) |
5190 | ||
5191 | * command.c (lookup_cmd_1): Clarify descriptive comments. | |
5192 | * gdbcmd.h (maintenanceprintlist): Add declaration. | |
5193 | * main.c (maintenanceprintlist): Add definition. | |
5194 | * main.c (gdb_completer_command_word_break_characters): Add. | |
5195 | * main.c (symbol_completion_function): Switch completer word | |
5196 | break character sets dynamically, based on whether completion is | |
5197 | being done on commands or on something else. | |
5198 | * main.c (initialize_cmd_lists): Init maintenanceprintlist. | |
5199 | * maint.c: Include demangle.h. | |
5200 | * maint.c (maintenance_demangle): New function. | |
5201 | * maint.c (maintenance_print_command): New function. | |
5202 | * maint.c (_initialize_maint_cmds): Reorganize some commands | |
5203 | under new maintenance print subcommand. | |
5204 | ||
5c5b5d4b PB |
5205 | Thu Jul 9 19:05:27 1992 Per Bothner ([email protected]) |
5206 | ||
5207 | * gdbtypes.c (lookup_struct_elt_type): If the input type is | |
5208 | TYPE_CODE_PTR or TYPE_CODE_REF, dereference it to get the | |
5209 | target type. Otherwise, 'whatis this.field' wouldn't work, | |
5210 | which would be inconsistent, since 'print this.field' works. | |
5211 | * buildsym.c (read_struct_type, read_enum_type): Clear | |
5212 | TYPE_FLAG_STUB flag. | |
5213 | * buildsym.c (cleanup_undefined_types): Don't rely on a | |
5214 | flawed "Reasonable test to see if" a type has been defined | |
5215 | since it was referred to; now we can just see if the | |
5216 | TYPE_FLAG_STUB flag has been cleared. | |
5217 | * valprint.c (print_type_base): Emit public/protected/private | |
5218 | labels for methods as well as fields. Also, indent these labels | |
5219 | 2 spaces instead of 4, for a more conventional "look". | |
5220 | * symtab.c (gdb_mangle_name): Undo Fred's change, unless | |
5221 | GCC_MANGLE_BUG is defined. Also, handle destructors specially. | |
5222 | * gcc.patch: New file. Contains patch for gcc (so people | |
5223 | with gdb-2.2.x won't have to wait for a new gcc release). | |
5224 | ||
c5f5b482 KR |
5225 | Thu Jul 9 18:44:26 1992 Ken Raeburn ([email protected]) |
5226 | ||
7eec00ed KR |
5227 | * i960-pinsn.c (mem): Variables reg[123] should point to CONST. |
5228 | (print_addr): Call print_address to show symbolic version as well. | |
5229 | ||
c5f5b482 KR |
5230 | * remote-vx.c (vx_kill): Don't look for arguments; they aren't |
5231 | being passed. | |
5232 | (vx_read_register): Declare inferior_fp_regs. Delete code for | |
5233 | copying "inferior_registers" around; the values are already in var | |
5234 | "registers". Use correct size for register set. | |
5235 | ||
5236 | * remote-vx.c (vx_write_register): Don't try writing FP regs; the | |
5237 | target doesn't support it. | |
5238 | (vx_read_register): Don't try reading them either. | |
5239 | ||
5240 | * tm-i960.h (IP_REGNUM): Move to end of non-FP list, since the | |
5241 | VxWorks back end reads them in one contiguous set except for this | |
5242 | one. | |
5243 | (register_names): Change "pc" to "pcw" to avoid confusion printing | |
5244 | "$pc". | |
5245 | * tm-vx960.h (PC_REGNUM): Use RIP_REGNUM, since that's where we | |
5246 | find the PC under VxWorks. | |
5247 | ||
8050a57b FF |
5248 | Wed Jul 8 21:34:30 1992 Fred Fish ([email protected]) |
5249 | ||
5250 | * dwarfread.c (alloc_utype, decode_subscr_data): Call alloc_type | |
5251 | to create new blank types, instead of handcrafting them. | |
5252 | * defs.h (printfi_filtered): Add prototype. | |
5253 | * utils.c (printfi_filtered): New function. | |
5254 | * gdbtypes.c (recursive_dump_type): Use printfi_filtered to | |
5255 | to simplify the code. Other cleanups. | |
5256 | * gdbtypes.c (check_stub_method): Demangle using DMGL_ANSI. | |
5257 | * gdbtypes.h (struct cplus_struct_type): Add comments describing | |
5258 | use of various fields. | |
5259 | * gdbtypes.c (print_bit_vector, print_cplus_stuff): New functions. | |
5260 | * c-exp.y (%token): Add CLASS as a token for C++, add grammar | |
5261 | production that currently treats it exactly the same as STRUCT. | |
5262 | * c-exp.y (yylex): Recognize "class" as token CLASS. | |
5263 | * symtab.c (gdb_mangle_name): Rewrite to match current g++ stabs. | |
5264 | * symtab.c (decode_line_1): Fix to pass quoted args on down to | |
5265 | general symbol handling code. Call cplus_mangle_opname with | |
5266 | DMGL_ANSI. | |
5267 | * symtab.c (decode_line_2): Print demangled function names in | |
5268 | breakpoint menus, instead of just file and line number. | |
5269 | * symtab.c (name_match): Call cplus_demangle with DMGL_ANSI. | |
5270 | * valprint.c (type_print_base): Print "class" for C++ classes, | |
5271 | rather than "struct". Print section labels for public, protected | |
5272 | and private members of C++ classes. | |
5273 | * values.c: Include demangle.h. | |
5274 | * values.c (value_headof): Call cplus_demangle with DMGL_ANSI. | |
5275 | ||
e17e8e0e SG |
5276 | Wed Jul 8 17:23:07 1992 Stu Grossman (grossman at cygnus.com) |
5277 | ||
5278 | * Makefile.in (VERSION): Update to 4.5.8. | |
5279 | ||
5280 | Wed Jul 8 00:11:02 1992 Stu Grossman (grossman at cygnus.com) | |
784fd92b SG |
5281 | |
5282 | * dbxread.c (dbx_symfile_init): Init stab_section_info to NULL to | |
5283 | prevent crashes when examining cross-targets. | |
5284 | * dbxread.c (process_one_symbol): Include directory name when | |
5285 | calling start_subfile for SOL & BINCL symbols. This allows gdb to | |
5286 | find include files, and yacc/lex sources when the cwd doesn't match | |
5287 | that in which the object was compiled. | |
5288 | * objfiles.h (ALL_MSYMBOLS): Don't seg fault when there are no | |
5289 | msymbols. | |
5290 | * symtab.c (lookup_symtab_1): Rewrite. It now handles include | |
5291 | files. | |
5292 | ||
2e9309df FF |
5293 | Tue Jul 7 09:00:42 1992 Fred Fish ([email protected]) |
5294 | ||
5295 | * maint.c (maintenance_command, maintenance_info_command): | |
5296 | Install with allow_unknown as 0 and call help_list to show | |
5297 | list of possibilities when no subcommand is specified. | |
5298 | ||
498f1df0 FF |
5299 | Tue Jul 7 00:20:29 1992 Fred Fish ([email protected]) |
5300 | ||
5301 | * configure.in: Add m68k-ericsson-*. | |
5302 | * remote-es1800.c, tm-es1800.h, config/es1800.mt: New files. | |
5303 | ||
0239d9b3 FF |
5304 | Sun Jul 5 17:17:16 1992 Fred Fish ([email protected]) |
5305 | ||
5306 | * maint.c: New file. | |
5307 | * Makefile.in (SFILES_MAINDIR): Add new file maint.c. | |
5308 | * Makefile.in (OBS): Add new file maint.o. | |
5309 | * defs.h (command_class): Add class_maintenance. | |
5310 | * defs.h (MAINTENANCE_CMDS): Default to including maintenance | |
5311 | commands. Allow for them (and other nonessential parts of gdb) | |
5312 | to be selectively left out under special circumstances. | |
5313 | * gdbtypes.c (recursive_dump_type): New function; supports | |
5314 | maintenance print-type command. | |
5315 | * gdbtypes.h (recursive_dump_type, maintenance_print_type): | |
5316 | Add prototypes. | |
5317 | * main.c (maintenancelist, maintenanceinfolist): Add maintenance | |
5318 | command lists. | |
5319 | * main.c (initialize_cmd_lists): Eliminate unnecessary casts on | |
5320 | initializers. Add initializations for setprintlist, showprintlist, | |
5321 | setchecklist, showchecklist, maintenancelist, and maintenanceinfolist. | |
5322 | * printcmd.c (maintenance_print_type): New maintenance cmd. | |
5323 | * valprint.c (setprintlist, showprintlist): Move to main.c, as | |
5324 | implied by comment that all cmd lists are owned by main.c. | |
5325 | * infcmd.c (unsetlist): Move to main.c, as implied by comment | |
5326 | that all cmd lists are owned by main.c. | |
5327 | * language.c (setchecklist, showchecklist): Move to main.c, as | |
5328 | implied by comment that all cmd lists are owned by main.c | |
5329 | * breakpoint.c (enablelist, enablebreaklist, disablelist, cmdlist, | |
5330 | deletelist): Remove redundant declarations (also in gdbcmd.h). | |
5331 | * symmisc.c (printsyms_command): Now maintenance_print_symbols. | |
5332 | * symmisc.c (printmsyms_command): Now maintenance_print_msymbols. | |
5333 | * symmisc.c (printpsyms_command): Now maintenance_print_psymbols. | |
5334 | * symmisc.c (printobjfiles_command): Now maintenance_print_objfiles. | |
5335 | * symtab.h (maintenance_print_symbols, maintenance_print_psymbols, | |
5336 | maintenance_print_msymbols, maintenance_print_objfiles): | |
5337 | Add prototypes. | |
5338 | * symmisc.c (printsyms_command, printpsyms_command, | |
5339 | printmsyms_command, printobjfiles_command): Removed from | |
5340 | _initialize_symmisc. | |
5341 | * main.c (dump_me_command): Moved to maint.c and renamed to | |
5342 | maintenance_dump_me. | |
5343 | * breakpoint.c (all_breakpoints_info): Rename to | |
5344 | maintenance_info_breakpoints. | |
5345 | * breakpoint.c (_initialize_breakpoint): Convert add_info of | |
5346 | all_breakpoints_info to add maintenance_info_breakpoints to the | |
5347 | maintenanceinfolist instead. | |
5348 | main.c (initialize_main): Set up maintenance class commands. | |
5349 | ||
e7ae70e9 SG |
5350 | Sun Jul 5 11:03:53 1992 Stu Grossman (grossman at cygnus.com) |
5351 | ||
5352 | * energize-patches: Fix minor problems with building energize lib. | |
5353 | ||
5354 | * energize-patches: Change names of all cadillac procedure calls | |
5355 | to be energize procedure calls. Simplify many hooks by moving | |
5356 | tests energize.c. Configure energize, and build it automatically now. | |
5357 | ||
91fef76b FF |
5358 | Sun Jul 5 09:43:28 1992 Fred Fish ([email protected]) |
5359 | ||
5360 | * Makefile.in (VERSION): Bump to 4.5.7. | |
5361 | * cplus-dem.c (demangle_args): Validate index for previously | |
5362 | seen type to guard against bogus values from malformed manglings. | |
5363 | * valops.c (value_struct_elt_for_reference): Guard against | |
5364 | blindly using NULL return value from lookup_symbol. | |
5365 | ||
e7ae70e9 SG |
5366 | Sun Jul 5 09:46:43 1992 Stu Grossman (grossman at cygnus.com) |
5367 | ||
5368 | * cadillac.c, cadillac-patches: Rename to energize.c and | |
5369 | energize-patches. Change all routines and variables named | |
5370 | 'cadillac*' to 'energize*'. Create new file called energize.h to | |
5371 | hold all interface declarations. | |
5372 | ||
5373 | * deblib/connection/*: Move all of this stuff into energize/, but | |
5374 | delete unneeded files. | |
5375 | ||
ec8ceca3 JG |
5376 | Sun Jul 5 03:06:39 1992 John Gilmore (gnu at cygnus.com) |
5377 | ||
23053b80 JG |
5378 | * tm-sysv4.h (NAMES_HAVE_UNDERSCORE): SVR4 systems don't. |
5379 | ||
ec8ceca3 JG |
5380 | * buildsym.c (finish_block): Fix thinko `inner block' complaints. |
5381 | * dbxread.c (process_one_symbol): Parse N_OPT "gcc2_compiled.". | |
5382 | * procfs.c (proc_set_exec_trap): Set run-on-last-close flag on | |
5383 | child processes, to avoid dead ones "hanging around" after GDB exits. | |
5384 | (attach): Always stop the process if it needs it. Set RLC flag | |
5385 | when attaching running processes, so it will continue if we detach | |
5386 | it, quit, or are killed. | |
5387 | (detach): Clear faults and set RLC flag to make process run | |
5388 | when we close it. | |
5389 | (open_proc_file): New `mode' argument for O_RDONLY or O_RDWR. | |
5390 | Callers changed. | |
5391 | (info_proc): Open process O_RDONLY, so we can see any process, | |
5392 | even those controlled by debuggers. | |
5393 | * tm-sun4sol2.h (SUN_FIXED_LBRAC_BUG): They did (in Sol 2). | |
5394 | ||
2670f34d JG |
5395 | Sat Jul 4 03:43:38 1992 John Gilmore (gnu at cygnus.com) |
5396 | ||
5397 | Relocate symbols using an array of section_offsets, rather than a | |
5398 | single `addr' or `offset'. This makes Solaris-2 support work, and | |
5399 | permits better VxWorks (and maybe xcoff) support later. | |
5400 | ||
5401 | * symtab.h (struct section_offsets): New structure for keeping | |
5402 | a set of offsets, rather than a single one. | |
5403 | (struct objfile): Replace addr with section_offsets member. | |
5404 | * symfile.h: Add sym_offsets to struct sym_fns. Conforming changes. | |
5405 | * gdb-stabs.h: New include file with `symbol type specific' | |
5406 | parameters for psymtabs and objfiles. | |
5407 | * Makefile.in (HFILES): Add gdb-stabs.h. | |
5408 | * buildsym.h (start_psymtab, process_one_symbol): Fix prototypes. | |
5409 | * coffread.c: Conforming changes. Fake offset array always 0. | |
5410 | * dbxread.c: Conforming changes. | |
5411 | (struct dbx_symfile_info): Move to gdb-stabs.h. | |
5412 | (start_psymtab): Call elfstab_offset_sections to calculate good | |
5413 | offsets for this source file, based on the ELF symbol table info. | |
5414 | (read_ofile_symtab): Yank N_CATCH, which is dead. | |
5415 | (process_one_symbol, N_CATCH): Yank. | |
5416 | (", N_FUN, N_FNAME, N_FN, N_FN_SEQ, N_SO, N_SOL, N_ENTRY): | |
5417 | Relocate with SECT_OFF_TEXT. | |
5418 | (", N_STSYM, N_LCSYM, N_ROSYM): Grope around in the stab string | |
5419 | to distinguish relocatable from absolute symbols. Then, if not | |
5420 | absolute, do: | |
5421 | (", N_STSYM, N_DSLINE): SECT_OFF_DATA. | |
5422 | (", N_LCSYM, N_BSLINE): SECT_OFF_BSS. | |
5423 | (", N_ROSYM): SECT_OFF_RODATA. | |
5424 | (elfstab_build_psymtabs): Caller has allocated dbx_symfile_info. | |
5425 | (dbx_symfile_offsets): Add to translate addr to offset. | |
5426 | * dwarfread.c: Conforming changes. Single offset currently used. | |
5427 | * elfread.c: Add various complaints about elf/stab stuff. | |
5428 | #include gdb-stabs.h. Conforming changes, using a single offset. | |
5429 | (elf_symtab_read): Record info from BSF_FILE symbols, and local | |
5430 | variables called "Bbss.bss", "Ddata.data", and "Drodata.rodata", | |
5431 | for later use in building psymtabs. | |
5432 | (elf_symfile_read): Allocate dbx_symfile_info here, to keep | |
5433 | the info collected in elf_symtab_read. Cleanup calls free_elfinfo. | |
5434 | (free_elfinfo): New fn, frees all chained stab_section_infos | |
5435 | in an objfile, and zaps the start-of-chain pointer. | |
5436 | (elfstab_offset_sections): New fn, looks in stab_section_info | |
5437 | chain to determine section bases to relocate a psymtab's worth | |
5438 | of symbols, as they are being read. | |
5439 | * mipsread.c: Conforming changes. Stabs-reading will relocate | |
5440 | using one offset. MIPS-reading will not relocate at all. | |
5441 | * partial-stab.h: Relocate different symbol types using different | |
5442 | offsets from section_offsets. | |
5443 | * symfile.c: Conforming changes. | |
5444 | (find_lowest_section): Unused function to use later | |
5445 | to free us from the Tyranny of the Text Section. | |
5446 | (syms_from_objfile): Translate absolute arg ADDR to offsets used | |
5447 | in all lower layers of symbol reading. Call format-specific | |
5448 | sym_offsets function to initialize offsets for high speed symbol | |
5449 | reading. | |
5450 | (symbol_file_add): Call reinit_frame_cache so callers don't have to. | |
5451 | (symbol_file_command, add_symbol_file_command): Callers changed. | |
5452 | * symmisc.c (dump_psymtab): Print new relocation parameters. | |
5453 | * xcoffread.c: Corresponding changes. | |
5454 | ||
5455 | * buildsym.c: Tidy innerblock_complaint and blockvector_complaint. | |
5456 | * main.c (main): Read the $HOME/.gdbinit file before processing | |
5457 | the argv arguments (e.g. reading symbol files or core | |
5458 | files). This allows global parameters to be set, which will apply | |
5459 | during the symbol reading. The ./.gdbinit is still read after | |
5460 | argv processing. | |
5461 | * symtab.c (list_symbols): `i variables' shouldn't show enum values. | |
5462 | * xcoffexec.c: Clean up quote inside comment. | |
5463 | ||
4ed3a9ea FF |
5464 | Fri Jul 3 20:18:26 1992 Fred Fish ([email protected]) |
5465 | ||
5466 | * breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c, | |
5467 | core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, | |
5468 | eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, | |
5469 | i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, | |
5470 | infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, | |
5471 | putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, | |
5472 | sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, | |
5473 | tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, | |
5474 | values.c, xcoffread.c: | |
5475 | Remove "(void)" casts from function calls where the return value | |
5476 | is ignored, in accordance with GNU coding standards. | |
5477 | ||
4c7c6bab JG |
5478 | Fri Jul 3 00:00:49 1992 John Gilmore (gnu at cygnus.com) |
5479 | ||
5480 | * dbxread.c (process_one_symbol): Ignore N_MAIN, N_ENDM for Solaris. | |
5481 | * partial-stab.h: Ignore N_ENDM. | |
5482 | * elfread.c (elf_symtab_read): Ignore symbols that don't have a | |
5483 | CODE or DATA section attachment. This eliminates a lot of random | |
5484 | values from shared libraries, which screw up the ordinary symbols | |
5485 | in the address ranges they happen to overlap. | |
5486 | * buildsym.c (define_symbol): Eliminate special tests | |
5487 | for function types; move into "function" cases in switch statement. | |
5488 | (define_symbol: 'f', 'F', 'P'): Process all parameter types | |
5489 | in case they define new type numbers. But ignore them (FIXME). | |
5490 | ('k', 'B'): Ignore const and volatile if we see them (FIXME). | |
5491 | (read_sun_builtin_type): Add commentary. | |
5492 | ||
37e2f5cb DZ |
5493 | Wed Jul 1 00:47:02 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
5494 | ||
5495 | * xm-rs6000.h: define MEM_FNS_DECLARED | |
5496 | ||
43a16f26 JG |
5497 | Tue Jun 30 02:25:10 1992 John Gilmore (gnu at cygnus.com) |
5498 | ||
5499 | * tm-mips.h (GDB_TARGET_IS_MIPS): Define for mips-xdep.c. | |
5500 | (READ_MIPS_FORMAT, COFF_FORMAT): Remove, unused now. | |
5501 | * mips-xdep.c: Remove most include files (unused, caused errs). | |
5502 | (fetch_core_registers): Use right parameters in dummy fn. | |
5503 | ||
c47793da JG |
5504 | Mon Jun 29 18:30:57 1992 John Gilmore (gnu at cygnus.com) |
5505 | ||
0f552c5f JG |
5506 | * buildsym.c (scan_file_globals): Beware the null file. |
5507 | Fix from Jim Williams. | |
5508 | ||
5509 | * stack.c (return_command): Evaluate expression *before* popping | |
5510 | off the stack frames! Fix inspired by Jim Williams. | |
5511 | (up_silently_command, down_silently_command): No sel frame is error. | |
5512 | ||
5513 | * defs.h (memcpy, memset): Conditionalize decls on | |
5514 | #ifndef MEM_FNS_DECLARED, since DECstation differs. | |
5515 | (alloca): Break out the STDC and non-STDC alloca cases, to make | |
5516 | it work on old preprocessors as well as "picky ANSI" ones. | |
5517 | * xm-mips.h (memcpy, memset): Declare, and set MEM_FNS_DECLARED. | |
5518 | ||
5519 | * mips-tdep.c (heuristic_proc_start): Zero arg produces zero. | |
5520 | * utils.c (fputs_demangled): Rename SLOP since DECstation system | |
5521 | header files define it! | |
5522 | ||
c47793da JG |
5523 | * tm-29k.h (BREAKPOINT): Allow it to be overridden with -D. |
5524 | ||
51b57ded FF |
5525 | Mon Jun 29 16:30:25 1992 Fred Fish ([email protected]) |
5526 | ||
5527 | * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c, | |
5528 | symtab.h, tm-i386v4.h, valprint.c, values.c: Lint. | |
5529 | * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c, | |
5530 | findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c, | |
5531 | putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h, | |
5532 | utils.c, valarith.c, valops.c, valprint.c, values.c: | |
5533 | Replace bcopy() use with memcpy(), which is more standard and can | |
5534 | take advantage of gcc's builtin functions for increased performance. | |
5535 | * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c, | |
5536 | ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h, | |
5537 | target.c, values.c: | |
5538 | Replace bzero() use with memset(), which is more standard and can | |
5539 | take advantage of gcc's builtin functions for increased performance. | |
5540 | * i386-tdep.c, main.c, valprint.c: | |
5541 | Replace bcmp() use with memcmp(), which is more standard and can | |
5542 | take advantage of gcc's builtin functions for increased performance. | |
5543 | ||
22fd4704 FF |
5544 | Sun Jun 28 13:30:22 1992 Fred Fish ([email protected]) |
5545 | ||
5546 | * remote.c (remote_wait): Fix cast on signal() call. | |
5547 | * defs.h (alloca): More diddling with alloca. Have to ensure | |
5548 | that it has a prototype, so that if alloca is defined as a macro | |
5549 | that takes an arg, the definition is seen as a use of a macro | |
5550 | that takes an arg, to satisfy picky ANSI preprocessors. | |
5551 | ||
74fb91be FF |
5552 | Sat Jun 27 12:12:20 1992 Fred Fish ([email protected]) |
5553 | ||
5554 | * sparc-pinsn.c: Use <string.h> rather than "string.h", for | |
5555 | consistency with all other gdb files. | |
e7ae70e9 SG |
5556 | * cadillac.c: Use <string.h> rather than <strings.h>. |
5557 | * cadillac.c (kernel_dispatch): Convert rindex usage to strrchr. | |
74fb91be FF |
5558 | * Makefile.in (MAKE): Remove definition for consistency with |
5559 | other Makefile.in files and to fix problem with recursive makes. | |
5560 | ||
3a1e7a62 JG |
5561 | Fri Jun 26 19:03:23 1992 John Gilmore (gnu at cygnus.com) |
5562 | ||
5563 | * hppahpux-xdep.c (child_xfer_memory): Avoid PT_WDUSER because it | |
5564 | crashes H-PUX. | |
5565 | ||
b951b38d SC |
5566 | Fri Jun 26 11:09:10 1992 Steve Chamberlain ([email protected]) |
5567 | ||
5568 | * source.c (print_source_lines): for DOS interoperability; don't | |
5569 | print CR (013) as ^M. | |
5570 | ||
99fd9e3e SG |
5571 | Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com) |
5572 | ||
bf18ac80 SG |
5573 | * dbxread.c (dbx_symfile_init): Move more code under hp9000s800 |
5574 | conditional. | |
5575 | * hppabsd-core.c: Don't include "param.h", include <sys/param.h> | |
5576 | instead. | |
5577 | * remote.c (remote_wait): Cast signal to void * to avoid warning | |
5578 | from busted HP compiler. | |
5579 | ||
cf79373a SG |
5580 | * partial-stab.h (N_SO): Rearrange code a little so that all SO |
5581 | stabs cause end_psymtab to be called. | |
5582 | ||
50a11e49 SG |
5583 | * buildsym.c (read_sun_builtin_type): Handle new FCS Sun CC |
5584 | compiler feature of putting 'c' into basic type descriptors for | |
5585 | all forms of char. | |
5586 | ||
99fd9e3e SG |
5587 | * procfs.c (child_resume): Work around Solaris (on Sparc) lossage |
5588 | where there is no place for nPC in prrun struct. | |
5589 | ||
50e0dc41 FF |
5590 | Thu Jun 25 12:06:00 1992 Fred Fish ([email protected]) |
5591 | ||
5592 | * mipsread.c: Pass NULL name pointer to init_type, not 0. | |
5593 | * gdbtypes.c (init_type): Use copy of typename on type_obstack. | |
5594 | * dwarfread.c (enum_type): Save enum names on type_obstack. | |
5595 | * dwarfread.c (struct_type): Save member name on type_obstack. | |
5596 | * symtab.c (_initialize_symtab): Fix misspelling. | |
5597 | * regex.c (store_jump, insert_jump): Return void. | |
5598 | ||
5140562f JG |
5599 | Thu Jun 25 04:00:10 1992 John Gilmore (gnu at cygnus.com) |
5600 | ||
debd3443 JG |
5601 | * defs.h (PARAMS): Move to ../include/ansidecl.h. |
5602 | (alloca): Declare return type on SPARC, since Sun doesn't. | |
5603 | (*_BYTE_ORDER): Improve comment: *must* be defined. | |
5604 | ||
5140562f JG |
5605 | * tm-hppa.h: New file, architectural definition of HP PA. |
5606 | * tm-hppabsd.h, tm-hppahpux.h: Shrink to deltas from tm-hppa.h. | |
5607 | ||
5608 | * am29k-pinsn.c, am29k-tdep.c, copying.awk, copying.c, | |
5609 | hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c, | |
e7ae70e9 | 5610 | hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, remote-udi.c, |
5140562f JG |
5611 | ser-go32.c, xcoffsolib.c: Remove <stdio.h> which is already in |
5612 | "defs.h". | |
5613 | ||
5614 | * hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c, | |
5615 | hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, xcoffsolib.c, | |
5616 | xcoffsolib.h, xm-go32.h, xm-hppabsd.h, xm-hppahpux.h: Copyrights. | |
5617 | ||
fef9f55c JG |
5618 | Wed Jun 24 12:53:20 1992 John Gilmore (gnu at cygnus.com) |
5619 | ||
4d38b5a8 JG |
5620 | * printcmd.c (output_command): Thinko. |
5621 | (x_command): Only set remembered size/format if cmd succeeds. | |
5622 | ||
fef9f55c JG |
5623 | * dbxread.c (read_ofile_symtab): Remove N_CATCH special case, |
5624 | since it is no longer used and burns time for every symbol read. | |
5625 | (process_one_symbol): Treat N_CATCH like default (complain). | |
5626 | ||
369172bb SG |
5627 | Wed Jun 24 00:26:56 1992 Stu Grossman (grossman at cygnus.com) |
5628 | ||
5629 | * partial-stab.h (case N_TEXT): Fix fencepost error when | |
5630 | detecting start of new symbol info after reading symtab for a | |
5631 | module with a zero length TEXT segment. | |
5632 | ||
e676a15f FF |
5633 | Tue Jun 23 21:46:26 1992 Fred Fish ([email protected]) |
5634 | ||
5635 | * Makefile.in (VERSION): Bump to 4.5.6. | |
5636 | * coffread.c (coff_end_symtab): Cast 2nd arg of complain() to | |
5637 | correct type. | |
5638 | * defs.h (NORETURN): Define away for Lucid compiler. | |
5639 | * remote.c (remote_timer, remote_interrupt): Signal handlers | |
5640 | take one int arg. | |
5641 | * ser-termios.c (serial_write, serial_close): Return whatever | |
5642 | value the write/close call returns, rather than falling off end. | |
5643 | * inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on | |
5644 | more systems than it is "char *". Define PTRACE_ARG3_TYPE to | |
5645 | default to int. | |
5646 | * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c, | |
5647 | inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type | |
5648 | of third arg. | |
5649 | * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c, | |
5650 | m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c, | |
5651 | pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c, | |
5652 | symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace | |
5653 | argument 3. | |
5654 | * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers, | |
5655 | store_inferior_registers): Supply missing fourth argument to | |
5656 | ptrace(). | |
e7ae70e9 SG |
5657 | * cadillac.c (kernel_dispatch): Make return type void. |
5658 | * cadillac.c (iosig): Signal handlers take one int arg. | |
b4cc55b5 FF |
5659 | * valprint.c (val_print_fields): Call fprint_symbol to get |
5660 | automatic C++ demangling for mangled field names. | |
e676a15f | 5661 | |
0efe20a6 FF |
5662 | Mon Jun 22 20:18:06 1992 Fred Fish ([email protected]) |
5663 | ||
5664 | * command.c (add_abbrev_prefix_cmd): Fix misspelling in comment. | |
5665 | * dwarfread.c (enum_type): Fix misspelling in comment. | |
5666 | * valprint.c (val_print_fields, cplus_val_print): Minor | |
5667 | adjustment to printing of C++ class structures to more closely | |
5668 | match format for printing C structures, with and without setting | |
5669 | pretty print. | |
5670 | ||
e37a6e9c PB |
5671 | Mon Jun 22 17:19:02 1992 Per Bothner ([email protected]) |
5672 | ||
5673 | * infrun.c (wait_for_inferior): Don't test for SIGEMT | |
5674 | (which is not a Posix signal) if it isn't defined. | |
5675 | * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in: | |
5676 | New port to Linux (a free Unix clone for 386 machines). | |
5677 | ||
f70be3e4 JG |
5678 | Sat Jun 20 19:19:52 1992 John Gilmore (gnu at cygnus.com) |
5679 | ||
5680 | COFF changes for dealing better with EPI 29K C compiler output. | |
5681 | ||
5682 | * coffread.c (record_minimal_symbol): Pass the minsym type to it. | |
5683 | Callers changed. | |
5684 | (coff_end_symtab): Sort blocks if needed. Complain if misordered. | |
5685 | (read_coff_symtab): Move patch_opaque_types call from | |
5686 | coff_symfile_read. Restrict it to symtabs from this objfile. | |
5687 | (process_coff_symbol: C_TPDEF): Don't put ordinary foward | |
5688 | references on opaque type chain; just let coff_lookup_type handle 'em. | |
5689 | (decode_type): Complain about tagndx values on | |
5690 | non-struct/union/enum types, which the EPI compiler tends to produce. | |
5691 | ||
5692 | * symtab.c (list_symbols): Make minimal symbol variable-finding work. | |
5693 | ||
5694 | * tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order | |
5695 | dependency. | |
5696 | ||
5697 | * elfread.c (elf_symfile_read): Update bfd_elf_find_section | |
5698 | usage to match new prototype. Include libbfd.h to get prototype. | |
5699 | ||
28df0c3e JG |
5700 | * source.c (find_source_lines): Handle large st_size fields. |
5701 | ||
b4fde6fa FF |
5702 | Sat Jun 20 16:28:39 1992 Fred Fish ([email protected]) |
5703 | ||
5704 | * infcmd.c (jump_command): Use cleanups to avoid memory leaks. | |
5705 | * stack.c (return_command): Use cleanups to avoid memory leaks. | |
5706 | ||
e95bfbf1 JG |
5707 | Fri Jun 19 19:06:41 1992 John Gilmore (gnu at cygnus.com) |
5708 | ||
5709 | * remote-adapt.c, remote-eb.c, remote-mm.c: Lint. Fix | |
5710 | INT_REGNUM to INTE_REGNUM. | |
5711 | ||
5712 | * tm-29k.h (SDB_REG_TO_REGNUM): Add for EPI 29K C compiler. | |
5713 | ||
9aa44833 SG |
5714 | Fri Jun 19 15:30:15 1992 Stu Grossman (grossman at cygnus.com) |
5715 | ||
7da1e27d SG |
5716 | * configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c, |
5717 | hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, | |
5718 | hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h, | |
5719 | tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge. | |
5720 | ||
9aa44833 SG |
5721 | * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern |
5722 | declarations of malloc/realloc/free that are inserted by some | |
5723 | versions of yacc. | |
5724 | * m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by | |
5725 | #undeffing them. | |
5726 | * xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet | |
5727 | another decl of strdup (this really ought to come from libiberty.h!). | |
5728 | ||
8f86a4e4 JG |
5729 | Fri Jun 19 10:28:05 1992 John Gilmore (gnu at cygnus.com) |
5730 | ||
5731 | * remote.c (getpkt): Error if input exceeds buffer size. | |
5732 | (_initialize_remote): `set remotedebug' enables packet trace. | |
5733 | ||
5734 | * dbxread.c (process_one_symbol:N_FUN): GCC now produces relative | |
5735 | N_SLINE's, etc, just like Sun cc on Solaris2. | |
5736 | ||
5737 | * am29k-tdep.c (read_register_stack, write_register_stack): | |
5738 | Change RSTACK_HIGH_ADDR to rstack_high_address, a user-settable | |
5739 | variable. Add `set' and `show' commands for it. | |
5740 | * doc/gdb.texinfo: Document it. | |
5741 | ||
4341615d FF |
5742 | Thu Jun 18 19:35:22 1992 Fred Fish ([email protected]) |
5743 | ||
5744 | * valprint.c (type_print_1): Plug memory leak. Print all | |
5745 | C++ syms as demangled, not just functions. | |
5746 | * buildsym.c (read_range_type): When we find a signed char | |
5747 | type, do a lookup of signed char, not plain char. Plain char's | |
5748 | still get looked up as plain char's elsewhere. | |
5749 | ||
8f86a4e4 JG |
5750 | Thu Jun 18 18:59:04 1992 John Gilmore (gnu at cygnus.com) |
5751 | ||
5752 | * eval.c: Avoid residue-by-zero when evaluating without side effects. | |
5753 | (Bug and fix found by Pierre Willard.) | |
5754 | ||
427d778c SG |
5755 | Wed Jun 17 13:08:33 1992 Stu Grossman (grossman at cygnus.com) |
5756 | ||
7634ebc8 SG |
5757 | * xm-rs6000.h: Fix decls for malloc, realloc, and free. |
5758 | ||
826f73d0 SG |
5759 | * xm-rs6000.h: Add decl for strdup(). |
5760 | ||
5761 | * tm-rs6000.h: Remove #include of inferior.h. Fixes many | |
65c36045 SG |
5762 | compilation errors. |
5763 | ||
423e9664 SG |
5764 | * breakpoint.c (enable_command, disable_command): Without args, |
5765 | should only affect normal breakpoints and watchpoints. | |
427d778c | 5766 | |
423e9664 SG |
5767 | * m68k-pinsn.c (print_insn_arg): Make register be const. |
5768 | * xcoffexec.c: Remove ' from comment. | |
427d778c SG |
5769 | * xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts |
5770 | with decls of malloc in c-exp.tab.c (as produced by yacc). | |
5771 | There's got to be a better way to do this... | |
5772 | ||
323227fe FF |
5773 | Wed Jun 17 11:10:40 1992 Fred Fish ([email protected]) |
5774 | ||
5775 | * partial-stab.h: Convert single rindex use to strrchr. | |
5776 | * mipsread.c, dbxread.c: Remove troublesome inclusion of non- | |
5777 | standard <strings.h> file, now that the only single use of | |
5778 | rindex in the gdb source files is gone. | |
5779 | ||
fa0bcaa3 FF |
5780 | Tue Jun 16 22:17:49 1992 Fred Fish ([email protected]) |
5781 | ||
5782 | * mipsread.c: Undo ill effects from including <strings.h>, | |
5783 | which #defines index to be strchr. Unfortunately, index is | |
5784 | a member of a symbol table structure that can't be changed. | |
5785 | * mipsread.c: tm-mips.h includes coff/symconst.h and coff/sym.h, | |
5786 | remove redundant #include's. | |
5787 | ||
b303297a SG |
5788 | Tue Jun 16 14:15:51 1992 Stu Grossman (grossman at cygnus.com) |
5789 | ||
5790 | * mipsread.c: #include <strings.h> for rindex(). | |
5791 | ||
d1140eb5 FF |
5792 | Tue Jun 16 09:01:49 1992 Fred Fish ([email protected]) |
5793 | ||
5794 | * xcoffexec.c (map_vmap): Turn comment into a real C comment. | |
5795 | ||
c72af089 SG |
5796 | Mon Jun 15 18:41:23 1992 Stu Grossman (grossman at cygnus.com) |
5797 | ||
5798 | * dbxread.c (process_one_symbol), partial-stab.h: Ignore | |
5799 | extraneous SO stabs from busted C++ compilers. | |
5800 | ||
4c07f28d FF |
5801 | Mon Jun 15 12:21:45 1992 Fred Fish ([email protected]) |
5802 | ||
5803 | * Makefile.in (VERSION): Bump to 4.5.5. | |
5804 | * symtab.c (decode_line_1): Until C++ support stabilizes, when | |
5805 | C++ lookups fail, print possibly helpful hint about completion. | |
5806 | * cplus-dem.c (demangle_signature): Fix ARM style demangling | |
5807 | for static data members. | |
5808 | * dbxread.c (dbx_psymtab_to_symtab_1): Fix prototype. | |
5809 | * config/ncr3000.mh (INSTALL): Don't use /usr/ucb/install, | |
5810 | it's broken on ncr3000's. | |
5811 | ||
1c92ca6f FF |
5812 | Mon Jun 15 07:21:00 1992 Fred Fish ([email protected]) |
5813 | ||
5814 | * dwarfread.c (decode_modified_type): Change type of first arg. | |
5815 | Change 'modifier' to char from unsigned char. Cast single use | |
5816 | that needs to be unsigned char. | |
5817 | * symtab.h (SYMBOL_BASEREG_VALID): Explain disabling. | |
5818 | * utils.c (strdup_demangled): Add function. | |
5819 | * defs.h (strdup_demangled): Add prototype. | |
5820 | * stack.c (return_command): Demangle C++ function names for query. | |
5821 | * infcmd.c (jump_command): Demangle C++ function names for query. | |
5822 | * cplus-dem.c (consume_count): New function and prototype. | |
5823 | * cplus-dem.c (demangle_class, gnu_special, demangle_func_type, | |
5824 | do_type): Replace conversion code with consume_count(). | |
5825 | * cplus-dem.c (gnu_special): Fix demangled of static members. | |
5826 | * source.c (list_command): Print demangled function names | |
5827 | when appropriate. Fix supplied by Peter Schauer. | |
5828 | ||
5829 | Mon Jun 15 01:45:48 1992 John Gilmore (gnu at cygnus.com) | |
5830 | ||
8f86a4e4 JG |
5831 | * sparc-tdep.c: Clean up slightly for Solaris2. |
5832 | ||
1c92ca6f FF |
5833 | * buildsym.c (define_symbol): Nameless types are now on several |
5834 | platforms; generalize them and un-ifdef them to make Solaris 2 | |
5835 | work. | |
5836 | ||
bcbf9559 JG |
5837 | Sun Jun 14 10:55:51 1992 John Gilmore (gnu at cygnus.com) |
5838 | ||
d69bba12 JG |
5839 | * infcmd.c: Fix typo (reported by Rob Savoye). |
5840 | * xm-sun4sol2.h (gregset_t): Thinko in register set definition. | |
5841 | * symtab.h: Disable SYMBOL_BASEREG_VALID until it works. | |
5842 | * dbxread.c (dbx_psymtab_to_symtab_1): Renamed from | |
5843 | psymtab_to_symtab_1. Use current psymtab's sym_offset and symbol_size, | |
5844 | rather than the one for the first file in the dependency chain. | |
5845 | ||
bcbf9559 JG |
5846 | * dbxread.c (end_psymtab): Only reset texthigh if it's not already |
5847 | set. Don't reset our own texthigh, or dependency-only pst's, in | |
5848 | scanning all the rest of the psymtabs. | |
5849 | (process_one_symbol): Fix comments around N_OBJ, N_OPT, N_UNDF. | |
5850 | ||
5851 | * buildsym.h (N_UNDF): Improve comments. | |
5852 | (N_LSYM, etc): Skip types without names (":T(0,3)=sfoob..."). | |
5853 | ||
252f6c65 FF |
5854 | Sat Jun 13 11:16:45 1992 Fred Fish (fnf at cygnus.com) |
5855 | ||
5856 | * symtab.h (struct symbol): Add aux_value union for preserving | |
5857 | an additional per-symbol value. | |
5858 | * symtab.h (SYMBOL_BASEREG, SYMBOL_BASEREG_VALID): Add defines. | |
5859 | * frame.h (FRAME_GET_BASEREG_VALUE): Provide default definition. | |
5860 | * findvar.c (read_var_value): Use SYMBOL_BASEREG if valid. | |
5861 | * printcmd.c (address_info): Use SYMBOL_BASEREG if valid. | |
5862 | * symmisc.c (print_symbol): Use SYMBOL_BASEREG if valid. | |
5863 | ||
a6b46ad4 MT |
5864 | Sat Jun 13 09:18:46 1992 Michael Tiemann ([email protected]) |
5865 | ||
5866 | * symfile.c (clear_symtab_users_once): Now non-static (for | |
5867 | objfiles.c). | |
5868 | ||
bf2e5f6b JG |
5869 | Fri Jun 12 18:54:40 1992 John Gilmore (gnu at cygnus.com) |
5870 | ||
346168a2 JG |
5871 | * arm-pinsn.c, i960-pinsn.c, m68k-pinsn.c, mips-pinsn.c, |
5872 | ns32k-pinsn.c, pyr-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, | |
5873 | vax-pinsn.c: Remove reg_names decl (now in defs.h). | |
5874 | ||
5875 | Solaris-2 support on SPARC: | |
5876 | ||
5877 | * dbxread.c: Add symbol_size to struct dbx_symfile_info. | |
5878 | Add symbol_size and file offsets to struct symloc. | |
5879 | Add static symbol_table_offset, string_table_offset, | |
5880 | file_string_table_offset, next_file_string_table_offset, | |
5881 | last_function_name. | |
5882 | (add_old_header_file): Convert error() to complain()t. | |
5883 | (dbx_symfile_read): Get symbol size via the objfile. | |
5884 | Also get symbol_table_offset. | |
5885 | (dbx_symfile_init): Record symbol size and count via the objfile. | |
5886 | (dbx_next_symbol_text): Always add file_string_table_offset when | |
5887 | accessing string table. | |
5888 | (read_dbx_symtab): Initialize file_string_table_offset to 0. | |
5889 | (SET_NAMESTRING): Use the offset. | |
5890 | (end_psymtab): Large kludge to determine addresses where source | |
5891 | files start and end (for the psymtab header). | |
5892 | (psymtab_to_symtab_1): Set file_string_table_offset before reading. | |
5893 | Get this, symbol size, and symbol offset, from psymtab. | |
5894 | (read_ofile_symtab): Don't back up one symbol for Solaris2. | |
5895 | Patch up last_source_start_addr if zero in N_SO. | |
5896 | (process_one_symbol): Add variable function_start_offset. | |
5897 | ( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE): Add ifdef for | |
5898 | BLOCK_ADDRESS_FUNCTION_RELATIVE. | |
5899 | ( "", N_OBJ, N_OPT): Ignore. | |
5900 | (elfstab_build_psymtabs): New function to read stabs out of | |
5901 | an ELF file. | |
5902 | ||
5903 | * Makefile.in: Accept $(BISON) even though we really want $(YACC). | |
5904 | (gdb): use GLOBAL_CFLAGS when linking, too. | |
5905 | * partial-stab.h (N_UNDF): Deal with Sol2 relative stringtab offsets. | |
5906 | (N_OBJ, N_OPT): Ignore. | |
5907 | ('f', 'F'): Save last function name. | |
5908 | ||
5909 | * elfread.c (record_minimal_symbol_and_info): Kludged to put | |
5910 | extra info in the minimal symbol. | |
5911 | (elf_symtab_read): The extra info is the size of an ELF object, | |
5912 | which was kludged to us in the `udata' field of the BFD symbol. | |
5913 | Gag me with a crowbar... | |
5914 | (elf_symfile_read): Keep track of both the absolute load address, | |
5915 | and the offset between load addr and symbols. Handle STABS as | |
5916 | well as DWARF sections, passing the absolute load address to | |
5917 | elfstab_build_psymtabs. | |
5918 | ||
5919 | * symfile.h: Prototype elfstab_build_psymtabs. | |
5920 | * symfile.c: Add almost-OK debug versions of add_psymbol_*to_list. | |
5921 | ||
5922 | * xm-sysv4.h: Add <limits.h> to avoid conflicting defns in defs.h. | |
5923 | ||
93297ea0 JG |
5924 | * buildsym.h: Add processing_acc_compilation flag. |
5925 | * buildsym.c (read_sun_builtin_type, read_sun_floating_type): New. | |
5926 | (define_symbol): Skip arg types in function entries. Resolve | |
5927 | overloaded 'P' which acc uses for prototypes of functions called | |
5928 | by this file. | |
5929 | (read_type: 'b', 'r'): Handle Solaris2 builtin types. | |
5930 | ||
5931 | * minsyms.c (prim_record_minimal_symbol_and_info): Hack to | |
5932 | save size of ELF symbols. FIXME. | |
5933 | * tm-sun4os5.h: Rename to tm-sun4sol2.h. Update defines for Sol2. | |
5934 | * xm-sun4os5.h: Rename to xm-sun4sol2.h. Hack more defines. | |
5935 | ||
bf2e5f6b | 5936 | * configure.in: Solaris config is sparc-sun-solaris2. |
93297ea0 | 5937 | * config/sun4os5.m[ht]: Rename to config/sun4sol2.m[ht]; new xm, tm. |
bf2e5f6b | 5938 | |
346168a2 JG |
5939 | * objfiles.c (free_objfile): Eliminate storage leaks. Contributed |
5940 | by <[email protected]>. | |
5941 | * symfile.c (symfile_bfd_open): Comment where name is freed. | |
5942 | * symmisc.c (extend_psymbol_list): Comment where list is freed. | |
5943 | ||
252f6c65 | 5944 | Fri Jun 12 08:24:36 1992 Fred Fish (fnf at cygnus.com) |
6b53bf34 FF |
5945 | |
5946 | * expprint.c (print_subexp): Add missing ']'. | |
5947 | * defs.h (reg_names): Fix declaration to match that in infcmd.c | |
5948 | * stack.c (reg_names): Delete redundant (and inconsistent) decl. | |
5949 | * WHATS.NEW: Point out improved C++ function name handling. | |
5950 | * gdbtypes.c (lookup_fundamental_type): For now, use the same | |
5951 | type names for both implicitly and explicitly signed integral | |
5952 | types. See comment in the source code. | |
5953 | ||
28de880c JG |
5954 | Thu Jun 11 12:31:50 1992 John Gilmore (gnu at cygnus.com) |
5955 | ||
5956 | Two `long long' fixes from Robert R. Henry ([email protected]): | |
5957 | * defs.h (longest_to_int): Avoid void arm of ?: in error case. | |
5958 | * expprint.c (print_subexp): Fix printing of register names. | |
5959 | ||
1304f099 JG |
5960 | Thu Jun 11 01:33:40 1992 John Gilmore (gnu at cygnus.com) |
5961 | ||
5962 | * inferior.h (register_valid): Declare. | |
e7ae70e9 | 5963 | * remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h: Remove decl. |
1304f099 JG |
5964 | * objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}): Add |
5965 | macros for traversing the data structures in a single objfile. | |
5966 | * tm-m88k.h, tm-sparc.h (REGISTER_NAMES): Remove extra semicolon. | |
5967 | * tm-i960.h (REGISTER_NAMES): Cosmetic change. | |
5968 | * infcmd.c: Lint. | |
5969 | ||
252f6c65 | 5970 | Tue Jun 9 17:19:45 1992 Fred Fish (fnf at cygnus.com) |
36ce1b64 FF |
5971 | |
5972 | * c-exp.y, m2-exp.y: Move remapping defines for malloc and | |
5973 | realloc. Add remapping defines for {yyss, yyssp, yyvs, yyvsp}. | |
5974 | * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh, | |
5975 | sun4os5.mh}: Add definition for INSTALL using /usr/ucb/install. | |
5976 | ||
55488e9e SG |
5977 | Tue Jun 9 16:29:19 1992 Stu Grossman (grossman at cygnus.com) |
5978 | ||
5979 | * depend: rebuild to account for remote-st2000.c. | |
5980 | * remote-st2000.c: Almost works now. | |
5981 | * tm-st2000.h: Need to turn on HAVE_68881, else things won't compile. | |
5982 | ||
d630b615 FF |
5983 | Mon Jun 8 23:05:51 1992 Fred Fish ([email protected]) |
5984 | ||
5985 | * c-exp.y (yylex): Recognize single-quoted strings that specify | |
5986 | tokens with embedded whitespace, such as C++ demangled names. | |
5987 | * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes. | |
5988 | * main.c (gdb_completer_quote_characters): Add global variable. | |
5989 | * main.c (symbol_completion_function): Total rewrite for C++ | |
5990 | demangled name handling. | |
5991 | * main.c (skip_quoted): New function. | |
5992 | * main.c (main): Set rl_completer_quote_characters. | |
5993 | * symmisc.c (dump_symtab): Print source language for symtab. | |
5994 | * symtab.c (expensive_mangler): Add prototype and function. | |
5995 | * symtab.c (completion_list_add_symbol): Total rewrite for new | |
5996 | C++ demangled name handling. | |
5997 | * symtab.c (lookup_symbol): Check for demangled C++ symbol first, | |
5998 | other changes for demangled C++ symbol handling. | |
5999 | * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match. | |
6000 | * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match. | |
6001 | * symtab.c (decode_line_1): Recognize C++ demangled names on input. | |
6002 | * symtab.c (completion_list_add_symbol): Total rewrite for new | |
6003 | C++ demangled name handling. | |
6004 | * symtab.c (expensive_mangler): New function. | |
6005 | * utils.c (strcmp_iw, demangle_and_match): New functions. | |
6006 | * xcoffread.c (aixcoff_symfile_read): Fix prototype. | |
6007 | ||
d9915ebc JG |
6008 | Mon Jun 8 21:59:08 1992 John Gilmore (gnu at cygnus.com) |
6009 | ||
6010 | * Makefile.in: Roll VERSION to 4.5.4. | |
6011 | * Makefile.in, config/*.mh, config/*.mt: Rename TM_CFLAGS | |
6012 | to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names. | |
6013 | * config/sun4os5.mh: Add MH_CFLAGS=-xs to save debug info. | |
6014 | ||
88cc9a36 SG |
6015 | Mon Jun 8 14:17:42 1992 Stu Grossman (grossman at cygnus.com) |
6016 | ||
55488e9e SG |
6017 | * alldeps.mak: Rebuild to account for new files. |
6018 | * config/st2000.mt: Use tm-st2000.h, not tm-68k.h. | |
6019 | * tm-st2000.h: New file. | |
88cc9a36 SG |
6020 | * configure.in: Tandem debug monitor (st2000) support. |
6021 | * remote-st2000.c, config/st2000.mt: ditto. | |
6022 | ||
6f8db23a JG |
6023 | Fri Jun 5 11:51:01 1992 John Gilmore (gnu at cygnus.com) |
6024 | ||
6025 | * blockframe.c (inside_entry_file, inside_main_func, | |
6026 | inside_entry_func): Return 0 if no symbols; avoid crashing. | |
6027 | ||
6028 | Wed Jun 3 17:48:04 1992 John Gilmore ([email protected]) | |
2795260c JG |
6029 | |
6030 | * xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass | |
6031 | without masking, since it is signed and will later be compared | |
6032 | against signed quantities. The right fix is probably to make | |
6033 | it all unsigned, but this is a small, safe fix for this release. | |
6034 | FIXME -- make the real change sometime soon. | |
6035 | ||
a748555b MT |
6036 | Mon Jun 1 16:16:12 1992 Michael Tiemann ([email protected]) |
6037 | ||
fb44a8f5 MT |
6038 | * remote-vx.c (vx_load_command,add_symbol_stub): Default READNOW |
6039 | parameter in call to `symbol_file_add' to 0. | |
6040 | ||
a748555b MT |
6041 | * xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it. |
6042 | ||
6043 | Sun May 31 06:38:27 1992 Michael Tiemann ([email protected]) | |
6044 | ||
6045 | * configure.in: Handle -m680[01234]0-wrs. | |
6046 | ||
48079d66 MT |
6047 | Fri May 29 22:16:02 1992 Michael Tiemann ([email protected]) |
6048 | ||
6049 | * m68k-pinsn.c (print_insn_arg): Pass &EXT_FORMAT_68881 to | |
6050 | `ieee_extended_to_double'. | |
6051 | ||
cb614788 JG |
6052 | Wed May 27 09:27:57 1992 John Gilmore (gnu at cygnus.com) |
6053 | ||
6054 | * valops.c (value_assign): Lint, by Pierre Willard. | |
6055 | ||
6ad6ef42 JG |
6056 | Tue May 19 19:38:10 1992 John Gilmore (gnu at cygnus.com) |
6057 | ||
cb614788 JG |
6058 | * coredep.c (fetch_core_registers): Remove premature warning, |
6059 | which triggers on DECstation even though all regs are accessible. | |
6060 | ||
6061 | * m68k-pinsn.c (print_insn_arg): Use new macros to get | |
6062 | sign-extension of instruction fields even on unsigned-char hosts. | |
6063 | Bug found by Fred J Roeber, [email protected]. | |
6ad6ef42 | 6064 | |
cb614788 | 6065 | 88K changes inspired by Ted Lemon (uunet!lupine!mellon): |
6ad6ef42 JG |
6066 | * tm-m88k.h, tm-umax.h: Avoid sizeof() in REGISTER_xxx macros, |
6067 | since they define the target, not the host. | |
6068 | * m88k-pinsn.c: Fix typo. | |
6069 | ||
6070 | Thu May 14 01:16:48 1992 John Gilmore (gnu at cygnus.com) | |
6071 | ||
6072 | * valarith.c (value_zerop): -0.0 is still zero. | |
6073 | * eval.c (evaluate_subexp): Avoid NaN anomalies in float compares. | |
6074 | Patches by Paul Eggert <[email protected]>. | |
6075 | ||
6076 | Mon May 18 13:53:51 1992 Stu Grossman (grossman at cygnus.com) | |
6077 | ||
6078 | * alldeps.mak, depend: re-make to account for ser-*.c. | |
6079 | ||
6c316cfd FF |
6080 | Sun May 17 16:51:20 1992 Fred Fish ([email protected]) |
6081 | ||
6082 | * inflow.c (new_tty): Temporarily ignore SIGTTOU when | |
6083 | disconnecting from controlling terminal, to avoid gdb hanging | |
6084 | on SVR4. Fixes bug reported by Oliver Okrongli. | |
6085 | * procfs.c (PROC_NAME_FMT): Change format to match default used | |
6086 | by system, as suggested by Oliver Okrongli. | |
6087 | * tm-68k.h (FRAME_FIND_SAVED_REGS): Apply missing parentheses | |
6088 | bug fix from Brent Townshend (bst%[email protected]). | |
6089 | * c-exp.y (nonempty_typelist): Fix memory overrun bug reported | |
6090 | by [email protected]. | |
6091 | * dwarfread.c (decode_subscr_data): Fix bug in calculation of | |
6092 | length of non-zero lowerbound arrays. Bug fix from Peggy Fieland. | |
6093 | * objfiles.h (unlink_objfile): Add prototype. | |
6094 | * objfiles.c (unlink_objfile): Add function. | |
6095 | * objfiles.c (free_objfile): Call unlink_objfile. | |
6096 | * objfiles.c (allocate_objfile): Call unlink_objfile on newly | |
6097 | remapped objfiles. Bug reported by [email protected]. | |
6098 | Also, discard old possibly bogus sf struct. | |
6099 | * symfile.c (symbol_file_add): Call init_entry_point_info() and | |
6100 | find_sym_fns() for remapped symbol files, in case of any changes | |
6101 | since the last mapping. | |
6102 | ||
6103 | Wed May 13 18:28:20 1992 Steve Chamberlain ([email protected]) | |
6104 | ||
6105 | * findvar.c (read_relative_register_raw_bytes): use the raw size | |
6106 | of a register to bcopy, rather than the host's sizeof(CORE_ADDR). | |
6107 | ||
ae0ea72e | 6108 | Tue May 12 17:44:39 1992 Steve Chamberlain ([email protected]) |
6ad6ef42 | 6109 | |
ae0ea72e SC |
6110 | Changes to support GDB running on DOS using GO32 and H8 support |
6111 | ||
6112 | * defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h", | |
6113 | allowing hosts with different text and binary file formats to | |
6114 | work. | |
6115 | * coffread.c (read_coff_symtab): changed calling convention and | |
6116 | operation - now it opens its own file with FOPEN_RB rather than | |
6117 | duping and fdopening the provided handle. | |
6118 | * dbxread.c, cplus-dem.c: #include mangling. | |
6119 | * exec.c: If O_BINARY isn't defined, set it to 0, call openp for | |
6120 | binary files oring in the right bit. | |
6121 | * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals. | |
6122 | * remote-hms.c: cleanup to use the new remote serial stuff | |
6123 | * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host | |
6124 | independent remote terminal I/O. | |
6125 | * remote.c: if DONT_USE_REMOTE not defined, then don't use it. | |
6126 | * source.c (openp): fix off by one problem removing / - can now | |
6127 | open a source file in the root directory with DOS. | |
6128 | * values.c (value_as_pointer): remove bogus address bits from | |
6129 | long. (unpack_long): unpack into unsigned long/short if pointer. | |
6130 | ||
0defac02 SG |
6131 | Tue May 12 14:15:48 1992 Stu Grossman (grossman at cygnus.com) |
6132 | ||
84c8f62d SG |
6133 | * infrun.c (child_attach): Don't allow gdb to attach to itself. |
6134 | It gets permanently stuck in many OSes. | |
bcf2e6ab SG |
6135 | * breakpoint.c, infcmd.c, infrun.c, utils.c: Change many printfs |
6136 | to printf_filtered. | |
70d47e66 | 6137 | * breakpoint.c: Improve help text for info breakpoints. |
0defac02 SG |
6138 | |
6139 | Mon May 11 14:17:18 1992 John Gilmore (gnu at cygnus.com) | |
6140 | ||
6141 | * README: Add pointer to internals doc, and describe reading | |
6142 | info files. | |
6143 | * utils.c (print_sys_errmsg): Use stderr. Reported by Pierre Willard. | |
6144 | * symtab.c (output_source_filename): Remove old glop for wrapping | |
6145 | lines, use wrap_here. Reported by Pierre Willard ([email protected]). | |
6146 | ||
6147 | Thu May 7 11:45:03 1992 John Gilmore (gnu at cygnus.com) | |
6148 | ||
6149 | * Makefile.in: version.c should depend on Makefile, not Makefile.in. | |
6150 | * munch: Add sort -u to avoid duplications. | |
6151 | * symtab.c (lookup_symbol): Improve Stu's fix of 22 April. | |
6152 | Improved fix by [email protected] (Doug Hahn). | |
6153 | ||
7fd31a84 FF |
6154 | Mon May 11 13:27:46 1992 Fred Fish ([email protected]) |
6155 | ||
6156 | * cplus-dem.c (demangle_signature): Recognize misplaced '_' to | |
6157 | avoid infinite loops while demangling bogus mangled names. | |
6158 | * valprint.c (type_print_base): Minor fix for GNU style guide | |
6159 | conformance. | |
6160 | ||
f9b5584c FF |
6161 | Sat May 9 18:02:17 1992 Fred Fish (fnf at fishpond) |
6162 | ||
6163 | * Makefile.in (VERSION): Bump to 4.5.3 | |
6164 | * Makefile.in (DEMANGLE_OPTS): Remove obsolete -Dnounderscore | |
6165 | * Makefile.in (demangle): New target to create standalone | |
6166 | demangler with same code and options as internal demangler. | |
6167 | * cplus-dem.c: Massive restructuring, rewriting, cleanups, etc | |
6168 | to support ARM style and Lucid style demangling, improve | |
6169 | maintainability, fix several demangling bugs. More changes | |
6170 | to follow. | |
6171 | * defs.h (strstr): Add ANSI compatible prototype. | |
6172 | * valprint.c (type_print_1): Demangle using ansi option. | |
6173 | * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore. | |
6174 | ||
1e939db1 SG |
6175 | Sat May 9 14:47:28 1992 Stu Grossman (grossman at cygnus.com) |
6176 | ||
6177 | * xcoffexec.c (vmap_exec): Don't assume .text and .data are the | |
6178 | first two sections. | |
6179 | ||
d5e88583 PB |
6180 | Fri May 8 11:42:15 1992 Per Bothner ([email protected]) |
6181 | ||
6182 | * mipsread.c (parse_procedure): Return rather than using | |
6183 | uninitialized variable 'b'. | |
6184 | ||
e7ae70e9 SG |
6185 | Fri May 8 07:48:27 1992 Stu Grossman (grossman at cygnus.com) |
6186 | ||
6187 | * Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c, | |
6188 | 29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c: | |
6189 | Remove -I29k-share, -Ivx-share from Makefile.in. Make #includes | |
6190 | relative to each source file. | |
6191 | ||
0defac02 SG |
6192 | Fri May 8 07:48:27 1992 K. Richard Pixley ([email protected]) |
6193 | ||
9b98dea2 | 6194 | * Makefile.in: propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on |
0defac02 | 6195 | recursions. |
9b98dea2 RP |
6196 | |
6197 | Thu May 7 10:00:52 1992 Stu Grossman (grossman at cygnus.com) | |
6198 | ||
6199 | * am29k-pinsn.c: Use new opcode table in "opcode/a29k.h". | |
6200 | * am29k-tdep.c: Update to latest code from AMD. | |
6201 | (get_saved_register) don't crap out if no frame. | |
e7ae70e9 SG |
6202 | * remote-udi.c: Set/clear inferior_pid as appropriate. |
6203 | (udi_open) call target_preopen, don't close fd 0!!!, clean up | |
6204 | error handling. Fixup end-of-debugging messages. | |
6205 | (udi_fetch_registers) clean up big time, mainly don't multiply | |
6206 | register_valid indices by 4, and use proper Offset when reading | |
6207 | gr96-gr127. (udi_store_registers) general cleanup. | |
6208 | (fetch_register) cleanup, simplify. (regnum_to_srnum) | |
6209 | INT_REGNUM->INTE_REGNUM. | |
9b98dea2 | 6210 | * tm-29k.h: Upgrade to latest code from AMD. |
e7ae70e9 SG |
6211 | * 29k-share/udi/udip2soc.c: Get rid of useless errmsg_m macro. |
6212 | (UDIConnect) Clean up error processing (like, don't do exit() if | |
6213 | execlp fails), make code restartable, make more attractive. | |
6214 | (UDIStop) Use SIGINT instead of SIGUSR1, as isstip won't stop | |
6215 | otherwise. | |
9b98dea2 | 6216 | |
ba2c9027 PB |
6217 | Wed May 6 14:34:18 1992 Per Bothner ([email protected]) |
6218 | ||
6219 | * tm-irix3.h: Re-define CPLUS_MARKER to '.'. | |
6220 | * xm-rs6000.h, tm-rs6000.h: Move re-definition of CPLUS_MARKER | |
6221 | from former to latter. | |
6222 | ||
55b3ef9a FF |
6223 | Wed May 6 14:12:35 1992 Fred Fish ([email protected]) |
6224 | ||
6225 | * cplus-dem.c (do_args): Handle void args the same as others. | |
6226 | * objfiles.c (free_objfile): Only try to unmap files when | |
6227 | reusable objfiles are supported. | |
6228 | * valprint.c (type_print_varspec_suffix): Add parameter that | |
6229 | specifies if C++ demangling included function arguments. Use | |
6230 | it to suppress printing extra pair of ()'s. | |
6231 | * valprint.c (type_print_1): Fix problem with printing demangled | |
6232 | C++ function types where demangled type includes the function | |
6233 | args. | |
6234 | ||
8f793aa5 FF |
6235 | Tue May 5 11:10:27 1992 Fred Fish ([email protected]) |
6236 | ||
6237 | * Makefile.in (DEMANGLER): Define and default to cplus-dem. | |
6238 | Allows selection of C++ demangler to be a configuration option | |
6239 | until multiple demanglers are supported. | |
6240 | * demangle.h: New include file for extended demangler support. | |
6241 | * breakpoint.c, gdbtypes.c, printcmd.c, stack.c, symtab.c, | |
6242 | utils.c, valprint.c: Include "demangle.h" and change all calls | |
6243 | to cplus_demangle() or fputs_demangled() to use individual | |
6244 | demangling options. | |
6245 | * valprint.c (type_print_1): Change options to cplus_demangle | |
6246 | to print demangled function args. Still broken, but now less so. | |
6247 | * cplus-dem.c: Include demangle.h, reorganize and update some | |
6248 | comments to reflect reality. | |
6249 | * cplus-dem.c (cplus_demangle, cplus_mangle_opname): Change | |
6250 | second arg from fixed integer to bit based multiple options. | |
6251 | * cplus-dem.c (optable): Reformat and replace ansi members with | |
6252 | bit based options. | |
6253 | * cplus-dem.c (do_type): Fix bug with parsing missing return type. | |
6254 | ||
6fab5bef JG |
6255 | Mon May 4 22:26:59 1992 John Gilmore (gnu at cygnus.com) |
6256 | ||
6257 | * values.c (set_internalvar): Force evaluation of lazy values. | |
6258 | Bug reported by RMS. | |
6259 | ||
4db8e515 FF |
6260 | Sun May 3 15:47:45 1992 Fred Fish ([email protected]) |
6261 | ||
6262 | * Makefile.in (VERSION): Bump to 4.5.2. | |
6263 | * Makefile.in (DEMANGLE_OPTS): Add, default to -Dnounderscore. | |
6264 | * configure.in: Simplify ncr3000 gdb_host logic, add gdb_target. | |
6265 | * dwarfread.c (struct_type): Apply fix from Peggy Fieland for | |
6266 | proper handling of bit fields. | |
6267 | * gdbtypes.h (struct type): Clarify use of field.bitpos. | |
6268 | * symtab.h: Fix couple of misspellings in comments. | |
6269 | * value.h (struct value): Clarify use of bitpos. | |
6270 | * value.h (unpack_field_as_long): Change prototype, returns | |
6271 | LONGEST. | |
6272 | * values.c (unpack_field_as_long): Change return type to LONGEST, | |
6273 | sign extend unpacked fields that are signed, other rewriting. | |
6274 | * config/ncr3000.mt: New target config file. | |
6275 | ||
ea1549b3 JG |
6276 | Fri May 1 01:53:26 1992 John Gilmore (gnu at cygnus.com) |
6277 | ||
fcdb113e JG |
6278 | * utils.c (printchar): Print 0x7F and 0x80-0x9F in \nnn notation |
6279 | even when printing 8-bit characters. | |
6280 | ||
ea1549b3 JG |
6281 | * gdbtypes.c (make_{reference,pointer,function}_type): New |
6282 | functions which handle overwriting of forward-referenced types | |
6283 | for stabs file reading. | |
6284 | (lookup_{reference,pointer,function}_type): These just call | |
6285 | the make_*_type functions with a null storage alloc parameter. | |
6286 | * gdbtypes.h (make_{reference,pointer,function}_type): Declare. | |
6287 | * xcoffread.c (smash_to_pointer_type): Remove, no longer used. | |
6288 | ||
6289 | * buildsym.c (dbx_lookup_type): Zero result for (-1,-1) arg. | |
6290 | (dbx_alloc_type): Make it easier to understand. No funct change. | |
6291 | (define_symbol: 't'): Don't put the typedef name into the name of | |
6292 | the struct, union, or enum. Bugfix. | |
6293 | (read_type: '*', '&', 'f'): Add comments. Use make_XXX_type | |
6294 | routines to properly handle overwriting preallocated types so that | |
6295 | forward references will work. | |
6296 | (read_enum_type): Force enum values to file scope, due to bug in | |
6297 | Sun compiler output. FIXME, fix later. | |
6298 | ||
6299 | Remove unused header_file_prev_index mechanism. It was already | |
6300 | obsolete in gdb-3.5. These comments appeared in 3.5: | |
6301 | /* This code was used before I knew about the instance codes. | |
6302 | My first hypothesis is that it is not necessary now | |
6303 | that instance codes are handled. */ | |
6304 | * dbxread.c (add_new_header_file): Remove header_file_prev_index. | |
6305 | * buildsym.h: Remove it and prev_index that saves it. | |
6306 | * buildsym.c (push_subfile, pop_subfile, start_symtab): Remove it. | |
6307 | ||
6308 | * solib.c (special_symbol_handling): When called from core files, | |
6309 | must set up debug_addr. Don't print error messages, just return. | |
6310 | * symmisc.c (print_symbol): Less ascii diarrhea for enums, please. | |
6311 | ||
f536aa39 PB |
6312 | Wed Apr 29 15:26:51 1992 Per Bothner ([email protected]) |
6313 | ||
6314 | * cplus-dem.c: Allow nested class names (as in | |
6315 | Foo::Bar::method()). | |
6316 | Allow the cleaner cfront style of nested class names | |
6317 | (Q2_3Foo3Bar as well as Q23Foo3Bar). | |
6318 | Make cplus_demangle re-entrant by removing use of global | |
6319 | variables. Instead, place all shared variables in a | |
6320 | stack-allocated structure, and pass around its address. | |
6321 | ||
72b1aa30 SG |
6322 | Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com) |
6323 | ||
9e91f617 SG |
6324 | * Makefile.in (make-proto-gdb-1): 1st cut at packaging |
6325 | 29k-share/* subdirs... | |
6326 | ||
e7ae70e9 SG |
6327 | * remote-udi.c (udi_insert/remove_breakpoint): Completely |
6328 | rewrite, only leave out the bugs. | |
6329 | ||
6330 | * Makefile.in: Add 29k/UDI support. Improve depend. | |
6331 | * alldeps.mak, configure.in, depend: Add 29k/UDI support. | |
6332 | ||
07df4831 SG |
6333 | * am29k-tdep.c: Update to use new calling conventions, and misc |
6334 | symbol elements. | |
6335 | ||
72b1aa30 SG |
6336 | * m68k-pinsn.c (print_insn_arg): Make branch offsets be signed. |
6337 | ||
c8094777 FF |
6338 | Thu Apr 23 18:43:17 1992 Fred Fish ([email protected]) |
6339 | ||
66a8a9b4 SG |
6340 | * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice |
6341 | breakpoint instructions that leave PC pointing at the right place. | |
6342 | ||
c8094777 FF |
6343 | * core.c (core_open): Call warning() to print warnings. |
6344 | ||
35a25840 SG |
6345 | Wed Apr 22 09:55:42 1992 Stu Grossman (grossman at cygnus.com) |
6346 | ||
6347 | * symtab.c (lookup_symbol): Need to check if msymbol->name is | |
6348 | NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer. | |
6349 | This prevents a crash when trying to lookup the value of a | |
6350 | non-existent symbol. | |
6351 | ||
4ace50a5 FF |
6352 | Wed Apr 22 09:42:15 1992 Fred Fish ([email protected]) |
6353 | ||
6354 | * signame.c, signame.h: Remove, replaced by strsignal.c in | |
6355 | libiberty. | |
6356 | * i960-tdep.c, infrun.c, mach386-xdep.c, procfs.c, sparc-tdep.c, | |
6357 | sun386-xdep.c: Remove include of signame.h | |
6358 | * Makefile.in (SFILES_MAINDIR): Remove signame.c | |
6359 | * Makefile.in (HFILES): Remove signame.h | |
6360 | * Makefile.in (OBS): Remove signame.o | |
6361 | * defs.h (safe_strerror, safe_strsignal, strerrno, strsigno, | |
6362 | errno_max, signo_max, strtoerrno, strtosigno, strsignal, | |
6363 | psignal, perror): Add prototypes. | |
6364 | * defs.h, xm-apollo68v.h, xm-ultra3.h (SYS_SIGLIST_MISSING): | |
6365 | Remove define. | |
6366 | * depend: Manually remove signame.[cho] references. | |
6367 | * convex-tdep.c (subsig_name): Replace use of sys_siglist with | |
6368 | strsignal. | |
6369 | * convex-xdep.c (core_file_command): Replace use of sys_siglist | |
6370 | with safe_strsignal. | |
6371 | * core.c (core_open): Replace use of sys_siglist with | |
6372 | safe_strsignal. | |
6373 | * core.c (memory_error): Replace use of sys_errlist with | |
6374 | safe_strerror. | |
6375 | * i960-tdep.c (print_fault): Replace use of sys_siglist with | |
6376 | safe_strsignal. | |
6377 | * infcmd.c (program_info): Replace use of sys_siglist with | |
6378 | safe_strsignal. | |
6379 | * infrun.c (signal_stop, signal_print, signal_program): | |
6380 | Allocate dynamically based on dynamic determination of number | |
6381 | of signals to support. | |
6382 | * infrun.c (child_create_inferior): Replace use of sys_errlist | |
6383 | with safe_strerror. | |
6384 | * infrun.c (wait_for_inferior): Replace use of sys_siglist with | |
6385 | safe_strsignal. | |
6386 | * infrun.c (sig_print_info): Replace use of sig_abbrev with | |
6387 | strsigno and sys_siglist with safe_strsignal. | |
6388 | * infrun.c (handle_command): Call signo_max to find number of | |
6389 | signals. Replace sig_number with strtosigno and sig_abbrev with | |
6390 | strsigno. | |
6391 | * infrun.c (signals_info): Replace sig_number with strtosigno. | |
6392 | * infrun.c (_initialize_infrun): Call signo_max to find number of | |
6393 | signals. Dynamically allocate signal_{stop,print,program}. | |
6394 | * procfs.c (errno_table): Remove, now in libiberty/strerror.c. | |
6395 | * procfs.c (errnoname): Add function and prototype. | |
6396 | * procfs.c (info_proc_siginfo): Call errnoname, replace use | |
6397 | of sys_siglist with safe_strsignal. | |
6398 | * procfs.c (info_proc_stop, info_proc_signals): Replace use of | |
6399 | sys_siglist with safe_strsignal. | |
6400 | * procfs.c (info_proc_stop): Call errnoname. | |
6401 | * procfs.c (signalname): Replace sig_abbrev with strsigno. | |
6402 | * stuff.c (main, get_offset): Replace use of sys_errlist with | |
6403 | strerror. | |
6404 | * sun386-xdep.c (core_file_command): Replace use of sys_siglist | |
6405 | with safe_strsignal. | |
6406 | * umax-xdep.c (core_file_command): Replace use of sys_siglist | |
6407 | with safe_strsignal. | |
6408 | * utils.c (safe_strerror, safe_strsignal): Add functions that | |
6409 | call strerror and strsignal respectively, and deal with NULL | |
6410 | returns. | |
6411 | * utils.c (perror_with_name, print_sys_errmsg): Replace use of | |
6412 | sys_errlist with safe_strerror. | |
6413 | * valprint.c (val_print): Replace use of sys_errlist with | |
6414 | safe_strerror. | |
6415 | ||
6e6bf7f2 RP |
6416 | Tue Apr 21 12:00:47 1992 K. Richard Pixley ([email protected]) |
6417 | ||
6418 | * Makefile.in: rework CFLAGS so that they can be set from the | |
6419 | command line to make. CFLAGS -> INTERNAL_CFLAGS. | |
6420 | USER_CFLAGS -> CFLAGS. Remove MINUS_G. Default CFLAGS to -g. | |
6421 | Pass CFLAGS on recusions. | |
6422 | ||
6423 | Fri Apr 17 19:25:57 1992 Fred Fish ([email protected]) | |
6424 | ||
6425 | * gdbtypes.h, c-exp.y, m2-exp.y, mipsread.c, gdbtypes.c: Back | |
6426 | out of change on 4/14/92 and remove TYPE_FLAG_FUND_TYPE. It was | |
6427 | overkill for the problem it solved. | |
6428 | * valprint.c (type_print_base): Remove TYPE_FLAG_FUND_TYPE test | |
6429 | and default to simply printing type names as appropriate. | |
6430 | * main.c (main): Remove one of the leading newlines from | |
6431 | warning_pre_print initialization. | |
6432 | * objfiles.c (open_existing_mapped_file): Add function and | |
6433 | prototype. | |
6434 | * objfiles.c (open_mapped_file): Rewrite to use new function | |
6435 | open_existing_mapped_file. | |
6436 | ||
b0c8c726 JG |
6437 | Thu Apr 16 23:50:12 1992 John Gilmore (gnu at cygnus.com) |
6438 | ||
6439 | * sun3-xdep.c (fetch_core_registers): Lint. | |
6440 | * tm-sun3.h: Prototype lint. | |
6441 | * value.h: Typo. | |
6442 | ||
2d6d969c FF |
6443 | Thu Apr 16 19:56:50 1992 Fred Fish ([email protected]) |
6444 | ||
6445 | * dwarfread.c (TARGET_FT_POINTER_SIZE, TARGET_FT_LONG_SIZE): | |
6446 | Define using TARGET_PTR_BIT and TARGET_LONG_BIT for now. | |
6447 | * objfiles.c: Cast calls to close() with unused returns to void. | |
6448 | * objfiles.c (allocate_objfile): Initialize objfile's mmfd, free | |
6449 | old objfile's name before updating it. | |
6450 | * objfiles.c (free_objfile): Major rewrite for mapped objfiles. | |
6451 | * objfiles.h (objfile struct): Add mmfd member. | |
6452 | * symfile.c (syms_from_objfile): Move some code to | |
6453 | new_symfile_objfile. | |
6454 | * symfile.c (new_symfile_objfile): Add new function, common code | |
6455 | from syms_from_objfile. | |
6456 | * symfile.c (symbol_file_add): Call new_symfile_objfile for both | |
6457 | mapped and unmapped symbol files. | |
6458 | * symfile.c (symbol_file_command): Print "No symbol file now" | |
6459 | message, ala exec_file_command for the exec file. | |
6460 | * symfile.h (new_symfile_objfile): Add prototype. | |
6461 | * xcoffexec.c (map_vmap): Add call to new_symfile_objfile. | |
6462 | * xcoffsolib.c (solib_add): Add call to new_symfile_objfile. | |
6463 | ||
d453b386 PB |
6464 | Thu Apr 16 18:26:34 1992 Per Bothner ([email protected]) |
6465 | ||
6466 | * rs6000-pinsn.c: New version from IBM (Metin). | |
6467 | * m2-exp.y: Re-write string initializers ("<>" => {'<', '>'}) | |
6468 | to avoid warnings from some compilers. | |
6469 | ||
4a11eef2 FF |
6470 | Tue Apr 14 22:33:55 1992 Fred Fish ([email protected]) |
6471 | ||
6472 | * gdbtypes.h (FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL): Add defines. | |
6473 | * gdbtypes.h (TYPE_FLAG_FUND_TYPE): Add define for bit in a | |
6474 | type's flag word that marks it as a fundamental type. | |
6475 | * c-exp.y (_initialize_c_exp): Add TYPE_FLAG_FUND_TYPE bit to | |
6476 | flags argument for all calls to init_type(). | |
6477 | * m2-exp.y (_initialize_m2_exp): Add TYPE_FLAG_FUND_TYPE bit to | |
6478 | flags argument for all calls to init_type(). Also remove | |
6479 | dependency on host sizes for ints, floats, etc. | |
6480 | * mipsread.c (_initialize_mipsread): Add TYPE_FLAG_FUND_TYPE bit to | |
6481 | flags argument for all calls to init_type(). Also remove | |
6482 | dependency on host sizes for ints, floats, etc. | |
6483 | * gdbtypes.c (lookup_fundamental_type): Add TYPE_FLAG_FUND_TYPE | |
6484 | bit to flags argument for all calls to init_type(). Add types | |
6485 | FT_FIXED_DECIMAL and FT_FLOAT_DECIMAL. | |
6486 | * valprint.c (unsigned_type_table, signed_type_table, | |
6487 | float_type_table): Remove. | |
6488 | * valprint.c (type_print_base): Test new TYPE_FLAG_FUND_TYPE | |
6489 | bit when printing fundamental types, and print the actual name | |
6490 | for such types, rather than inventing one. Remove code that | |
6491 | invented fundamental type names. | |
6492 | * valprint.c (_initialize_valprint): Remove initializations | |
6493 | for now removed unsigned_type_table, signed_type_table, and | |
6494 | float_type_table. | |
6495 | ||
35a25840 SG |
6496 | Tue Apr 14 14:30:46 1992 Stu Grossman (grossman at cygnus.com) |
6497 | ||
6498 | * remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h, | |
6499 | vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks | |
6500 | 5.0.2. | |
6501 | ||
13b5a7ff FF |
6502 | Mon Apr 13 20:59:21 1992 Fred Fish ([email protected]) |
6503 | ||
6504 | * dwarfread.c (target_to_host): New function similar to previous | |
6505 | swapin function. | |
6506 | * dwarfread.c (SWAPIN, swapin): Remove macro and support function. | |
6507 | Extensive changes to convert all previous usages to use new | |
6508 | target_to_host() function. | |
6509 | * dwarfread.c (struct dieinfo): Change types of most integral | |
6510 | members to be unsigned. | |
6511 | ||
3bc82410 JG |
6512 | Mon Apr 13 15:59:10 1992 John Gilmore (gnu at cygnus.com) |
6513 | ||
6514 | * WHATS.NEW: Revise -mapped doc. | |
6515 | ||
817bc7b8 JG |
6516 | Sat Apr 11 23:14:36 1992 John Gilmore (gnu at cygnus.com) |
6517 | ||
6518 | * mipsread.c (parse_partial_symbols): Complain when sh->index is | |
6519 | too high or when skipping `forwards' moves us backwards. | |
6520 | (parse_type): Print mis-guessed tag name in complaint. | |
6521 | (parse_external): Eliminate cur_stab and obscure top_stack clobbers. | |
6522 | (parse_procedure): Do not attempt to create symbols; just fill in | |
6523 | the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one. | |
6524 | (psymtab_to_symtab_1): Split up `stabs' from `native ecoff' code | |
6525 | for clarity. Set top_stack before calling parse_external. In | |
6526 | stabs, sort symbols before calling parse_procedure. | |
6527 | * mipsread.c: Lint. | |
6528 | * symmisc.c (std_in, std_out, std_err): Add vars to access std | |
6529 | FILE *'s when debugging GDB (e.g. as args to dump_symtab). | |
6530 | * Makefile.in: Remove stage* targets. Avoid echo on recursive | |
6531 | makes. Eliminate doc/Makefile from tar.Z file if doc/Makefile.in | |
6532 | exists. | |
6533 | ||
554d1be4 JG |
6534 | Fri Apr 10 23:47:37 1992 John Gilmore (gnu at cygnus.com) |
6535 | ||
44d835be | 6536 | * Makefile.in (VERSION): Set to 4.5.1. |
554d1be4 JG |
6537 | * xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define. |
6538 | * sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
6539 | fill_gregset): New functions for SVR4 /proc support. | |
44d835be JG |
6540 | * mipsread.c: Cleanup. Add more complaints for unhandled cases. |
6541 | Remove new symbol types and such to ../include/coff/symconst.h. | |
6542 | (parse_symbol): Simplify code for parsing struct/enum/unions. | |
6543 | (parse_type): Handle `long long' types. | |
6544 | (upgrade_type): Handle `const' qualifier. | |
6545 | (parse_partial_symbols): fix indentation, clean a bit. | |
554d1be4 | 6546 | |
6e706950 FF |
6547 | Fri Apr 10 22:41:03 1992 Fred Fish ([email protected]) |
6548 | ||
95967e73 FF |
6549 | * dwarfread.c (SWAPIN,swapin): New macro and function to call to |
6550 | copy in data from raw read buffers, calling bfd byteswapping | |
6551 | routines as appropriate. Use to replace most existing memcpy | |
6552 | calls. | |
6553 | * dwarfread.c (basicdieinfo, completedieinfo): Add objfile arg. | |
6e706950 FF |
6554 | * configure.in: Recognize new ncr3000 config. |
6555 | * config/ncr3000.mh: New config file. | |
6556 | ||
601836ef SG |
6557 | Fri Apr 10 08:30:58 1992 Stu Grossman (grossman at cygnus.com) |
6558 | ||
6e706950 FF |
6559 | GDB-4.5 release! |
6560 | ||
6561 | * README: Update for release. | |
b69ce5ab SG |
6562 | * Makefile.in: Update version to 4.5. |
6563 | * WHATS.NEW: The obvious. | |
6564 | ||
ece32565 SG |
6565 | * depend: Generate new depend file for this release. |
6566 | ||
601836ef SG |
6567 | * Makefile.in (depend): Fix dependancy generation so that it does |
6568 | not include gcc 'fixincluded' files, which are usually in a system | |
6569 | specific location. | |
6570 | ||
9b6f92db PB |
6571 | Thu Apr 9 13:35:00 1992 Per Bothner ([email protected]) |
6572 | ||
6573 | Changes from [email protected] (Metin G. Ozisik). | |
6574 | * buildsym.c (#ifdef RS6000_TARGET): Don't create unnecessary | |
6575 | symbols for nameless types. And, handle `R' (register parameter | |
6576 | type) for AIX. (an extension to existing stabstring grammar). | |
6577 | * rs6000-xdep.c: Fix typo (= should have been ==). | |
6578 | ||
7fe388ad SG |
6579 | Thu Apr 9 12:10:06 1992 Stu Grossman (grossman at cygnus.com) |
6580 | ||
6581 | * Makefile.in: version=4.4.88, add xm-vax.h to HFILES. | |
6582 | ||
9e53d9dc JG |
6583 | Thu Apr 9 02:29:03 1992 John Gilmore (gnu at cygnus.com) |
6584 | ||
6585 | * xm-sun4os5.h (DO_DEFERRED_STORES, CLEAR_DEFERRED_STORES): Zap. | |
6586 | * signame.c (SIGWAITING, SIGLWP): Add. | |
6587 | ||
6fba3d7c PB |
6588 | Tue Apr 7 16:34:07 1992 Per Bothner ([email protected]) |
6589 | ||
56619803 | 6590 | * xm-i386mach.h: add decls for errno and strdup(). |
ff1e35cb | 6591 | |
6fba3d7c PB |
6592 | * breakpoint.c (breakpoint_1): Add (int) casts for enums |
6593 | used in array index context (otherwise, some compilers barf). | |
6594 | ||
628c6d3b SG |
6595 | Tue Apr 7 08:45:46 1992 Stu Grossman (grossman at cygnus.com) |
6596 | ||
e05ba37d SG |
6597 | * m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target(). |
6598 | Change def of SAVED_PC_AFTER_CALL to call routine to see if we are | |
6599 | in a system call, and provide better backtrace if so. | |
6600 | ||
1f415ae7 | 6601 | * Makefile.in (HFILES): Add xcoffsolib.h. |
c994feb6 | 6602 | * rs6k-opcode.h: Move to ../include/opcode/rs6k.h. |
2741887b | 6603 | * rs6000-pinsn.c: #include "opcode/rs6k.h" |
c994feb6 | 6604 | |
96c19d0f SG |
6605 | * mipsread.c (read_mips_symtab, read_the_mips_symtab, |
6606 | mipscoff_symfile_read): Convert to BFD to do file I/O. | |
6607 | ||
c1bde665 SG |
6608 | * symfile.c: #include <ctype.h> to get proper def if isspace(). |
6609 | ||
628c6d3b SG |
6610 | * i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET. |
6611 | ||
ad142b8e PB |
6612 | Mon Apr 6 17:25:45 1992 Per Bothner ([email protected]) |
6613 | ||
6614 | * mipsread.c: Create a .gdbinfo pseudo-symbol for each | |
6615 | function also when parsing embedded stabs. | |
6616 | ||
ce9260ae SG |
6617 | Mon Apr 6 15:25:03 1992 Stu Grossman (grossman at cygnus.com) |
6618 | ||
391ca579 SG |
6619 | * mipsread.c: Fix more declarations. |
6620 | ||
e5578a31 SG |
6621 | * mipsread.c: Fix many invocations of complain. Use enum |
6622 | type_code where appropriate. | |
41bd448e | 6623 | |
995e7f86 SG |
6624 | * xm-vaxult.h: Add decl for strdup(). |
6625 | ||
ce9260ae SG |
6626 | * Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h |
6627 | for xm-vax.h. | |
6628 | ||
b2de19e3 SG |
6629 | Fri Apr 3 17:41:29 1992 Stu Grossman (grossman at cygnus.com) |
6630 | ||
6631 | * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to | |
6632 | process_one_symbol. | |
6633 | ||
556f3d90 PB |
6634 | Fri Apr 3 12:17:14 1992 Per Bothner ([email protected]) |
6635 | ||
6636 | * munch: Must pre-pend "_" to "initialize" for SYSV style nm. | |
6637 | * tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h: | |
6638 | Merge in more patches for rs6000 from Metin Ozisik. | |
6639 | * utils.c: Fix typo in comment. | |
6640 | ||
d65eee73 FF |
6641 | Fri Apr 3 11:23:03 1992 Fred Fish ([email protected]) |
6642 | ||
6643 | * procfs.c (procinfo struct): Add nopass_next_sigstop member. | |
6644 | * procfs.c (attach): Set nopass_next_sigstop if attached | |
6645 | process is forcibly stopped. | |
6646 | * procfs.c (child_resume): Use nopass_next_sigstop to suppress | |
6647 | resending SIGSTOP to attached process on first resume. | |
6648 | ||
239e7ee9 SG |
6649 | Fri Apr 3 01:37:26 1992 Stu Grossman (grossman at cygnus.com) |
6650 | ||
6651 | * Makefile.in (SFILES_MAINDIR): add mipsread.c | |
6652 | ||
e10a3052 JG |
6653 | Thu Apr 2 20:20:54 1992 John Gilmore (gnu at cygnus.com) |
6654 | ||
6655 | * Makefile.in (OBS): Compile mipsread.c for all targets now. | |
6656 | (VERSION): Bump to 4.4.85. | |
6657 | * mipsread.c: Update for new include files. Lint. | |
6658 | * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab. | |
6659 | * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}: | |
6660 | Don't need to bring in mipsread.o specially any more. | |
6661 | ||
4ad1963e SG |
6662 | Thu Apr 2 19:38:31 1992 Stu Grossman (grossman at cygnus.com) |
6663 | ||
6664 | * mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real | |
6665 | routine (for Irix-4.x). Make many funcs static and void. | |
6666 | * mips-tdep.c (mips-frame-chain): Clean up, simplify. | |
6667 | * (init_extra_frame_info): Don't trash cached value of frame | |
6668 | pointer register. This fixes backtracing through routines that use | |
6669 | alloca(). Generally clean up declarations of functions, and use | |
6670 | typedefs and macros to reference data structures as appropriate. | |
6671 | * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for | |
6672 | proc_desc element. | |
6673 | ||
5c1c5e67 FF |
6674 | Thu Apr 2 09:47:11 1992 Fred Fish ([email protected]) |
6675 | ||
6676 | * values.c (unpack_long): Fix unpacking error for signed chars | |
6677 | on hosts where the default character type is unsigned. | |
6678 | * procfs.c (pr_flag_table, pr_why_table): Add some entries | |
6679 | for newer SVR4 variants. | |
6680 | * procfs.c (proc_set_exec_trap): Reorder tests for ioctl's that | |
6681 | turn off trace inherit-on-fork flag to favor latest SVR4 method. | |
6682 | * procfs.c (mappingflags): Add support for MA_PHYS | |
6683 | ||
ac88ca20 JG |
6684 | Thu Apr 2 00:55:56 1992 John Gilmore (gnu at cygnus.com) |
6685 | ||
03c93c66 JG |
6686 | * buildsym.c (read_struct_type): Avoid coredump when C++ |
6687 | abbreviated type name is messed up. Reported by Joe Buck. | |
6688 | FIXME, we need to determine whether GDB or GCC needs to be | |
6689 | smarter to correctly locate this type name. | |
6690 | ||
ac88ca20 JG |
6691 | * c-exp.y, coffread.c, command.c, command.h, copying.awk, |
6692 | dbxread.c, gdbtypes.c, infcmd.c, inferior.h, infrun.c, | |
6693 | m2-exp.y, printcmd.c, remote.c, solib.c, source.c, stack.c, | |
6694 | symtab.c, tm-sun4os4.h, tm-sun4os5.h, values.c: Lint. | |
6695 | * symfile.c (add_symbol_file_command): Initialize mapped/readnow. | |
6696 | ||
cc221e76 FF |
6697 | Wed Apr 1 11:39:52 1992 Fred Fish ([email protected]) |
6698 | ||
6699 | * breakpoint.h (bpdisp, bptype): Remove trailing comma. | |
6700 | * symtab.h (current_source_symtab): Make extern | |
6701 | * symtab.h (current_source_line): Make extern | |
6702 | * inferior.h: Move all procfs.c prototypes to one place, add | |
6703 | prototype for proc_signal_handling_change. Add prototypes for | |
6704 | signal_stop_state, signal_print_state, and signal_pass_state. | |
6705 | * inferior.h (stop_soon_quietly): Make extern | |
6706 | * inferior.h (attach_flag): Make extern | |
6707 | * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): Default is null. | |
6708 | * infrun.c (signal_stop_state, signal_print_state, | |
6709 | signal_pass_state): New functions to query specific signal | |
6710 | handling flags. | |
6711 | * infrun.c (handle_command): Minor error message change, add | |
6712 | NOTICE_SIGNAL_HANDLING_CHANGE. | |
6713 | * procfs.c (open_proc_file): Remove iris specific reset of | |
6714 | inherit-on-fork flag, moved to proc_set_exec_trap(). | |
6715 | * procfs.c (proc_set_exec_trap): Add SVR4 and iris code | |
6716 | to reset inherit-on-fork flag, bash comment to GNU form. | |
6717 | * procfs.c (proc_base_address, set_proc_siginfo, | |
6718 | fetch_core_registers): Conform to code style. | |
6719 | * procfs.c (signame.h): Include. | |
6720 | * procfs.c (MAX_SYSCALLS, syscall_table[], init_syscalltable(), | |
6721 | syscallname(), info_proc_syscalls()): New macros, tables, and | |
6722 | functions to organize and report system call information. | |
6723 | * procfs.c (saved_fltset, saved_trace, saved_sighold, | |
6724 | saved_exitset, saved_entryset): Add to procinfo struct. | |
6725 | * procfs.c (struct trans): Add. | |
6726 | * procfs.c (pr_flag_table, pr_why_table, faults_table, | |
6727 | siginfo_table, errno_table): Tables to translate numeric values | |
6728 | to symbolic names and short descriptions. | |
6729 | * procfs.c (signalname, info_proc_signals): Add function and | |
6730 | prototype. | |
6731 | * procfs.c (proc_info): Now info_proc. | |
6732 | * procfs.c (proc_info_address_map): Now info_proc_mappings. | |
6733 | * procfs.c (info_proc_flags, info_proc_stop, info_proc_siginfo, | |
6734 | info_proc_faults, lookupname, lookupdesc, sigcodename, | |
6735 | sigcodedesc): New functions. | |
6736 | * procfs.c (proc_signal_handling_change): New function to set | |
6737 | the trace flags based on the state of gdb's signal handling flags. | |
6738 | * procfs.c (inferior_proc_init): Call proc_signal_handling_change | |
6739 | and remove code to do PIOCSTRACE ioctl. | |
6740 | * procfs.c (attach, detach): Preserve and restore process flags | |
6741 | using saved_* fields in procinfo struct. | |
6742 | * procfs.c (attach): Call proc_signal_handling_change. | |
6743 | * procfs.c (info_proc): Major rework to expand "info proc" cmd. | |
6744 | * procfs.c (proc_desc): Update for latest changes. | |
6745 | * xm-irix4.h (CREATE_INFERIOR_HOOK): Protect by USE_PROC_FS. | |
6746 | * xm-irix4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition. | |
6747 | * xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition. | |
6748 | ||
6749 | Tue Mar 31 18:38:28 1992 Fred Fish ([email protected]) | |
6750 | ||
6751 | * procfs.c (set_proc_siginfo): Add prototype and new function. | |
6752 | * procfs.c (detach, child_resume): Call set_proc_siginfo to set | |
6753 | up inferior siginfo struct. | |
6754 | * elfread.c (elf_symfile_read): Compute the relocation amount | |
6755 | by subtracting off the address of the ".text" section. | |
6756 | * solib.c: Add pointer to ".text" section to so_list struct. | |
6757 | * solib.c (solib_map_sections): Initialize pointer to ".text" | |
6758 | section in so_list struct. | |
6759 | * solib.c (symbol_add_stub): Pass base address of ".text" | |
6760 | section to symbol_file_add, rather than the load address of | |
6761 | the shared library. On SunOS they are the same. On SVR4 they | |
6762 | are not. | |
6763 | ||
3bec9cdd SG |
6764 | Tue Mar 31 17:48:15 1992 Stu Grossman (grossman at cygnus.com) |
6765 | ||
6766 | * mipsread.c (parse_procedure): PDR.isym should get pointer to | |
6767 | function name, not .gdbinfo. symbol. | |
6768 | ||
e360572c JG |
6769 | Tue Mar 31 17:05:04 1992 John Gilmore (gnu at cygnus.com) |
6770 | ||
6771 | * breakpoint.c (breakpoint_1): Fix prototype, this time for sure! | |
6772 | ||
fad3fc94 SG |
6773 | Tue Mar 31 11:01:06 1992 Stu Grossman (grossman at cygnus.com) |
6774 | ||
e360572c | 6775 | * Makefile.in (VERSION): 4.4.8 |
5e8fdb82 | 6776 | |
fad3fc94 SG |
6777 | * procfs.c (open_proc_file): Disable inherit-on-fork flag so that |
6778 | commands in .cshrc/.profile won't get traced. | |
6779 | ||
3b0b9220 JG |
6780 | Tue Mar 31 08:11:58 1992 John Gilmore (gnu at cygnus.com) |
6781 | ||
6782 | * elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc. | |
6783 | * exec.c (build_section_table): Don't abort if no sections. | |
6784 | * sparc-tdep.c (single_step): Lint. | |
6785 | * utils.c (mrealloc): Handle realloc (0, size) case here. | |
6786 | ||
d1bb1d41 SG |
6787 | Mon Mar 30 16:50:43 1992 Stu Grossman (grossman at cygnus.com) |
6788 | ||
f8b4aa8e SG |
6789 | * Makefile.in (alldeps.mak): Config files are now *.m[ht] as |
6790 | opposed to m[ht]-*! | |
6791 | ||
9d4c62df SG |
6792 | * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs. |
6793 | ||
d1bb1d41 SG |
6794 | * mipsread.c (parse_symbol, parse_procedure): Re-do the way that |
6795 | .gdbinfo. symbols are created. Move creation from parse_procedure | |
6796 | to parse_symbol, where it is fairly easy to grow the symtab. This | |
6797 | also fixes a symtab trashing bug on all mips-based systems. | |
6798 | * (got_numargs, lookup_numargs, free_numargs): Delete. Not | |
6799 | needed anymore. | |
6800 | * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct | |
6801 | mips_extra_func_info, and all the PROC_xxx macros that look at it. | |
6802 | ||
d26b50b7 PB |
6803 | Mon Mar 30 14:17:53 1992 Per Bothner ([email protected]) |
6804 | ||
6805 | * c-exp.y: Add missing return type to yyparse() prototype. | |
6806 | ||
be772100 JG |
6807 | Sat Mar 28 22:22:06 1992 John Gilmore (gnu at cygnus.com) |
6808 | ||
6809 | Create and use macros for iterating on symtabs, psymtabs, msymbols. | |
6810 | ||
6811 | * minsyms.c (iterate_over_msymbols): Remove; clunky and slow. | |
6812 | * symfile.h, symtab.h (iterate_over_msymbols): Remove prototype | |
6813 | * coffread.c (coff_symfile_read): iterate_over_symtabs => ALL_SYMTABS. | |
6814 | (patch_opaque_types): Avoid dummy args and result. | |
6815 | * objfiles.c (have_partial_symbols, have_full_symbols, | |
6816 | have_minimal_symbols): explicit iteration => ALL_OBJFILES; simplify. | |
6817 | (iterate_over_objfiles, iterate_over_symtabs, | |
6818 | iterate_over_psymtabs): Remove, clunky and slow. | |
6819 | * objfiles.h: Replace iterate_over_* prototypes with ALL_SYMTABS, | |
6820 | ALL_PSYMTABS, and ALL_MSYMBOLS macros. | |
6821 | * symmisc.c (dump_symtab, dump_psymtab, dump_msymbols, | |
6822 | dump_objfile): Remove dummy args and results. Move filename | |
6823 | comparisons to callers. | |
6824 | (printsyms_command, printpsyms_command, printmsyms_command, | |
6825 | printobjfiles_command): iterate_over_* => ALL_*. Compare filenames. | |
6826 | * symtab.c (lookup_symtab_1, lookup_symtab, lookup_partial_symtab, | |
6827 | lookup_symbol, find_main_psymtab, find_pc_symtab, sources_info, | |
6828 | list_symbols, make_symbol_completion_list): Replace explicit | |
6829 | iteration with ALL_SYMTABS, ALL_PSYMTABS, or ALL_MSYMBOLS. | |
6830 | Eliminate Dijkstra flag crap, break out of loops with gotos. | |
6831 | (lookup_symtab_1): Protect '/' tests from short filenames. | |
6832 | (cplus_mangled_symbol): Move inline into lookup_symbol. | |
6833 | * xcoffexec.c (relocate_objfile_msymbols): Remove poor hack. | |
6834 | (relocate_minimal_symbol): Move inline to vmap_symtab. | |
6835 | (vmap_symtab): Replace iteration with ALL_OBJFILES, | |
6836 | iterate_over_msymbols with ALL_MSYMBOLS. | |
6837 | ||
6838 | Misc cleanup prior to release. | |
6839 | ||
6840 | * Makefile.in (VERSION): Roll to 4.4.7. | |
6841 | (HFILES): Add call-cmds.h. | |
6842 | * call-cmds.h: New header for command fns called by other files. | |
6843 | * breakpoint.c (watchpoints_info): Remove, same as breakpoints_info. | |
6844 | (breakpoint_1): Remove unused type arg. Change callers. | |
6845 | ||
6846 | * dwarfread.c (dwarf_build_psymtabs): Remove mainline test. | |
6847 | * mipsread.c (compare_symtabs, compare_psymtabs): Remove, unused. | |
6848 | * mipsread.c: Add prototypes for all static functions. | |
6849 | ||
6850 | * symmisc.c (dump_symtab_lines, dump_symtabs, dump_last_symtab, | |
6851 | dump_blockvector, dump_block, dump_addrchass, dump_namespace, | |
6852 | dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove, unused. | |
6853 | * xcoffread.c (dump_symtab_lines, dump_symtabs, dump_last_symtab, | |
6854 | dump_blockvector, dump_block, dump_addrchass, dump_namespace, | |
6855 | dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove 2nd | |
6856 | unused copy! | |
6857 | ||
6858 | * buildsym.c (define_symbol): Handle global register variables | |
6859 | (from Pierre Willard). Complain if register numbers are too large. | |
6860 | * target.c (nomemory): Now that higher levels examine errno, give EIO. | |
6861 | * tm-sparc.h: Don't #include <sun4/reg.h>. | |
6862 | * sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove | |
6863 | dependency on <sun4/reg.h>. Start to handle cross-byte-order. | |
6864 | ||
6865 | * language.h: Avoid forward enum declaration. | |
6866 | * configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh, | |
6867 | config/sun4os5.mt: New host and target. | |
6868 | * defs.h (errno): #include <errno.h> rather than assuming int. | |
6869 | From Pierre Willard. | |
6870 | ||
6871 | * breakpoint.c, breakpoint.h, buildsym.c, coffread.c, cplus-dem.c, | |
6872 | dbxread.c, dwarfread.c, elfread.c, infcmd.c, infrun.c, inftarg.c, | |
6873 | language.c, main.c, mem-break.c, mips-tdep.c, mipsread.c, | |
6874 | partial-stab.h, remote.c, saber.suppress, symfile.c, symtab.c, | |
6875 | valops.c, valprint.c, xcoffread.c, c-exp.y, m2-exp.y, blockframe.c, | |
6876 | command.c, core.c, exec.c, gdbtypes.h, parse.c, printcmd.c, solib.c, | |
6877 | sparc-xdep.c, utils.c, value.h, values.c: Lint. | |
6878 | ||
6879 | Sat Mar 28 02:43:26 1992 John Gilmore (gnu at cygnus.com) | |
6880 | ||
6881 | * buildsym.c (read_range_type): Avoid int overflow by using unsigned. | |
6882 | * dbxread.c (dbx_symfile_init): Remove bogus `lvalue cast'. | |
6883 | * language.h (enum exp_opcode): Avoid forward enum def. | |
6884 | * main.c (define_command, user_defined_command): Lint. | |
6885 | * mem-break.c, xcoffread.c: Lint. | |
6886 | * solib.c: Only #include <a.out.h> on SunOS, not SVR4. | |
6887 | ||
1eeba686 PB |
6888 | Sun Mar 29 14:16:22 1992 Per Bothner ([email protected]) |
6889 | ||
6890 | * Merged in latest RS6000 diffs from Metin G. Ozisik. | |
6891 | * xcoffsolib.c, xcoffsolib.h: New files, from Metin. | |
6892 | * Various files: Changed #ifdef IBM6000 to IBM6000_HOST | |
6893 | or IBM6000_TARGET as (approximately) appropriate. | |
6894 | ||
bf349b77 FF |
6895 | Sat Mar 28 13:00:10 1992 Fred Fish ([email protected]) |
6896 | ||
6897 | * objfiles.h (OBJF_SYMS): Define flag bit for objfile flags. | |
6898 | * symfile.c (symbol_file_add): Use OBJF_SYMS to decide whether | |
6899 | or not to try reading symbols from a mapped objfile. Plugs memory | |
6900 | leak due to shared libraries generating no psymtabs or symtabs. | |
6901 | ||
c2e4669f JG |
6902 | Fri Mar 27 15:44:55 1992 John Gilmore (gnu at cygnus.com) |
6903 | ||
6904 | * buildsym.c (MAX_OF_C_TYPE, MIN_OF_C_TYPE): Unused, remove. | |
6905 | * copying.awk: Lint. Make stronger warning at top of copying.c. | |
6906 | * elfread.c (elf_symtab_read): Eliminate check of mainline. | |
6907 | * gdbtypes.c (smash_to_*): Remove FIXME comments. | |
6908 | (lookup_pointer_type): Add FIXME comment. | |
6909 | * main.c (set_history_size_command): Disallow negative size. | |
6910 | * partial-stab.h: Update copyright. | |
6911 | * rs6000-tdep.c (skip_trampoline_code): Better comments. | |
6912 | ||
6913 | Wed Mar 25 10:45:38 1992 John Gilmore (gnu at cygnus.com) | |
6914 | ||
6915 | * main.c (set_history_size_command): Negative size is error. | |
6916 | (Reported by Peggy Fieland.) | |
6917 | ||
3624c875 FF |
6918 | Thu Mar 26 17:01:18 1992 Fred Fish ([email protected]) |
6919 | ||
6920 | * coffread.c (coff_symfile_init): Update comment. | |
6921 | * dbxread.c (DBX_SYMFILE_INFO, DBX_TEXT_SECT, DBX_SYMCOUNT, | |
6922 | DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMTAB_OFFSET): Define | |
6923 | macros to access the dbx specific objfile information. | |
6924 | * dbxread.c (symfile_string_table, symfile_string_table_size): | |
6925 | Remove these local variables. | |
6926 | * dbxread.c (read_ofile_symtab, psymtab_to_symtab_1, | |
6927 | read_dbx_symtab): Remove the stringtab and stringtab_size params | |
6928 | from the function prototypes, the function definition, and the | |
6929 | function calls. These are now available via DBX_STRINGTAB and | |
6930 | DBX_STRINGTAB_SIZE using the objfile pointer. | |
6931 | * dbxread.c (dbx_symfile_read): Relocate addr before using as | |
6932 | an arg to read_dbx_symtab. | |
6933 | * dbxread.c (dbx_symfile_read): Remove code that free'd the | |
6934 | stringtab and the dbx specific per-objfile private info. | |
6935 | * dbxread.c (init_psymbol_list): Remove symbol count from passed | |
6936 | args in prototype, function definition, and function calls. It is | |
6937 | now available via the DBX_SYMCOUNT macro using the objfile | |
6938 | pointer. | |
6939 | * dbxread.c (dbx_symfile_read, dbx_symfile_init): Remove the | |
6940 | local instance of struct dbx_symfile_info and replace with DBX_* | |
6941 | macros. | |
6942 | * dbxread.c (dbx_symfile_read): Remove init's of now deleted | |
6943 | symfile_string_table and symfile_string_table_size. | |
6944 | * dbxread.c (dbx_symfile_finish): Remove now obsolete free of | |
6945 | symfile_string_table. | |
6946 | * dbxread.c (init_psymbol_list): Use DBX_SYMCOUNT. | |
6947 | * dbxread.c (dbx_psymtab_to_symtab): Remove local stringtab and | |
6948 | stringtab size variables. Remove all code that used to reread | |
6949 | the stringtab. | |
6950 | * objfiles.c (allocate_objfile): Move calls to init_malloc() | |
6951 | to prior to any calls to mmalloc for the objfile specific heap. | |
6952 | * utils.c (init_malloc): Document the requirement that for each | |
6953 | heap for which corruption checking is desired, that init_mmalloc | |
6954 | must be called prior to any mmalloc calls on the heap. | |
6955 | ||
6956 | Thu Mar 26 13:20:06 1992 Per Bothner ([email protected]) | |
6957 | ||
6958 | * rs6000-pinsn.c: Make dis-assembly output more like | |
6959 | other targets: Don't print instruction in hex before | |
6960 | the assembly; use print_address to print out jump | |
6961 | destinations. | |
6962 | ||
04f27ddc PB |
6963 | Wed Mar 25 16:52:35 1992 Per Bothner ([email protected]) |
6964 | ||
6965 | * c-exp.y, gdbtypes.h: Add builtin_type_signed_char. | |
6966 | * cplus-dem.c: Support "Sc" meaning "signed char". | |
6967 | ||
88f36033 SG |
6968 | Wed Mar 25 15:21:44 1992 Stu Grossman (grossman at cygnus.com) |
6969 | ||
6970 | * configure.in: fix iris/iris3. | |
6971 | ||
5c71cf23 PB |
6972 | Wed Mar 25 14:55:48 1992 Per Bothner ([email protected]) |
6973 | ||
6974 | * command.c, main.c (various places): Use ctype.h macros | |
6975 | (such as isupper(x)), instead of hard-wiring in ASCII-isms | |
6976 | (such as (x >= 'A' && x <= 'Z')). | |
6977 | (There are still more of these in other files.) | |
6978 | * main.c (defined_command): Lower-case the user's | |
6979 | new command before entering it. Needed because | |
6980 | command lookup is case-insensitive (and also lower-cases). | |
6981 | (Based on Metin's earlier patch.) | |
6982 | ||
fd2329d7 RP |
6983 | Tue Mar 24 23:27:01 1992 K. Richard Pixley ([email protected]) |
6984 | ||
6985 | * config/irix4.mh: new file. | |
6986 | ||
4f301966 SG |
6987 | Tue Mar 24 14:17:48 1992 Stu Grossman ([email protected]) |
6988 | ||
0a22f63e SG |
6989 | * infcmd.c (step_1): Call disable_longjmp_breakpoint at the right |
6990 | time. | |
6991 | ||
6992 | * xm-mips.h: Declare strdup for ultrix. | |
9d53db1a | 6993 | |
4f301966 SG |
6994 | * mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup |
6995 | when calling new_symbol. | |
6996 | * mips-tdep.c (mips_frame_chain): Use symfile_objfile instead of | |
6997 | current_objfile. | |
6998 | ||
5c8d3927 PB |
6999 | Tue Mar 24 13:26:25 1992 Per Bothner ([email protected]) |
7000 | ||
7001 | * config/rs6000.mh: Update (for Fred's new mmalloc) | |
7002 | flags to disable use of GNU malloc/mmalloc. | |
7003 | * munch: Change SYSV rule to allow .text before the label, | |
7004 | as well as after, to work for AIX. | |
7005 | * gdbtypes.h: Minor clarifiction. | |
7006 | ||
be1384b0 MT |
7007 | Tue Mar 24 07:26:19 1992 Michael Tiemann ([email protected]) |
7008 | ||
7009 | * buildsym.c (read_struct_type): Handle cretinous dbx symbol name | |
7010 | continuation in yet another place (between method declarations). | |
7011 | ||
62a469e1 SG |
7012 | Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com) |
7013 | ||
7014 | * mips-tdep.c: include symfile.h and objfiles.h to fix | |
7015 | compilation errors. | |
7016 | ||
b3024b21 PB |
7017 | Mon Mar 23 15:49:14 1992 Per Bothner ([email protected]) |
7018 | ||
7019 | * valops.c (value_struct_elt_for_reference): Added 'offset' | |
7020 | parameter to handle multiple inheritance. | |
7021 | * eval.c, value.h: Update accordingly. | |
7022 | ||
5e2e79f8 FF |
7023 | Fri Mar 20 17:43:27 1992 Fred Fish ([email protected]) |
7024 | ||
7025 | * objfiles.h: New file | |
7026 | * Makefile.in (HFILES): Add objfiles.h | |
7027 | * blockframe.c: Remove entry_scope_lowpc, entry_scope_highpc, | |
7028 | main_scope_lowpc, main_scope_highpc. | |
7029 | * blockframe.c, buildsym.c, coffread.c, dbxread.c, dwarfread.c, | |
7030 | elfread.c, gdbtypes.h, minsyms.c, mipsread.c, objfiles.c, solib.c, | |
7031 | source.c, symfile.c, symmisc.c, symtab.c, target.c, xcoffexec.c, | |
7032 | xcoffread.c, : Include objfiles.h. | |
7033 | * tm-29k.h, tm-i386v.h, tm-merlin.h, tm-rs6000.h, tm-sun386.h, | |
7034 | tm-symmetry.h, tm-tahoe.h, tm-umax.h, tm-vax.h, m88k-tdep.c, | |
7035 | mips-tdep.c (FRAME_CHAIN): Renamed outside_startup_file to | |
7036 | inside_entry_file() and logic changed appropriately. | |
7037 | * blockframe.c (outside_startup_file): Renamed to | |
7038 | inside_entry_file() and logic changed appropriately. | |
7039 | * blockframe.c (inside_main_scope): Renamed to inside_main_func() | |
7040 | and logic changed to use per-objfile specific fields. | |
7041 | * blockframe.c (inside_entry_scope): Renamed to | |
7042 | inside_entry_func() and logic changed to use per-objfile specific | |
7043 | fields. | |
7044 | * blockframe.c, buildsym.h, coffread.c, dwarfread.c, mipsread.c, | |
7045 | symfile.c, mips-tdep.c (startup_file_start, startup_file_end): | |
7046 | Remove extern decls. | |
7047 | * symfile.c, symfile.h (entry_point): Remove extern decl. | |
7048 | * coffread.c (coff_symfile_init): Common entry point init code | |
7049 | moved to symfiles.c, call init_entry_point_info(). | |
7050 | * coffread.c (complete_symtab): Use new per-objfile entry info. | |
7051 | * mip-tdep.c (mips_frame_chain): Use new per-objfile entry info. | |
7052 | * mipsread.c (parse_partial_symbols): Use new per-objfile entry | |
7053 | info. | |
7054 | * dbxread.c (read_dbx_symtab): Use new per-objfile entry info. | |
7055 | * defs.h (inside_entry_scope, outside_startup_file, | |
7056 | inside_main_scope): Prototypes changed for renames to | |
7057 | inside_entry_func, inside_entry_file, inside_main_func, | |
7058 | respectively. | |
7059 | * symfile.c (syms_from_objfile): Common entry point init code | |
7060 | moved to init_entry_point_info() and call init_entry_point_info(). | |
7061 | * symfile.h (init_entry_point_info): Include prototype. | |
7062 | * xcoffread.c (aixcoff_symfile_init): Common entry point init code | |
7063 | moved to symfiles.c and call init_entry_point_info(). | |
7064 | * dwarfread.c (entry_scope_lowpc, entry_scope_highpc, | |
7065 | main_scope_lowpc, main_scope_highpc): Remove extern decls. | |
7066 | * dwarfread.c (read_func_scope, read_file_scope): Use new per- | |
7067 | objfile entry info. | |
7068 | * frame.h (FRAME_CHAIN_VALID): Provide default definition that | |
7069 | works for the majority of targets. | |
7070 | * tm-68k.h, tm-convex.h, tm-h8300.h, tm-i386v.h, tm-irix3.h, | |
7071 | tm-merlin.h, tm-mips.h, tm-pyr.h, tm-rs6000.h, tm-sparc.h, | |
7072 | tm-sun386.h, tm-tahoe.h, tm-umax.h, tm-vax.h (FRAME_CHAIN_VALID): | |
7073 | Use default definition in frame.h. | |
7074 | * frame.h (selected_frame_level): Make decl extern. | |
7075 | * objfiles.c, symfile.c (current_objfile): Moved to objfiles.c | |
7076 | * objfiles.c, symfile.c (symfile_objfile): Moved to objfiles.c | |
7077 | * partial-stab.h: Use new per-objfile entry info. | |
7078 | * symfile.h (struct objfile): Removed, moved to objfiles.h. | |
7079 | * symfile.h, objfiles.h (allocate_objfile, free_objfile, | |
7080 | free_all_objfiles, iterate_over_objfiles, iterate_over_symtabs, | |
7081 | iterate_over_psymtabs, have_partial_symbols, have_full_symbols, | |
7082 | have_minimal_symbols): Prototypes moved to objfiles.h. | |
7083 | * symfile.h, objfiles.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): | |
7084 | Macros moved to objfiles.h. | |
7085 | * tm-h8300.h, tm-i386v4.h (FRAME_CHAIN_VALID_ALTERNATE): Define. | |
7086 | ||
01be6913 PB |
7087 | Thu Mar 19 18:49:45 1992 Per Bothner ([email protected]) |
7088 | ||
7089 | More C++ improvements (pointers to members, qualified names). | |
7090 | * c-exp.y: Support exp.type::name and exp->type::name | |
7091 | syntaxes. (Unfortunately, doesn't work for static members.) | |
7092 | * c-exp.y, eval.c: Make type::~type work better. | |
7093 | * eval.c (evaluate_subexp: OP_SCOPE): Replace use of | |
7094 | value_static_field by value_struct_elt_for_reference. | |
7095 | * eval.c (evaluate_subexp): Merge code for STRUCTOP_MEMBER | |
7096 | and STRUCTOP_MPTR; cast arg1 to domain-type of arg2. | |
7097 | * eval.c (evaluate_subexp): Remove special case for UNOP_ADDR | |
7098 | for OP_SCOPE operand; no point in it now that we use lazy | |
7099 | reading of values, and use "reference to member" objects. | |
7100 | * gdbtypes.h: Clarify comment. | |
7101 | * valops.c: Change value_struct_elt_for_address to return | |
7102 | a reference (or variable), rather than a pointer. Change | |
7103 | the name to value_struct_elt_for_reference to reflect this. | |
7104 | Returning a reference instead of a address provides a | |
7105 | generalization, since we can use the routine for both | |
7106 | class::name as well as &class::name. | |
7107 | Also, recurse to handle multiple inheritance properly. | |
7108 | * valprint.c: Moved code to print pointer-to-members | |
7109 | to new function point_class_member. This allows a | |
7110 | "reference-to-member" to be printed using the same code. | |
7111 | * valprint.c (type_print_varspec_prefix): Avoid printing | |
7112 | "struct " for domains of class-member types. | |
7113 | * valops.c (search_struct_field): Inline code for simplified | |
7114 | version of value_static_field (which can then be deleted). | |
7115 | * value.h: Rename value_struct_elt_for_address to | |
7116 | value_struct_elt_for_reference. Delete value_static_field. | |
7117 | * values.c: Remove no longer used function value_static_field. | |
7118 | ||
80d68b1d FF |
7119 | Thu Mar 19 13:54:11 1992 Fred Fish ([email protected]) |
7120 | ||
7121 | * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c, | |
7122 | elfread.c (coff_symfile_finish): Add function, prototype, and | |
7123 | add to the xxxx_sym_fns struct for each file type. Also reformat | |
7124 | the xxxx_sym_fns vector to a standard format and add comments. | |
7125 | * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c, | |
7126 | elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read): | |
7127 | Pass pointer to struct objfile rather than pointer to sym_fns. | |
7128 | Change references inside each function accordingly. Allocate any | |
7129 | symbol file specific info in the per-objfile memory region. | |
7130 | * dbxread.c (free_and_init_header_files): Break function into | |
7131 | free_header_files(), called from dbx_symfile_finish(), and | |
7132 | init_header_files(), called from dbx_new_init(). | |
7133 | * dbxread.c (dbx_new_init): Move deallocation things to new | |
7134 | dbx_symfile_finish function. | |
7135 | * elfread.c (elf_new_init): Call buildsym_new_init(). | |
7136 | * objfiles.c (free_objfile): Call the appropriate symfile_finish() | |
7137 | routine for the objfile before deallocating other stuff. | |
7138 | * sparc-tdep.c (get_longjmp_target): Cast target_read_memory arg. | |
7139 | * symfile.h: Move struct sym_fns to before struct objfile def. | |
7140 | Add sym_finish function pointer and change prototypes of other | |
7141 | function pointers to reflect passing struct objfile pointer rather | |
7142 | than struct sym_fns pointer. | |
7143 | * symfile.c: Remove now obsolete symtab_fns pointer. | |
7144 | * symfile.c (symfile_init): Renamed to find_sym_fns, and now only | |
7145 | locates the correct sym_fns struct for the given objfile. | |
7146 | * symfile.c (syms_from_objfile, symbol_file_add): Restructured | |
7147 | for better support of mapped symbol tables. | |
7148 | * symfile.c (symbol_file_command): Remove obsolete code using | |
7149 | symfile_fns. | |
7150 | * symfile.h: Remove duplicate declarations for symfile_objfile, | |
7151 | entry_point, and object_files. | |
7152 | * target.c (target_info): Compare symfile_objfile to NULL. | |
7153 | * xcoffread.c (aixcoff_new_init): Move deallocation stuff to | |
7154 | aixcoff_symfile_finish(). | |
7155 | ||
dc52fc71 FF |
7156 | Wed Mar 18 18:22:46 1992 Fred Fish ([email protected]) |
7157 | ||
7158 | * infrun.c (IN_SOLIB_TRAMPOLINE): Add default definition. | |
7159 | * infrun.c (wait_for_inferior): Use IN_SOLIB_TRAMPOLINE. | |
7160 | * tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Add SVR4 definition. | |
7161 | ||
2cd99985 PB |
7162 | Wed Mar 18 15:51:15 1992 Per Bothner ([email protected]) |
7163 | ||
7164 | Some improvements to g++ debugging. | |
7165 | * symtab.c (list_symbols): demangle before pattern matching. | |
7166 | * symtab.c: Other fixes to improve handing of operators. | |
7167 | * valprint.c (type_print_base): Fix test for constructor. | |
7168 | * values.c (value_static_field): Allow evaluation of | |
7169 | CLASS::METHOD, returning a function pointer. | |
7170 | ||
b0246b3b FF |
7171 | Wed Mar 18 08:39:52 1992 Fred Fish ([email protected]) |
7172 | ||
7173 | * Makefile.in (VERSION): Roll 4.4.6. | |
7174 | * exec.c (exec_file_command): Add code to ignore optional args | |
7175 | passed in by file_command() for use in symbol_file_command(). | |
7176 | * main.c (main): Document -mapped and -readnow in help summary. | |
7177 | * objfiles.c (open_mapped_file): Cosmetic change, arg renamed. | |
7178 | * objfiles.c (allocate_objfile): Filename arg removed. Changes | |
7179 | to get filename from bfd with bfd_get_filename(). Test mapto | |
7180 | against 0, not NULL. Use mstrsave() to make copy of filename. | |
7181 | * remote-mm.c (mm_load): Symbol_file_add() takes an additional | |
7182 | arg. | |
7183 | * remote-vx.c (vx_load_command, add_symbol_stub): | |
7184 | Symbol_file_add() takes an additional arg. | |
7185 | * solib.c (symbol_add_stub): Symbol_file_add() takes an | |
7186 | additional arg. | |
7187 | * symfile.c (symfile_open): Renamed to symfile_bfd_open and | |
7188 | changed to return a bfd not an objfile pointer. | |
7189 | * symfile.c (syms_from_objfile): Eliminate local copy of bfd. | |
7190 | * symfile.c (symbol_file_add): Takes an additional arg (readnow). | |
7191 | Change to eliminate local bfd and use symfile_bfd_open() plus | |
7192 | allocate_objfile(). Add code to implement readnow option. | |
7193 | * symfile.c (symbol_file_command): Changes to option handling, | |
7194 | readnow functionality moved to symbol_file_add(). | |
7195 | * symfile.c (symfile_init): Eliminate local copy of bfd. | |
7196 | * symfile.c (add_symbol_file_command): Changes to parse mapped | |
7197 | and readnow options. | |
7198 | * symfile.h (allocate_objfile): Arg removed from prototype. | |
7199 | * symtab.h (symbol_file_add): Arg added to prototype. | |
7200 | * xcoffexec.c (map_vmap): Allocate_objfile() takes an additional | |
7201 | arg. | |
7202 | ||
318bf84f FF |
7203 | Sat Mar 14 16:38:47 1992 Fred Fish ([email protected]) |
7204 | ||
7205 | * gmalloc.c, gmalloc.h mcheck.c mmap-alloc.c mmap-sbrk.c mtrace.c, | |
5a4470de | 7206 | mtrace.awk, state.c, state.h: Removed. |
318bf84f FF |
7207 | * .gdbinit: Add ../malloc, ../libiberty, and ../bfd to list of |
7208 | directories searched for source files. | |
7209 | * Makefile.in (GNU_MALLOC, MALLOC_CFLAGS, MALLOCSRC): Removed | |
7210 | * Makefile.in (MMALLOC_DIR, MMALLOC_DEP, MMALLOC_LIB, | |
7211 | MMALLOC_DISABLE, MMALLOC_CHECK, MMALLOC_CFLAGS): Add | |
7212 | * Makefile.in (CFLAGS): Replace MALLOC_CFLAGS with MMALLOC_CFLAGS. | |
7213 | * Makefile.in (CLIBS, CDEPS): Add MMALLOC_LIB | |
7214 | * Makefile.in (ADD_FILES, ADD_DEPS): Remove GNU_MALLOC. | |
7215 | * Makefile.in (SFILES_MAINDIR): Remove stat.c mmap-alloc.c, mmap- | |
7216 | sbrk.c | |
7217 | * Makefile.in (HFILES): Remove state.h | |
7218 | * Makefile.in (POSSLIBS_MAINDIR): Remove MALLOCSRC. | |
7219 | * Makefile.in (OBS): Remove state.o mmap-alloc.o mmap-sbrk.o | |
7220 | * Makefile.in (saber_gdb): Remove mcheck, mtrace. Add MMALLOC_DIR. | |
7221 | * Makefile.in (clean): Remove all object files. | |
7222 | * c-exp.y: Define malloc to xmalloc and realloc to xrealloc. | |
7223 | * cplus-dem.c: Remove prototypes definitions that are now done in | |
7224 | def.h. | |
7225 | * dbxread.c (throughout): Change from using per-objfile | |
7226 | xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree. | |
7227 | * defs.h: Remove prototypes for mmap_* functions. Add prototypes | |
7228 | for xmmalloc, xmrealloc, mfree, mmcheck, mmtrace, mmalloc_attach, | |
7229 | mmalloc_detach, mmalloc_setkey, msavestring, and mstrsave, nomem. | |
7230 | * depend: Remove dependencies for state.o, state.h. | |
7231 | * dwarfread.c: Add declaration for warning_pre_print. | |
7232 | * dwarfread.c (dwarfwarn): Use warning_pre_print. | |
7233 | * dwarfread.c (throughout): Change from using per-objfile | |
7234 | xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree. | |
7235 | * gdbtypes.c (lookup_fundamental_type): Fix init_type calls to | |
7236 | use supplied objfile. | |
7237 | * i386-xdep.c (print_387_status): Change to use warning() rather | |
7238 | than printfs. | |
7239 | * i387-tdep.c (print_387_control_word): Change to use warning() | |
7240 | rather than printfs. | |
7241 | * infrun.c (wait_for_inferior): Remove unreachable abort() call | |
7242 | that some compilers grumble about. | |
7243 | * language.c (throughout): Add declaration for warning_pre_print | |
7244 | and using warning() instead of printfs. | |
7245 | * m2-exp.y: Define malloc to xmalloc and realloc to xrealloc. | |
7246 | * main.c (main): Add declaration for warning_pre_print and set it | |
7247 | similarly to error_pre_print. Add declarations for | |
7248 | mapped_symbol_files and readnow_symbol_files. Add appropriate | |
7249 | definitions to long_options[]. | |
7250 | * minsyms.c: Trivial fix to comment. | |
7251 | * objfiles.c (allocate_objfile): Substantially rewritten for | |
7252 | using mapped symbol files. | |
7253 | * objfiles.c (throughout): Change from using per-objfile | |
7254 | xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree. | |
7255 | * objfiles.c (open_mapped_file, mapped_to_address): Add functions. | |
7256 | * source.c (throughout): Change from using per-objfile | |
7257 | xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree. | |
7258 | * source.c (open_source_file): Use mstrsave to save file name in | |
7259 | mapped symbol region for objfile. | |
7260 | * symfile.c: Remove include for state.h. | |
7261 | include to local form. | |
7262 | * symfile.c (symbol_file_add_digested): Remove. | |
7263 | * symfile.c (symbol_file_add): Substantially rewritten for mapped | |
7264 | symbol files. | |
7265 | * symfile.h: Remove malloc/xrealloc/xmalloc/xrealloc/free members | |
7266 | from objfile structure. Add malloc descriptor pointer (md). | |
7267 | * symfile.h (OBJF_DUMPABLE): Changed name to OBJF_MAPPED. | |
7268 | * symm-xdep.c (print_fpu_status): Use warning() rather than | |
7269 | printfs. | |
7270 | * symmisc.c (free_symtab_block): Now takes and uses current | |
7271 | objfile pointer. | |
7272 | * symmisc.c (throughout): Change from using per-objfile | |
7273 | xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree. | |
7274 | * symtab.c (cplus_mangled_symbol): Cast return value to avoid | |
7275 | Sun compiler grumblings when PTR is char *. | |
7276 | * symtab.c (lookup_symbol): Cast return value of iterate_over_ | |
7277 | msymbols() to correct pointer type. | |
7278 | * utils.c (warning_pre_print): Initialize to "\nwarning: ". | |
7279 | * utils.c (fatal, fatal_dump_core): Ensure that the fatal | |
7280 | error always starts on a line of it's own. | |
7281 | * utils.c (init_malloc, malloc_botch, xmalloc, xrealloc): | |
7282 | Rewrite for new mapped malloc package use. | |
7283 | * utils.c (mmalloc, mrealloc, mfree): Stubs for configurations | |
7284 | that don't want to use the mapped malloc package; pass arguments | |
7285 | on to traditional malloc package functions. | |
7286 | * utils.c (nomem): Add for fatal virtual memory exhausted aborts. | |
7287 | * utils.c (xmmalloc, xmrealloc, xmalloc, xrealloc): Like mmalloc, | |
7288 | mrealloc, malloc, and realloc but get fatal error if runs out | |
7289 | of memory. | |
7290 | * utils.c (msavestring, mstrsave): Save a string in a specific | |
7291 | mapped malloc region. | |
7292 | * utils.c (print_spaces): Use xmalloc to get the buffer. | |
7293 | * xm-amix.h, xm-i386v4.h, xm-sun3os4.h, xm-sun4os4.h: Add defines | |
7294 | for MMAP_BASE_ADDRESS and MMAP_INCREMENT. | |
7295 | * config/i386v4.mh: Insignificant reorganization. | |
7296 | ||
0750528a FF |
7297 | Sat Mar 14 11:44:47 1992 Fred Fish ([email protected]) |
7298 | ||
7299 | * xcoffread.c: Only enable compilation of debugging functions | |
7300 | if IBM6000 is defined. Fails to compile otherwise. | |
7301 | ||
4db3902a RP |
7302 | Fri Mar 13 15:51:11 1992 K. Richard Pixley ([email protected]) |
7303 | ||
7304 | * Makefile.in: pass MAKEINFO down on info. | |
7305 | ||
bec9fad9 JG |
7306 | Fri Mar 13 12:56:36 1992 John Gilmore (gnu at cygnus.com) |
7307 | ||
7308 | * mipsread.c (mipscoff_symfile_read): Eliminate a lot of | |
7309 | useless code, including an lseek to an uninitialized variable. | |
7310 | Reported by Jim Williams <[email protected]>. | |
7311 | ||
6730b139 PB |
7312 | Thu Mar 12 11:56:46 1992 Per Bothner ([email protected]) |
7313 | ||
4db3902a RP |
7314 | Merged in patches from [email protected] (Metin G. |
7315 | Ozisik) (dated Fri, 6 Mar 92 17:51) for the rs6000. | |
7316 | * minsyms.c, symfile.c: Changes that may be generally | |
7317 | applicable, but are #ifdef IBM6000 for now. | |
7318 | * rs6000-xdep.c: Fixed typo in comment. | |
7319 | * rs6000-tdep.c: Non-substatial changes. | |
7320 | * xoffread.c: The main change here is addition of some | |
7321 | debugging functions. | |
7322 | * xoffexec.c: More changes. | |
7323 | ||
7324 | * xcoffread.c: Fixed two too-few-parameters bugs. | |
7325 | ||
6730b139 PB |
7326 | * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter |
7327 | to SOLIB_CREATE_INFERIOR_HOOK macro. | |
7328 | ||
a846ac55 FF |
7329 | Sun Mar 8 21:17:48 1992 Fred Fish ([email protected]) |
7330 | ||
7331 | * symfile.h: Add prototype for iterate_over_msymbols(). | |
7332 | * symtab.c (cplus_mangled_symbol): Add function. | |
7333 | * symtab.c (lookup_symbol): Call cplus_mangled_symbol via | |
7334 | iterate_over_msymbols to find demangled C++ symbol. | |
7335 | * xcoffexec.c (relocate_minimal_symbol): Return meaningful | |
7336 | value to iterate_over_msymbols(). | |
7337 | * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_ | |
7338 | msymbols(). | |
7339 | ||
7340 | Fri Mar 6 21:59:34 1992 K. Richard Pixley ([email protected]) | |
7341 | ||
7342 | * Makefile.in: added check target. | |
7343 | ||
a1106a1e JG |
7344 | Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com) |
7345 | ||
7346 | * ecoff.c: Move to ../bfd/coff-msym.c. | |
7347 | * config/mt-*mips: Remove ecoff.o from the configuration. | |
53ccaf5f JG |
7348 | * remote.c (): Add newline to initial +. |
7349 | (remote_resume): Mention how to cope with signals. | |
7350 | (remote_interrupt): Add debug msg. | |
7351 | (remote-wait): Implement new 'T' reply, which includes | |
7352 | status, PC, and FP all in a single short message. | |
7353 | (putpkt): Add further debugging of packet acks. | |
7354 | * mipsread.c (fixup_symtab): Also swap RFD's. | |
7355 | (parse_partial_symbols): Avoid bug on unknown symbol types. | |
b67cb9d5 | 7356 | * Makefile.in (VERSION): Roll to 4.4.5. |
a846ac55 FF |
7357 | * mips-tdep.c (heuristic_proc_start): Avoid long delays |
7358 | for remote MIPS by limiting heuristic to 200 byte search. | |
7359 | (heuristic_proc_desc): Byte-swapping. | |
7360 | (mips_print_register): Cope with failure of | |
7361 | read_relative_register_raw_bytes. Byte-swap integers for | |
7362 | printing. | |
7363 | * mips-pinsn.c (print_insn): Byte-swap instruction. | |
a1106a1e | 7364 | |
1170a046 SG |
7365 | Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com) |
7366 | ||
89f1a7df SG |
7367 | * config.sub configure.in config/mh-irix4 |
7368 | gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c | |
1170a046 | 7369 | gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h |
89f1a7df | 7370 | gdb/xm-irix4.h gdb/config/mt-irix3 |
1170a046 SG |
7371 | gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x. |
7372 | ||
d7eddc51 FF |
7373 | Wed Mar 4 11:56:42 1992 Fred Fish ([email protected]) |
7374 | ||
7375 | * defs.h, utils.c: xrealloc takes PTR as first arg. | |
7376 | * defs.h: Reword confusing comment about ANSI prototypes. | |
7377 | * defs.h: Some minor whitespace changes. | |
7378 | * infrun.c (wait_for_inferior): Compare int tmp to int 0, | |
7379 | not NULL, which can be (void *). | |
7380 | * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling. | |
7381 | * tm-i386v.h (SP_ARG0): Define | |
7382 | * xm-sysv4.h: Back out of change for missing prototypes. | |
7383 | * i386-tdep.c (get_longjmp_target): Add function. | |
7384 | ||
a846ac55 FF |
7385 | Wed Mar 4 05:46:11 1992 K. Richard Pixley ([email protected]) |
7386 | ||
7387 | * Makefile.in: install man page too. | |
7388 | ||
d747e0af MT |
7389 | Tue Mar 3 15:11:52 1992 Michael Tiemann ([email protected]) |
7390 | ||
7391 | * All GDB files that #include defs.h: Removed stdio.h. | |
7392 | (defs.h): #include stdio.h. | |
7393 | ||
96743d3c SC |
7394 | Mon Mar 2 23:00:12 1992 Steve Chamberlain ([email protected]) |
7395 | ||
7396 | * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of | |
7397 | a ptype to reflect the setting of TARGET_PTR_BIT. Set the | |
7398 | TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED. | |
7399 | * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint | |
7400 | * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use | |
7401 | it before printing out the hex shape of an address. | |
7402 | ||
6c6afbb9 PB |
7403 | Sun Mar 1 17:41:09 1992 Per Bothner ([email protected]) |
7404 | ||
bff1c97a FF |
7405 | * rs6000-xdep.c (frame_initial_stack_address): Move |
7406 | code to set frame->cache_fsr into new separate function | |
7407 | frame_get_cacahe_fsr. This allows fixing a fatal error. | |
7408 | * xcoffexec.c: Turn previously suppressed error | |
7409 | message back on, after cleaning up BFD. | |
7410 | ||
6c6afbb9 PB |
7411 | * breakpoint.c (breakpoint_re_set): Removed (at least for now) |
7412 | printing of blank line, since it cases printing of an | |
7413 | extra blank line. Is this intended? It does mess up | |
7414 | gdb test suite. | |
7415 | * defs.h: Put back declarations of malloc and realloc, | |
7416 | but protected by #ifndef MALLOC_INCOMPATIBLE. | |
7417 | * objfiles.c: Undo previous change: Use malloc/realloc | |
7418 | for objfile malloc/realloc fields (but add a cast). | |
7419 | * xcoffexec.c: Suppress an error message (for now). | |
7420 | ||
7421 | Sat Feb 29 14:43:02 1992 Per Bothner ([email protected]) | |
7422 | ||
7423 | Changes from [email protected] (Metin G. Ozisik) | |
7424 | [Mail dated Fri, 21 Feb 92 13:14:54 -0800] | |
7425 | * buildsym.c: Use smash_to_pointer_type() to handle forward type | |
7426 | references. | |
7427 | * xcoffread.c: Modifications to C_DECL storage class handling, and | |
7428 | introduction of an old smash_to_pointer_type() routine. | |
7429 | ||
7430 | Changes from [email protected] (Metin G. Ozisik) | |
7431 | [Mail dated Thu, 20 Feb 92 13:57:16 -0800] | |
7432 | * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info() | |
7433 | parameters have been modified. | |
7434 | ||
7435 | Changes from [email protected] (Metin G. Ozisik) | |
7436 | [Mail dated Thu, 20 Feb 92 10:10:05 -0800] | |
7437 | * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used, | |
7438 | and fetch_inferior_registers() always fetched all the registers | |
7439 | resulting valid register values at hand all the time. Pushing a dummy | |
7440 | frame did not require validating all register values first. After | |
7441 | putting the above mechanism into action, we didn't have valid registers | |
7442 | values always ready. Thus, all registers need to be fetched before | |
7443 | pushing a dummy frame now. | |
7444 | ||
7445 | Changes from [email protected] (Metin G. Ozisik) | |
7446 | [Mail dated Thu, 13 Feb 92 16:22:44 -0800] | |
7447 | * rs6000-xdep.c: frame_initial_stack_address() function to calculate | |
7448 | the starting address (actual frame address) of a frame. | |
7449 | * rs6000-tdep.c: modifications to function_frame_info() to see if | |
7450 | function reserves a frame pointer register (alloca register) | |
7451 | * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and | |
7452 | FRAME_LOCALS_ADDRESS has been updated to support debugging of | |
7453 | functions with alloca() calls. | |
7454 | ||
4b8333de FF |
7455 | Sun Mar 1 13:13:39 1992 Fred Fish ([email protected]) |
7456 | ||
7457 | * xm-sysv4.h: Provide definitions/prototypes for host environment | |
7458 | functions for which no definitions or prototypes are provided in | |
7459 | any currently included gdb or host environment header files. | |
7460 | For SVR4, this currently includes malloc and realloc, which cannot | |
7461 | be portably prototyped in any gdb include file. | |
7462 | ||
7463 | Sat Feb 29 14:43:02 1992 Per Bothner ([email protected]) | |
7464 | ||
7465 | * buildsym.h: Remove obsolete variable file_stabs. | |
7466 | ||
7467 | * Makefile.in: Move place where configure merges in host- | |
7468 | and target-dependent fragments later, so the latter | |
7469 | can override (say) GNU_MALLOC. | |
7470 | * config/mh-rs6000: Use system malloc. Otherwise, I | |
7471 | ended up with *two* incompatible versions of malloc | |
7472 | (functions in libc would call the malloc in libc). | |
7473 | I assume this is a shared library problem. | |
7474 | ||
7475 | * remote.c: Fix (presumed) typo. | |
7476 | * objfiles.c: Use xmalloc/xrealloc instead of | |
7477 | malloc/realloc (since the latter are no longer declared). | |
7478 | ||
7479 | Changes from [email protected] (Metin G. Ozisik) | |
7480 | [Mail dated Thu, 6 Feb 1992 10:22:02 -0800] | |
7481 | * rs6000-xdep.c: Improvements to fetch_inferior_registers() to | |
7482 | handle individual registers. | |
7483 | * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value | |
7484 | correctly in case it wasn't cached yet. (A problem showed up | |
7485 | after fetching individual registers.) | |
7486 | * buildsym.c: Disable type_synonym_name's type name overwriting | |
7487 | in cases it is unnecesary. rs6000 portation doesn't use | |
7488 | type_synonym_name, and it used to nullify type names | |
7489 | * xcoffread.c: to handle g++'s typename abbreviation, fill in a | |
7490 | type's name as soon as space for that type is allocated. | |
7491 | * xcoffread.c: ignore a section's lineno information if it is | |
7492 | not `.text'. (In rs6000 bfd portation integration, skipping over | |
7493 | `.pad' sections are ignored since it was in machine independent | |
7494 | part of the code. Thus, a problem of fake sections with invalid | |
7495 | lineno information arised.) | |
7496 | ||
7497 | Changes from [email protected] (Metin G. Ozisik) | |
7498 | [Mail dated Thu, 6 Feb 1992 13:26:22 -0800] | |
7499 | * rs6000-tdep.c: make function_frame_info() work whether or not | |
7500 | reading from a core file. | |
7501 | * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro. | |
7502 | ||
7503 | * infrun.c. main.c, printcmd.c. symtab.c: | |
7504 | More changes from IBM for rs6000. | |
7505 | ||
7506 | ||
818de002 PB |
7507 | Thu Feb 27 22:57:19 1992 Per Bothner ([email protected]) |
7508 | ||
7509 | * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c, | |
7510 | rs6000-xdep.c, xcoffexec.c, xcoffread.c: | |
7511 | Merge in changes (mostly from IBM) for RS6000. | |
7512 | * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c: | |
7513 | More changes from IBM for RS6000. These are in machine- | |
7514 | independent code, and probably could do with some cleaning | |
7515 | up. The most questionable of these are #ifdef IBM6000. | |
7516 | * infrun.c, sparc-tdep.c: Pass a parameter (signal number) | |
7517 | to single_step() (for consistency with rs6000 and i860). | |
7518 | * utils.c: Allow the 1st arg to xrealloc to be NULL | |
7519 | (in which case do malloc). This removes the need for | |
7520 | some tests in xcoff code (and perhaps other places?). | |
7521 | * coffread.c: Removed variables last_source_file, | |
7522 | type_vector, and type_vector_length as these are now | |
7523 | defined by buildsym.[ch]. | |
7524 | * defs.h: Remove prototypes for malloc and realloc, since | |
7525 | these should only be used to implement xmalloc and xrealloc, | |
7526 | and they conflict with <stdlib.h> in AIX - where they | |
7527 | return void* even when __STDC__ isn't defined. Sigh. | |
7528 | * munch: Recognize *initialize* in data as well as text | |
7529 | (AIX uses data). Also, incorporate a patch from Garrett | |
7530 | Wollman <[email protected]> to make the sed script | |
7531 | much more sensible, by only trying to match the name of | |
7532 | the initialize_foo function, and not the junk before it. | |
7533 | ||
8537ba60 SG |
7534 | Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com) |
7535 | ||
7536 | * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint | |
7537 | unless symbol table indicates that something has changed. | |
7538 | ||
069bc454 JG |
7539 | Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com) |
7540 | ||
b543979c JG |
7541 | * remote.c: Make it work for embedded MIPS. Increase buffer |
7542 | size, and use throughout. Round buffer size up if too many regs. | |
7543 | Support baud rate setting and try for an 8-bit path. If | |
7544 | interrupted while waiting for target, send a ^C down the wire. | |
7545 | Avoid single-byte reads. | |
7546 | * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES | |
7547 | and NUM_REGS. | |
7548 | * mips-xdep.h: Avoid the embedded regs when on Unix. | |
7549 | ||
d141f3e3 JG |
7550 | * mipsread.c: Byte-swap the symbol table structures, using |
7551 | routines from ecoff.c, to read a symbol table written in any | |
7552 | of the four possible byte orders. | |
069bc454 JG |
7553 | * configure.in (mips-big-* target): Same as Sony News. |
7554 | * config/mt-bigmips, config/mt-littlemips: Add ecoff.o. | |
7555 | * ecoff.c: New file for symbol swapping routines. | |
7556 | ||
80ba48f5 SG |
7557 | Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com) |
7558 | ||
7559 | * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info | |
7560 | all-breakpoints' command. | |
7561 | * (get_number): Allow users to enter negative breakpoint numbers. | |
7562 | * (breakpoint_1): Reformat display of 'info break' to show new | |
7563 | fields. | |
7564 | * (create_longjmp_breakpoint, breakpoint_re_set, | |
7565 | breakpoint_re_set_one, enable/disable_longjmp_breakpoint), | |
7566 | symfile.c (syms_from_objfile): Re-do | |
7567 | insertion of longjmp breakpoints. Move all code into | |
7568 | breakpoint_re_set, and call that instead of | |
7569 | create_longjmp_breakpoint in symfile.c. | |
7570 | ||
cba0d141 JG |
7571 | Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com) |
7572 | ||
7573 | * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add. | |
7574 | * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE. | |
7575 | * symtab.c (find_pc_symtab): Handle having no objfiles. | |
7576 | * infcmd.c: Fix comment. | |
7577 | * objfiles.c (free_all_objfiles): Add. | |
7578 | * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add. | |
7579 | * symfile.c (symbol_file_command): free all objfiles when | |
7580 | specifying a new symbol file. | |
7581 | (reread_symbols): Stat the file name, don't fstat the descriptor. | |
7582 | ||
a846ac55 FF |
7583 | Wed Feb 26 18:04:40 1992 K. Richard Pixley ([email protected]) |
7584 | ||
7585 | * Makefile.in, configure.in: removed traces of namesubdir, | |
7586 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
7587 | copyrights to '92, changed some from Cygnus to FSF. | |
7588 | ||
cba0d141 JG |
7589 | Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com) |
7590 | ||
7591 | * dbxread.c (end_psymtab): Delete empty psymtabs. | |
7592 | * symfile.c (allocate_psymtab): Recycle empty psymtabs. | |
7593 | * symfile.h (struct objfile): Add free_psymtabs. | |
7594 | ||
35318110 JG |
7595 | Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com) |
7596 | ||
47890ed7 JG |
7597 | * Makefile.in (VERSION): Roll to gdb-4.4.4. |
7598 | ||
35318110 JG |
7599 | * symfile.c (symbol_file_command): strcmp => !strcmp. |
7600 | * breakpoint.h: Move prototypes to follow enum definition they need. | |
7601 | * breakpoint.c, infrun.c: Lint. | |
7602 | * printcmd.c: Use `enum enable' rather than `enum | |
7603 | display_status'. | |
7604 | * mipsread.c: First pass at making it compile with the new | |
7605 | objfile changes. Probably seriously broken still, but it | |
7606 | compiles. FIXME. | |
7607 | ||
30875e1c SG |
7608 | Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com) |
7609 | ||
7610 | * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c, | |
7611 | breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h, | |
7612 | mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for | |
7613 | stepping (and nexting) through longjmp(). Also, cleanup | |
7614 | breakpoint handling quite a bit by creating explicit breakpoint | |
7615 | types instead of using magic breakpoint numbers. | |
7616 | Makefile.in: Update version to 4.4.3 | |
7617 | ||
021959e2 JG |
7618 | Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com) |
7619 | ||
93fe4e33 JG |
7620 | * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c, |
7621 | minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint. | |
7622 | * symmisc.c, xcoffread.c: Move debug functions to symmisc.c. | |
7623 | ||
021959e2 JG |
7624 | * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP. |
7625 | ||
7626 | * minsyms.c (install_minimal_symbols): Add bunches to any | |
7627 | existing minsyms in the objfile. Avoid extra mallocation | |
7628 | by working directly in the obstack. Remove ignored `mainline' parm. | |
7629 | * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h, | |
7630 | xcoffread.c: Change all callers. | |
7631 | * FIXME: We should be able to eliminate MAINLINE from all the | |
7632 | symbol readers now, with a small bit of work. | |
7633 | ||
7634 | * valops.c, value.h: Lint. | |
7635 | * remote-vx.c: Add missing break; statement. Bugfix by | |
7636 | Michael Sclafani, <[email protected]>. | |
7637 | ||
bff1c97a FF |
7638 | Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com) |
7639 | ||
7640 | * Makefile.in (VERSION): Update version to 4.4.2 | |
7641 | * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c, | |
7642 | minsyms.c, mmap-alloc.c, mmap-sbrk.c | |
7643 | * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h | |
7644 | * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o, | |
7645 | mmap-alloc.o, mmap-sbrk.o | |
7646 | ||
7647 | * altos-xdep.c: Minor whitespace change. | |
7648 | * am29k-tdep.c (examine_prologue): Convert from misc function vector | |
7649 | use to new minimal symbol table use. | |
7650 | * arm-xdep.c (fetch_inferior_registers): Document unused argument. | |
7651 | * arm-xdep.c (store_inferior_registers): Returns void. | |
7652 | * blockframe.c (get_pc_function_start, find_pc_partial_function): | |
7653 | Convert from misc function vector use to new minimal symbol table use. | |
7654 | Remove find_pc_misc_function(). Ifdef out block_innermost_frame(). | |
7655 | * breakpoint.c: Add prototypes for local functions. | |
7656 | * breakpoint.c (catch_command_1): Change to static and remove unused | |
7657 | local "pc". | |
7658 | * breakpoint.c (map_breakpoint_numbers): Prototype arg "function". | |
7659 | * breakpoint.h: Change function decls to prototype form. | |
7660 | * buildsym.c: Add prototypes for local functions. | |
7661 | * buildsym.c: Moved hashname() function here from dbxread.c. | |
7662 | * buildsym.c (dbx_lookup_type): Cast args to xrealloc(). | |
7663 | * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type(). | |
7664 | * buildsym.c (dbx_alloc_type): Change to static. | |
7665 | * buildsym.c (finish_block): Add objfile parameter. | |
7666 | * buildsym.c (misc): Change symbol_obstack to objfile version. | |
7667 | * buildsym.c (make_blockvector): Change to static. | |
7668 | * buildsym.c (start_subfile): Use strdup instead of obsavestring. | |
7669 | * buildsym.c (compare_line_numbers): Change to static, args are const, | |
7670 | cast args when used. | |
7671 | * buildsym.c (start_symtab): Inline new_object_header_files() call. | |
7672 | * buildsym.c (patch_block_stabs): Moved to this file from xcoffread | |
7673 | and made static. Add objfile parameter. | |
7674 | * buildsym.c (end_symtab): Simplify code using line table size. | |
7675 | Realloc the linetable on the objfile symbol_obstack and copy there. | |
7676 | * buildsym.c (scan_file_globals): Convert from misc function vector | |
7677 | use to new minimal symbol use. | |
7678 | * buildsym.c (define_symbol): Add objfile parameter. Make sure | |
7679 | strings get allocated in objfile's symbol_obstack. Convert references | |
7680 | to builtin types to lookup_fundamental_type(). | |
7681 | * buildsym.c (read_type): Make static, add objfile parameter, convert | |
7682 | references to buildin types to lookup_fundamental_type(). | |
7683 | * buildsym.c (read_struct_type): Add objfile parameter. | |
7684 | * buildsym.c (read_array_type): Make static, add objfile parameter. | |
7685 | * buildsym.c (read_enum_type): Make static, add objfile parameter. | |
7686 | * buildsym.c (read_huge_number): Make static. | |
7687 | * buildsym.c (read_range_type): Make static, add objfile parameter, | |
7688 | convert references to buildin types to lookup_fundamental_type (). | |
7689 | * buildsym.c (read_args): Make static, add objfile parameter. | |
7690 | * buildsym.h: Convert function decl's to prototype form. | |
7691 | * c-exp.y: Add prototypes for local functions, convert uses of misc | |
7692 | function vector to minimal symbol table. Reformat all builtin type | |
7693 | initializations and pass a NULL objfile to init_type() for them. | |
7694 | * coffread.c: Change context_stack ref's to coff_context_stack, | |
7695 | add local function prototypes. Cast uses of xrealloc arg 1. | |
7696 | * coffread.c (coff_alloc_type): Call alloc_type instead of hand- | |
7697 | crafting a new type. | |
7698 | * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list. | |
7699 | * coffread.c (finish_block): Change name to coff_finish_block. | |
7700 | * coffread.c (make_blockvector): Add and use objfile parameter. | |
7701 | * coffread.c (record_line): Change name to coff_record_line. | |
7702 | * coffread.c (start_symtab): Change name to coff_start_symtab. | |
7703 | * coffread.c (end_symtab): Change name to coff_end_symtab. | |
7704 | * coffread.c (record_misc_function): Change name to record_minimal_ | |
7705 | symbol and change to minimal symbol table use from misc func tbl. | |
7706 | * coffread.c (coff_symfile_read): Convert from misc function vector | |
7707 | use to minimal symbol table use. | |
7708 | * coffread.c (hashname): Remove; use common version in buildsym.c. | |
7709 | * coffread.c (decode_base_type): Change references to builtin types | |
7710 | to calls to lookup_fundamental_type(). | |
7711 | * coffread.c (read_struct_type): Change name to coff_read_struct_type. | |
7712 | * coffread.c (read_enum_type): Change name to coff_read_enum_type. | |
7713 | * command.c: Add prototypes for local functions. | |
7714 | * command.c (add_cmd): Prototype the 'fun' parameter and use the | |
7715 | appropriate member of the function union for that type. | |
7716 | * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and | |
7717 | ifdef out the function since it isn't currently used. | |
7718 | * command.c (add_alias_cmd): Pass correct function type to add_cmd. | |
7719 | * command.c (add_prefix_cmd): Prototype the 'fun' parameter. | |
7720 | * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter. | |
7721 | * command.c (help_cmd): Compare function pointer to NULL. | |
7722 | * command.c (help_cmd_list): Compare function pointer to NULL. | |
7723 | * command.c (lookup_cmd_1): Use correct member of function union. | |
7724 | * command.c (undef_cmd_error): Make static. | |
7725 | * command.c (complete_on_cmdlist): Use correct member of func union. | |
7726 | * command.c (do_setshow_command): Use correct member of func union. | |
7727 | * command.c (shell_escape): Convert rindex use to strrchr. | |
7728 | * command.h (COMMAND_H): Define if already included. | |
7729 | * command.h (cmd_list_element struct): Change 'function' to a union | |
7730 | and prototype args. Prototype completer function. | |
7731 | * command.h: Convert decl's to prototype form. | |
7732 | * convex-xdep.c (store_inferior_registers): Returns void. | |
7733 | * copying.c: Prototype local functions. | |
7734 | * coredep.c: Minor whitespace change. | |
7735 | * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*. | |
7736 | * cplus-dem.c: Prototype local functions. | |
7737 | * dbxread.c (hashname): Remove; moved to buildsym.c. | |
7738 | * dbxread.c (free_and_init_header_files): Make static. | |
7739 | * dbxread.c: Add prototypes for local functions. | |
7740 | * dbxread.c (new_object_header_files): Remove; inlined usages. | |
7741 | * dbxread.c (xrealloc usages): Cast args. | |
7742 | * dbxread.c (record_misc_function): Change to record_minimal_symbol | |
7743 | and change usages accordingly. | |
7744 | * dbxread.c (static_psymbols usages): Change to use per-objfile copy. | |
7745 | * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate. | |
7746 | * dbxread.c (dbx_next_symbol_text): Make static. | |
7747 | * dbxread.c (init_psymbol_list): Convert to use per-objfile data. | |
7748 | * dbxread.c (init_bincl_list): Add and use objfile parameter. | |
7749 | * dbxread.c (free_bincl_list): Add and use objfile parameter. | |
7750 | * dbxread.c (compare_psymbols): Remove; use common symfile.c version. | |
7751 | * dbxread.c (end_psymtab): Convert to use per-objfile data. | |
7752 | * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for | |
7753 | prototypes. | |
7754 | * dwarfread.c (record_misc_function): Change name to record_minimal_ | |
7755 | symbol and use minimal symbol table throughout. | |
7756 | * dwarfread.c (compare_psymbols): Remove; use common symtab.c version. | |
7757 | * dwarfread.c: Convert all references to builtin types to use the new | |
7758 | lookup_fundamental_type function. | |
7759 | * dwarfread.c (read_enumeration): Add and use objfile parameter. | |
7760 | * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto- | |
7761 | types. | |
7762 | * elfread.c (record_misc_function): Convert to use record_minimal_ | |
7763 | symbol. | |
7764 | * elfread.c (elf_symtab_read): Add objfile parameter. | |
7765 | * eval.c: Add prototypes for local functions and move some decls | |
7766 | around to accomodate prototypes. | |
7767 | * expprint.c: Add prototypes for local functions. Change references | |
7768 | to misc function vector to minimal symbol table. | |
7769 | * findvar.c (read_memory usages): Cast args. | |
7770 | * gdbtypes.h: New file, type info from symfile.h and symtab.h. | |
7771 | * gmalloc.c: Use NOARGS where prototypes used hardwired void. | |
7772 | * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned. | |
7773 | * gmalloc.h: Use NOARGS where prototypes used hardwired void. | |
7774 | * gould-xdep.c: Minor whitespace change. | |
7775 | * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var. | |
7776 | * hp300ux-xdep.c (store_inferior_registers): Returns void. | |
7777 | * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr. | |
7778 | * i386-stub.c: Add prototypes, change "volatile" to NORETURN. | |
7779 | * i386-tdep.c: Add prototypes for local functions. | |
7780 | * i386-tdep.c (codestream_fill, codestream_seek, codestream_read, | |
7781 | i386_get_frame_setup, i386_skip_prologue): Explicitly declare params | |
7782 | that defaulted to int. | |
7783 | * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs, | |
7784 | i386_push_dummy_frame): Returns void. | |
7785 | * i386-xdep.c (i386_register_u_addr): Declare params that default to | |
7786 | int and explicitly declare return type as int. | |
7787 | * i387-tdep.c: Minor formatting changes. | |
7788 | * i960-tdep.c (leafproc_return): Convert from misc function vector | |
7789 | use to minimal symbol table use. | |
7790 | * infcmd.c: Add prototypes for local functions. | |
7791 | * infcmd.c (continue_command, until_next_command, until_command, | |
7792 | path_info, path_command): Make static. | |
7793 | * infcmd.c (step_1, until_next_command): Convert from misc func | |
7794 | vector to minimal symbol table use. | |
7795 | * inflow.c: Add prototypes for local functions. | |
7796 | * infptrace.c (store_inferior_registers): Returns void, not int. | |
7797 | * language.c (_initialize_language): Use proper member of function | |
7798 | union. | |
7799 | * m2-exp.y: Add prototypes for local functions, convert misc function | |
7800 | vector uses to minimal symbol table uses. | |
7801 | * m2-exp.y (make_qualname, yyerror): Make static. | |
7802 | * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile. | |
7803 | * m68k-pinsn.c: Add prototypes for local functions. | |
7804 | * m68k-pinsn.c (print_insn): Cast args to read_memory. | |
7805 | * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int. | |
7806 | * m68k-stub.c: Add prototypes. | |
7807 | * m88k-pinsn.c (sprint_address): Convert from misc function vector | |
7808 | use to minimal symbol table use. | |
7809 | * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter. | |
7810 | * m88k-xdep.c (store_inferior_registers): Returns void. | |
7811 | * mach386-xdep.c (fetch_inferior_registers): Takes an unused param. | |
7812 | * mach386-xdep.c (store_inferior_registers): Returns void. | |
7813 | * mach386-xdep.c (fetch_core_registers): Takes an unused parameter. | |
7814 | * main.c: Add prototypes for local functions. | |
7815 | * main.c (return_to_top_level): Is type NORETURN (volatile). Cast | |
7816 | longjmp() result to (NORETURN void). | |
7817 | * main.c (catch_errors): Prototype the 'func' parameter. | |
7818 | * main.c (disconnect, stop_sig, do_nothin, float_handler): | |
7819 | Takes an unused arg. | |
7820 | * main.c (execute_command): Call the right member of the func union. | |
7821 | * main.c (command_loop_marker, symbol_completion_function, | |
7822 | command_loop): Make static. | |
7823 | * main.c (command_line_input): Make linelength unsigned, cast arg | |
7824 | to command_line_input(). | |
7825 | * main.c (add_info, add_com): Prototype the 'fun' parameter. | |
7826 | * main.c (initialize_main): Call right member of function union. | |
7827 | * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS. | |
7828 | * mem-break.c: Include symtab.h | |
7829 | * mips-xdep.c (fetch_inferior_registers): Takes unused param. | |
7830 | * mips-xdep.c (store_inferior_registers): Returns void. | |
7831 | * mipsread.c (mipscoff_symfile_read): Change from misc function vector | |
7832 | use to minimal symbol table use. | |
7833 | * mipsread.c (symbol_obstack usages): Convert all to use per-objfile | |
7834 | version. | |
7835 | * mipsread.c (make_type): Remove, convert usages to init_type. | |
7836 | * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile. | |
7837 | * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function | |
7838 | vector use to minimal symbol table use. | |
7839 | * parse.c: Add prototypes for local functions. | |
7840 | * parse.c (xrealloc usages): Cast args. | |
7841 | * parse.c (prefixify_expression, length_of_subexp): Make static. | |
7842 | * parser-defs.h (PARSER_DEFS_H): Define when first included. | |
7843 | * parser-defs.h: Convert function decls to prototype form. | |
7844 | * partial-stab.h: Convert from misc function vector use to new minimal | |
7845 | symbol table use. | |
7846 | * partial-stab.h (global_psymbols, static_psymbols usages): Reference | |
7847 | the per-objfile copies. | |
7848 | * printcmd.c: Add prototypes for local functions. Move some struct | |
7849 | definitions around to accomodate prototypes. | |
7850 | * printcmd.c (decode_format): Make static, change args oformat and | |
7851 | osize to int from char. | |
7852 | * printcmd.c (print_formatted): Change 'format' and 'size' to int. | |
7853 | * printcmd.c (print_scalar_formatted): Change arg 'format' to int. | |
7854 | * printcmd.c (print_address_symbolic): Convert from misc function | |
7855 | vector use to minimal symbol table use. | |
7856 | * printcmd.c (address_info): Convert from misc function vector use | |
7857 | to minimal symbol table use. | |
7858 | * printcmd.c (delete_display, enable_display, disable_display_command): | |
7859 | Make static. | |
b52373a2 | 7860 | * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAMS. |
bff1c97a FF |
7861 | * procfs.c (fetch_core_registers): Add unused param reg_addr. |
7862 | * pyr-xdep.c (fetch_inferior_registers): Add unused param regno. | |
7863 | * pyr-xdep.c (store_inferior_registers): Returns void. | |
7864 | * remote-mm.c (mm_load): symbol_file_add return value unused. | |
7865 | * remote-nindy.c: Minor format change. | |
7866 | * remote-vx.c (vx_load_command): symbol_file_add result unused. | |
7867 | * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno. | |
7868 | * rs6000-xdep.c (store_inferior_registers): Returns void. | |
7869 | * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr | |
7870 | * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function | |
7871 | vector use to minimal symbol table use. | |
7872 | * solib.c: Add prototypes for local functions. | |
7873 | * solib.c (solib_add_common_symbols, locate_base): Convert from misc | |
7874 | function vector use to minimal symbol table use. | |
b52373a2 | 7875 | * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAMS. |
bff1c97a FF |
7876 | * solib.c (find_solib, shared_library_command): Make static |
7877 | * solib.c (read_memory, write_memory usages): Cast args. | |
7878 | * solib.c (special_symbol_handling): Add function | |
7879 | * source.c: Add prototypes for local functions. | |
7880 | * source.c (select_source_symtab): Convert to scan objfiles. | |
7881 | * source.c (open_source_file): Make static. | |
7882 | * source.c (xrealloc usages): Cast args. | |
7883 | * source.c (source_line_charpos): ifdef out, unused. | |
7884 | * source.c (get_filename_and_charpos): Make static. | |
7885 | * stack.c: Add prototypes for local functions. | |
7886 | * stack.c (print_frame_info, frame_info): Convert from misc function | |
7887 | vector use to minimal symbol table use. | |
7888 | * symfile.c: Add prototypes for local functions. | |
7889 | * symfile.c (compare_symbols): Make args const PTR's. | |
7890 | * symfile.c (compare_psymbols, sort_pst_symbols) add. | |
7891 | * symfile.c (sort_all_symtab_syms): Scan objfile list. | |
7892 | * symfile.c (obsavestring): Add objfile parameter. | |
7893 | * symfile.c (init_misc_bunches, prim_record_misc_function, | |
7894 | compare_misc_functions, discard_misc_bunches, condense_misc_bunches, | |
7895 | sort_misc_function_vector, compact_misc_function_vector): Remove | |
7896 | * symfile.c (symbol_file_add_digested): Add function. | |
7897 | * symfile.c (symbol_file_add): Returns struct objfile *. | |
7898 | * symfile.c (symbol_file_command): Modify for state file use. | |
7899 | * symfile.c (symfile_open): Add parameter "dumpable". | |
7900 | * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c | |
7901 | * symfile.c (load_command, add_symbol_file_command): Make static. | |
7902 | * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c | |
7903 | * symfile.c (rindex usages): Converted to strrchr. | |
7904 | * symfile.c (allocate_psymtab): New | |
7905 | * symfile.c (free_named_symtabs): Ifdef out code that needs to be | |
7906 | converted to minimal symbol table usage, but no obvious conversion. | |
7907 | * symfile.c (free_all_symtabs): Remove. | |
7908 | * symfile.c (_initialize_symfile): Use per-objfile info. | |
7909 | * symfile.h: Rework the objfile structure to add per-objfile data | |
7910 | objects (psymbol_obstack, symbol_obstack, type_obstack, | |
7911 | global_psymbols, static_psymbols, msymbols, minimal_symbol_count, | |
7912 | fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc). | |
7913 | Add prototypes to function declarations. | |
7914 | * symm-tdep.c (symmetry_extract_return_value): Convert from misc | |
7915 | function vector usage to minimal symbol table usage. | |
7916 | * symmisc.c (DEV_TTY): Define if not defined. | |
7917 | * symmisc.c: Add local function prototypes. | |
7918 | * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms, | |
7919 | printpsyms_command, print_objfiles, print_objfiles_command): | |
7920 | Rework to use iterate_over_* | |
7921 | * symtab.c: Add prototypes for local functions. | |
7922 | * symtab.c (lookup_symtab_1): Convert to look through objfiles. | |
7923 | * symtab.c (lookup_partial_symtab): Scan through objfiles. | |
7924 | * symtab.c (lookup_primitive_typename, lookup_typename, lookup_ | |
7925 | unsigned_typename, lookup_struct, lookup_union, lookup_enum, | |
7926 | lookup_template_type, lookup_struct_elt_type, lookup_pointer_type, | |
7927 | lookup_reference_type, lookup_member_type, allocate_stub_method, | |
7928 | check_stub_method, create_array_type, smash_to_member_type,): | |
7929 | Moved to gdbtypes.c | |
7930 | * symtab.c (lookup_symbol): Some args are const. | |
7931 | * symtab.h: All type related defs and structs moved to gdbtypes.h | |
7932 | * symtab.h: Convert decls to prototypes. | |
7933 | * target.c (noprocess): Make static. | |
7934 | * target.h: Change decl's to prototypes. | |
7935 | * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK, | |
7936 | DISABLE_UNSETTABLE_BREAK) Moved to solib.h. | |
7937 | * utils.c (_initialize_utils): Use correct member of function union. | |
7938 | * valarith.c: include gdbtypes.h | |
7939 | * valops.c: include gdbtypes.h, add prototypes for local functions. | |
7940 | * valops.c (value_push, value_arg_push, find_function_addr): | |
7941 | Make static. | |
7942 | * valops.c (value_string): Convert from misc function vector use | |
7943 | to minimal symbol table use. | |
7944 | * valops.c (check_field_in): Make arg const. | |
7945 | * valprint.c: Add prototypes for local functions. | |
7946 | * valprint.c (print_string): Make static | |
7947 | * valprint.c (value_print, val_print_fields, val_print): Make arg int. | |
7948 | * values.c: Add prototypes for local functions. | |
7949 | * values.c (value_headof): Convert from misc function vector to | |
7950 | minimal symbol table. | |
7951 | * xcoffexec.c: Add prototypes for local functions. | |
7952 | * xcoffexec.c (exec_close, file_command, add_to_section_table): | |
7953 | Make static. | |
7954 | * xcoffexec.c (relocate_minimal_symbol): Add. | |
7955 | * xcoffread.c (patch_block_stabs): Moved to buildsyms.c. | |
7956 | * xcoffread.c: Add prototypes for local functions. | |
7957 | * xcoffread.c (sort_syms): Convert to scan objfiles. | |
7958 | * xcoffread.c (read_xcoff_symtab): Make static. | |
7959 | * xcoffread.c (various): Replace references to builtin types with | |
7960 | calls to lookup_fundamental_type. Replace references to symbol_obstack | |
7961 | and psymbol_obstack with pointers to the per-objfile copies. | |
7962 | * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace, | |
7963 | dump_block, dump_blockvector, dump_last_symtab, dump_symtabs): | |
7964 | Make static. | |
7965 | * xcoffread.c (init_stringtab): Add objfile parameter. | |
7966 | * gdbtypes.c: New file | |
7967 | * minsyms.c: New file | |
7968 | * mmap-alloc.c: New file | |
7969 | * mmap-sbrk.c: New file | |
7970 | * objfiles.c: New file | |
7971 | * state.c: New file | |
7972 | * state.h: New file | |
7973 | ||
021959e2 JG |
7974 | Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com) |
7975 | ||
7976 | * Check in Fred Fish's changes in these modules. Fred | |
93fe4e33 JG |
7977 | will make ChangeLog entries for all of them. Update VERSION |
7978 | to 4.4.2. | |
021959e2 | 7979 | |
7919c3ed JG |
7980 | Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com) |
7981 | ||
7982 | * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions | |
7983 | into solib.h. | |
7984 | * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c, | |
7985 | sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c, | |
7986 | value.h: Prototypes for static functions; lint. | |
7987 | * gdbtypes.h: Empty file to ease transition. | |
7988 | ||
75af490b JG |
7989 | Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com) |
7990 | ||
7991 | * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h, | |
7992 | inferior.h, language.h, signame.h, target.h, terminal.h, | |
7993 | tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h, | |
7994 | xm-i386v.h, xm-sparc.h: Prototypes for all external functions. | |
7995 | Lint. | |
7996 | * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c, | |
7997 | signame.c, sparc-xdep.c: Prototypes for all static functions. | |
7998 | Lint. | |
7999 | * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c, | |
8000 | remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c, | |
8001 | target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c: | |
8002 | Remove to_call_function and target_call_function, since it | |
8003 | always calls the same thing (call_function_by_hand). | |
8004 | * core.c, exec.c, solib.c: Rename target_ops sections => | |
8005 | to_sections, etc. | |
8006 | * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c, | |
8007 | target.h: target_kill takes no args. | |
8008 | * language.c (language_info): Scaffolding to allow briefer | |
8009 | messages when the current language changes. FIXME. | |
8010 | * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid | |
8011 | complaints about volatile functions. | |
8012 | * xm-sysv4.h (HAVE_MMAP): Define. | |
8013 | ||
8014 | Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com) | |
088c3a0b JG |
8015 | |
8016 | * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS | |
8017 | to make prototypes for all functions declared here. | |
8018 | * cplus-dem.c: Avoid declaring xmalloc and xrealloc. | |
8019 | * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict. | |
8020 | * environ.c: Include <stdio.h> before defs.h. Minor cleanup. | |
8021 | * ieee-float.h: Use PARAMS for prototypes; make some params const. | |
8022 | * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*. | |
8023 | * m2-exp.y: Remove unused CONST; Rename OR and AND. | |
8024 | * utils.c: Avoid declaring malloc and realloc. Lint. | |
8025 | (request_quit): Accept signal-number parameter. | |
8026 | ||
af213624 FF |
8027 | Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com) |
8028 | ||
9e4c1921 FF |
8029 | * dwarfread.c (process_dies): Add case to handle TAG_pointer_type |
8030 | DIE's. Add new function read_tag_pointer_type() to read them. | |
8031 | ||
af213624 FF |
8032 | * dwarfread.c (dwarf_read_array_type, read_subroutine_type): |
8033 | When creating a new user defined type, check to see if a partial | |
8034 | type already exists, and if so, bash it to fit. | |
8035 | ||
be8303da JG |
8036 | Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com) |
8037 | ||
8038 | * coffread.c (decode_base_type): Pass long, not union. | |
8039 | Fix by Eric Valette, [email protected]. | |
8040 | ||
d35bf52d FF |
8041 | Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com) |
8042 | ||
8043 | * elfread.c (elf_symtab_read): Fix code to correctly track | |
8044 | changes in bfd for absolute symbols. | |
8045 | ||
5b620e75 SG |
8046 | Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com) |
8047 | ||
8048 | * xm-vaxbsd.h: Close off comment. | |
8049 | ||
0a663e9e FF |
8050 | Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com) |
8051 | ||
8052 | * xm-sysv4.h: Define NEED_POSIX_SETPGID. | |
8053 | ||
8054 | Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com) | |
8055 | ||
8056 | * mips-tdep.c (mips_print_registers): Print correct register | |
8057 | number for double pseudo-registers. | |
8058 | ||
ef9b1bc9 JG |
8059 | Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com) |
8060 | ||
256269fc JG |
8061 | * buildsym.c (read_struct_type): Avoid double-bump of parse ptr |
8062 | in the op$::OPERATOR. case. From Steven McCanne, | |
8063 | <[email protected]>. | |
8064 | ||
ef9b1bc9 JG |
8065 | * exec.c (set_section_name): Pass arg to exec_files_info; |
8066 | only call it if interactive. From Francis Kauth <[email protected]>. | |
8067 | ||
195853fc JG |
8068 | Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com) |
8069 | ||
8070 | * main.c (print_gdb_version): Copyright msg: only this year. | |
8071 | (cd_command): Avoid changing current_directory on error. | |
8072 | ||
ee17fd34 PB |
8073 | Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com) |
8074 | ||
8075 | * mipsread.c (parse_partial_symbols): Handle dependencies | |
8076 | between partial symbol tables (when not doing stabs-in-ecoff). | |
8077 | (This used to be handled by parse_fdr, but parse_fdr was | |
8078 | incompatible with handling stabs-in-ecoff, so the code | |
8079 | was re-written to not use parse_fdr. Unfortunately, | |
8080 | the logic to handle dependencies was overlooked.) | |
8081 | ||
1f46923f SC |
8082 | Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
8083 | ||
8084 | * coffread.c (read_enum_type): Use the size of a target int when | |
8085 | describing enum. | |
8086 | * defs.h: added new #define for TARGET_PTR_BIT, defaults to size | |
8087 | of target int. | |
8088 | * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count | |
8089 | * symtab.c (lookup_reference_type, lookup_ptr_type): use | |
8090 | TARGET_PTR_BIT to determine size of a pointer | |
8091 | * values.c (unpack_long): when unpacking a REF or a PTR don't | |
8092 | assume the size of the type. | |
8093 | ||
778c358d JG |
8094 | Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com) |
8095 | ||
8096 | * mipsread.c (parse_symbol): Avoid clobbering enum pointer when | |
8097 | looking at its members. Improve guess between struct and union, | |
8098 | only assuming union if multiple members have offsets of zero. | |
8099 | ||
bd49ef36 PB |
8100 | Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com) |
8101 | ||
8102 | * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6. | |
8103 | (This is just for clarity - and one day permitting us to | |
8104 | change FP0_REGNUM from 38 to 32, which would make more sense.) | |
8105 | * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that | |
8106 | register numbers in stabs-in-ecoff get handled correctly. | |
8107 | ||
8108 | Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com) | |
8109 | ||
8110 | * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult, | |
8111 | config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen | |
8112 | into BSD and Ultrix. | |
8113 | ||
96499e96 JG |
8114 | Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com) |
8115 | ||
8116 | * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc. | |
8117 | ||
98f03b91 SG |
8118 | Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com) |
8119 | ||
dafe57bc | 8120 | * Makefile.in: Increment version to 4.4.1. |
98f03b91 SG |
8121 | * main.c (print_gdb_version): Update copyright notice. |
8122 | ||
8123 | Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com) | |
8124 | ||
8125 | * mipsread.c: Prepend "struct " to the names of structure | |
8126 | types, and similarly for enums and unions. (This used | |
8127 | to be done, but got lost in the re-write to "guess" the | |
8128 | difference between enum/struct/union.) | |
8129 | Also, guess that a tag is an enum if the first member | |
8130 | has type btNil. | |
8131 | ||
3671f1fd SG |
8132 | Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com) |
8133 | ||
8134 | * xm-vax.h: #ifndef ultrix around #include of endian.h and | |
8135 | limits.h (sigh). | |
8136 | ||
0c6efbcc JG |
8137 | Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com) |
8138 | ||
ee7270cd JG |
8139 | * Projects: Patching executables is done. |
8140 | * Makefile.in (VERSION): Roll to gdb-4.4. | |
75c86b57 | 8141 | * README, WHATS.NEW: Update for gdb-4.4. |
ee7270cd | 8142 | |
4a1dcb7f JG |
8143 | * symfile.c (reread_symbols): Whenever we reread one object |
8144 | file's symbols, we must restart the scan, because the object_files | |
8145 | chain has been permuted. | |
8146 | ||
0c6efbcc JG |
8147 | * exec.c (exec_files_info): Split out into print_section_info. |
8148 | Print BFD filename of each section if it's not the default one. | |
8149 | * core.c (core_files_info): Call print_section_info. | |
8150 | ||
8151 | * xm-vax.h: Include a few system header files whose definitions | |
8152 | must precede defs.h. | |
8153 | * language.c, language.h: Make some things const. | |
8154 | * expression.h, main.c: const spreads like ooze. | |
8155 | ||
8156 | * mem-break.c (break_insn, break_insn_size): Use unsigned chars, | |
8157 | since BREAKPOINT values can be >0x80. | |
8158 | ||
d58ea996 SG |
8159 | Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com) |
8160 | ||
8161 | * infrun.c, xm-i386sco.h: SCO needs to use setpgid(). | |
8162 | ||
0c6efbcc JG |
8163 | Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com) |
8164 | ||
8165 | * sparc-pinsn.c: Remove kludge for preferring architectures. | |
8166 | Remove #ifdef's for SORT_NEEDED. We need to sort the table, now | |
8167 | and forever. Add `add' instruction to the set that get checked | |
8168 | for a preceding `sethi' in order to print an absolute address. | |
8169 | Corresponding changes in ../include/opcode/sparc.h needed | |
8170 | to eliminate garbage instructions. | |
8171 | ||
d4ea2aba PB |
8172 | Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com) |
8173 | ||
8174 | * mipsread.c (parse_partial_symbols): Make sure partial | |
8175 | symbols are created for external symbols (as used to be | |
8176 | the case). This is a bit of a pain with the mips-coff. | |
8177 | It uses a table which points to all of the external | |
8178 | symbols belonging to a particular FDR or psymtab. | |
8179 | Once we've generated this table, we might as well save | |
8180 | it, and then use it in psymtab_to_symtab_1 to find | |
8181 | the symbols to pass to parse_external(). | |
8182 | * symfile.c, symfile.c: New function start_psymtab_common | |
8183 | to share the common parts of allocating a new psymtab | |
8184 | for dbxread, mipsread (and later dwarfread). Its code | |
8185 | was pulled out from start_psymtab in dbxread.c. | |
8186 | * dbxread.c (start_psymtab): Use start_psymtab_common(). | |
8187 | ||
8188 | * valprint.c (val_print): If there is an error when trying | |
8189 | to print a string, check to see if there really is a problem | |
8190 | by reading just one character. If that works, assume | |
8191 | things are ok. | |
8192 | ||
05151637 SG |
8193 | Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com) |
8194 | ||
8195 | * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7, | |
8196 | cypress, v8 mnemonics in that order. | |
8197 | ||
4a074bea PB |
8198 | Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com) |
8199 | ||
8200 | * sparc-pinsn.c: Put the qsort() back in. | |
8201 | ||
c55e6167 | 8202 | Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com) |
1aa560b2 | 8203 | |
eae1a261 JG |
8204 | * findvar.c (read_register, write_register): Handle machines |
8205 | where REGISTER_TYPE is not the same size as "int". | |
8206 | ||
c55e6167 | 8207 | Handle debug symbols in dynamically loaded (relocated) code: |
3c03b5de | 8208 | |
c55e6167 JG |
8209 | * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass |
8210 | offset to process_one_symbol. | |
8211 | (process_one_symbol): Take new offset parameter. Add it into | |
8212 | appropriate symbol types to relocate symbols to loaded addresses. | |
8213 | Handle all possible symbol types, and complain() about types that | |
8214 | we don't expect to see. | |
8215 | * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to | |
8216 | process_one_symbol (FIXME, should pass real offset). | |
1aa560b2 | 8217 | |
c55e6167 JG |
8218 | Misc bugfixes: |
8219 | ||
8220 | * breakpoint.c (resolve_sal_pc): Split out code to resolve a | |
8221 | sal's PC value. | |
8222 | (set_breakpoint, break_command_1, until_break_command, | |
8223 | catch_command_1, breakpoint_re_set_one): Use it. | |
c55e6167 JG |
8224 | * symtab.h (resolve_sal_pc): Declare. |
8225 | * infcmd.c (jump_command): Use resolve_sal_pc. | |
8226 | ||
4cc9f7e2 | 8227 | * source.c (list_command): Shorten "FILE, line N" to "FILE:N". |
c55e6167 JG |
8228 | |
8229 | * putenv.c (putenv): Avoid unportably casting pointers to unsigneds. | |
3818ed33 | 8230 | |
5a4e7215 JG |
8231 | * c-exp.y (yylex): `this' and `template' are only tokens in C++. |
8232 | ||
3818ed33 JG |
8233 | * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h, |
8234 | xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h: | |
8235 | Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines. | |
8236 | ||
c55e6167 JG |
8237 | Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com) |
8238 | ||
8239 | * dbxread.c (process_one_symbol): Make a first cut at handling | |
8240 | symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.) | |
8241 | ||
8242 | * symtab.c (find_pc_line): Fix stepping into and out of #included | |
8243 | files. | |
8244 | ||
71f49876 SG |
8245 | Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com) |
8246 | ||
8247 | * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is | |
8248 | no longer any need to copy ../include/opcode/* into gdb. | |
8249 | ||
fd8db897 JG |
8250 | Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com) |
8251 | ||
8252 | * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992. | |
8253 | ||
24b2fbdc PB |
8254 | Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com) |
8255 | ||
8256 | * valprint.c (type_print_base, type_print_method_args): | |
8257 | Print C++ constructor methods without bogus "return type." | |
8258 | ||
cdb90e99 FF |
8259 | Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com) |
8260 | ||
8261 | * infptrace.c (child_xfer_memory): Parameter "target" should | |
8262 | be a pointer to a structure, not the entire structure. | |
8263 | ||
1b07e406 FF |
8264 | Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com) |
8265 | ||
8266 | * depend: Convert the couple of references to ansidecl.h that | |
8267 | used the local gdb version to use the ../include version. | |
8268 | ||
9a1ae235 FF |
8269 | Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com) |
8270 | ||
f66f459f FF |
8271 | * procfs.c |
8272 | (child_xfer_memory): Takes pointer to a struct, not entire struct. | |
8273 | (inferior_proc_init): Fix non-ANSI version of args. | |
8274 | (attach): Call print_sys_errmsg with correct number of args. | |
8275 | (mappingflags): Make static, does not need to be global. | |
8276 | ||
fc1f8646 FF |
8277 | * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct |
8278 | not the entire struct itself. | |
8279 | ||
1b7a420e FF |
8280 | * valops.c (value_assign): Cast some args to modify_field() and |
8281 | {read,write}_register_bytes() correctly. | |
8282 | ||
9a1ae235 FF |
8283 | * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h |
8284 | ||
99140c31 FF |
8285 | * Makefile.in (MALLOCSRC): Removed reference to removed local |
8286 | copy of ansidecl.h. | |
8287 | ||
8288 | * dwarfread.c (list_in_scope): Needs an initial value, use file | |
8289 | scope. | |
8290 | ||
9a1ae235 FF |
8291 | Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com) |
8292 | ||
8293 | * main.c (main): Make option_index local to keep new getopt happy. | |
8294 | main.c, solib.c, Makefile.in: Update copyright notices. | |
8295 | ||
0eb0a820 MT |
8296 | Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com) |
8297 | ||
8298 | * cplus-dem.c (cplus_demangle): Correctly demangle destructors. | |
8299 | ||
313085cb SG |
8300 | Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com) |
8301 | ||
8302 | * Makefile.in (HFILES): Add partial-stab.h. | |
8303 | ||
be9a2362 FF |
8304 | Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com) |
8305 | ||
24e7d5ba JG |
8306 | * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h: |
8307 | New files for stratus. Not complete enough to actually build | |
8308 | on the Stratus machine; that awaits copyright assignment for | |
8309 | i860 changes. | |
be9a2362 FF |
8310 | |
8311 | * Makefile.in (USER_CFLAGS): Add macro specifically reserved | |
8312 | for getting custom flags into CFLAGS when doing makes. | |
8313 | ||
8314 | * configure.in: Add config information for stratus. | |
8315 | ||
cdce29ee FF |
8316 | Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com) |
8317 | ||
8318 | * dbxread.c (process_one_symbol): Pass address of structure | |
8319 | to complain(), rather than the whole structure. | |
8320 | ||
7f435241 FF |
8321 | Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com) |
8322 | ||
8323 | * solib.c (solib_add_common_symbols): Only compile in when not | |
8324 | using SVR4 style shared libraries. | |
8325 | ||
a5bd5ba6 FF |
8326 | Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com) |
8327 | ||
8328 | * dwarfread.c (locval): Add offreg flag to indicate location | |
8329 | values that are computed off a base register. | |
8330 | ||
8331 | * dwarfread.c (new_symbol): Rework TAG_global_variable and | |
8332 | TAG_local_variable cases to account for static variables | |
8333 | within function scopes. | |
8334 | ||
7e97eb28 SG |
8335 | Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com) |
8336 | ||
8c3d2a53 SG |
8337 | * inflow.c: remove #include <sys/dir.h>. Not necessary, and |
8338 | doesn't exist on some systems. | |
8339 | ||
5e746644 SG |
8340 | * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when |
8341 | nexting over recursive function calls. | |
8342 | ||
d261ece7 SG |
8343 | * target.c (target_read_string): Create this routine to read null |
8344 | terminated strings from the target. It deals with running off the | |
8345 | end of memory elegantly as well. solib.c (find_solib): Use | |
8346 | target_read_string() to avoid problems with running off the end of | |
8347 | memory. | |
8348 | ||
7e97eb28 SG |
8349 | * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines |
8350 | that reference pgrp_inferior. | |
8351 | ||
0cf9329b PB |
8352 | Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com) |
8353 | ||
8354 | * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that | |
8355 | mips-tfile has been hacked to act more "traditionally." | |
8356 | * dbxread.c: Fixed typo in comment. | |
8357 | ||
488d2691 PB |
8358 | Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com) |
8359 | ||
8360 | * mips-tdep.c (mips_skip_prologue): Add some number of | |
8361 | 'sw' instructions before 'addiu' adjusts the stack. | |
8362 | ||
4d315a07 FF |
8363 | Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com) |
8364 | ||
8365 | * dwarfread.c (start_symtab, end_symtab, scopecount, openscope, | |
8366 | freescope, buildblock closescope, record_line, add_symbol_to_list, | |
8367 | gatherblocks, make_blockvector): Extensive changes to switch | |
8368 | to generic symbol table building code in buildsym.c. Remove | |
8369 | scope tree structures and functions, symbol table building | |
8370 | functions, and lots of other small changes. | |
8371 | ||
8372 | * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove | |
8373 | GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL. | |
8374 | ||
8375 | Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com) | |
8376 | ||
8377 | * buildsym.c (cleanup_undefined_types): Add support for enums. | |
8378 | This fixes the 'GDB internal error. cleanup_undefined_types with | |
8379 | bad type' problem. | |
8380 | ||
8381 | Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com) | |
8382 | ||
8383 | * dbxread.c: detect gcc2 compilations. | |
8384 | ||
1a4d253c JG |
8385 | Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com) |
8386 | ||
8387 | * sparc-pinsn.c: Rename bitfields that overlap with macro names | |
8388 | in ../include/opcode/sparc.h. | |
8389 | ||
1d4c28c5 FF |
8390 | Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com) |
8391 | ||
8392 | * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h | |
8393 | to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2 | |
8394 | to reflect actual locations of opcode files, so TAGS target will | |
8395 | be buildable. | |
8396 | ||
8397 | * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'. | |
8398 | ||
8399 | * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k | |
8400 | code. | |
8401 | ||
8402 | * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array | |
8403 | dereferencing to access the correct elements. | |
8404 | ||
8405 | * valops.c (value_addr): Declare return type of external func | |
8406 | value_copy(). | |
8407 | ||
8408 | * xcoffread.c: Undefine next_symbol_text before redefining it. | |
8409 | ||
fd8db897 | 8410 | For older changes see ChangeLog-9091 |
bd5635a1 RP |
8411 | \f |
8412 | Local Variables: | |
8413 | mode: indented-text | |
8414 | left-margin: 8 | |
8415 | fill-column: 74 | |
8416 | version-control: never | |
8417 | End: |