Rebuilt dependencies.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2e6784a8
SG
1Thu Jun 2 08:50:00 1994 Stu Grossman (grossman@cygnus.com)
2
3 * configure.in: Add nlm subdir to configdirs for alpha-*-netware
4 target.
5 * defs.h (enum language): Add language_asm.
6 * findvar.c (read_register_bytes read_register_gen
7 write_register_bytes read_register read_register_pid
8 write_register write_register_pid supply_register): Move multi-
9 thread handling down into these routines. Create XXX_pid routines
10 that allow register references to specify the pid.
11 * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid
12 read_sp write_sp read_fp write_fp): Move these routines from
13 infcmd to findvar to centralize the whole mess.
14 * i386-nlmstub.c: Portability fixes.
15 * infptrace.c (child_resume): Conditionalize to allow other natives
16 to override it. Remove PIDGET gubbish, it's no longer necessary.
17 * infrun.c (wait_for_inferior): Put registers_changed() before
18 target_wait() to speed up remote debugging.
19 * Replace code that reads registers from other threads with much
20 nicer looking new function calls (see changes to findvar.c).
21 * Don't skip prologues if debugging assembly source.
22 * lynx-nat.c (child_resume): Lynx now needs it's own version of
23 child_resume to handle multi-thread debugging properly.
24 * remote.c: Add O response to get console output from target.
25 * (readchar): Add timeout parameter. Handle SERIAL_EOF and
26 SERIAL_ERROR here to simplify callers.
27 * Change static var timeout to remote_timeout.
28 * (fromhex): Remove unnecessary return -1 at end of routine.
29 * (remote_wait): Turn this into a big switch statement. Add
30 support for O response.
31 * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR.
32 * (getpkt): Split getpkt into two parts. read_frame deals with
33 all formatting issues, run-length encoding, and framing. getpkt
34 now handles error recovery, and frame detection.
35 * ser-tcp.c (tcp_readchar): Handle EINTR from read().
36 * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem
37 control. (hardwire_readchar): Handle EINTR from read().
38 * symfile.c (deduce_language_from_filename): Add support for .s
39 files.
40 * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can
41 override infptrace's child_wait.
42 * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h
43 instead of XXXlynx.h.
44 * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of
45 tm-rs6000lynx.h.
46 * nlm/gdbserve.c: Portability fixes.
47
d3507982
JK
48Tue May 31 20:35:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
49
50 * inftarg.c (child_wait): Call proc_wait, not wait.
51 (child_mourn_inferior): Call proc_remove_foreign.
52 * main.c (gdb_init): Call init_proc.
53 * main.c: Provide dummy versions of init_proc, proc_wait, and
54 proc_remove_foreign for the gdb case (the libgdb case provides its
55 own versions of these functions).
56 * Makefile.in (libgdb-files): Add libproc.a.
57
6d40175d
SS
58Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com)
59
60 Hardware watchpoints for Linux, from Rick Sladkey
61 (jrs@world.std.com).
62 * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add
63 new hardware breakpoint recovery method.
64 * i386v-nat.c (i386_insert_watchpoint,
65 i386_insert_nonaligned_watchpoint, i386_remove_watchpoint,
66 i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]:
67 New functions to support the 386 hardware debugging registers.
68 * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT,
69 HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
70 target_insert_watchpoint, target_remove_watchpoint): Define these
71 macros to use the hardware debugging functions in i386v-nat.c.
72
667fb5c3
JK
73Wed May 25 17:06:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
74
75 * Makefile.in: Replace libgdb.a with libgdb-files. Make "all"
76 build it.
77
429f1c9f
JK
78Thu May 19 09:56:20 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
79
80 * target.c, target.h: New variables target_activity_function and
81 target_activity_fd.
82 * inflow.c, inferior.h: New functions set_sigio_trap and
83 clear_sigio_trap.
84 * inftarg.c (child_wait), procfs.c (wait_fd): Call them.
85
bc67bf96
DE
86Wed May 18 13:01:55 1994 Doug Evans (dje@canuck.cygnus.com)
87
47424e79
DE
88 * remote-sim.h (sim_verbose): Delete.
89 Document callbacks needed.
90 (sim_*): Change result to void where there isn't one.
91 (sim_open): Clarify argument and error response.
92 (sim_close): Declare.
93 (sim_load): Change bfd_handle argument to file name. Clarify result.
94 (sim_create_inferior): Renamed from sim_set_args.
95 (sim_set_pc): Delete.
96 (sim_info): Delete printf_fn argument.
97 * remote-sim.c (gdbsim_kill): Add comment describing purpose.
98 (gdbsim_load): Try sim_load first.
99 (gdbsim_create_inferior): Call sim_create_inferior.
100 (gdbsim_open): Handle args == NULL. Update call to sim_open.
101 (gdbsim_close): Call sim_close.
102 (gdbsim_files_info): Update call to sim_info.
103 (gdbsim_ops): Realign comments.
104
bc67bf96
DE
105 * printcmd.c (decode_format): Allow TARGET_PTR_BIT to be non-constant.
106
298f0428
SS
107Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com)
108
109 * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use
110 the auxent if the symbol's name is ".file". From David Edelsohn
111 <c1dje@watson.ibm.com>.
112
9c036bd8
JK
113Tue May 17 11:08:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
114
20b3c1aa
JK
115 * breakpoint.c (breakpoint_1): Fix typo.
116
117 * annotate.c (annotate_field_end): Fix typo.
118
119 * Makefile.in: Move annotate.o from COMMON_OBS to OBS.
120
121 * Makefile.in (TSSTART): Remove; no longer used.
122
9c036bd8
JK
123 * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call
124 fputs_unfiltered and exit directly, rather than fatal. The latter
125 calls vfprintf_unfiltered!
126
127 * gdbtypes.h, gdbtypes.c (can_dereference): New function.
128 * value.h, printcmd.c (print_value_flags): Move from here...
129 * annotate.c: ...to here, and make it use can_dereference.
130
16d2cc80
SS
131Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)
132
133 * inflow.c (job_control, attach_flag, generic_mourn_inferior):
134 Remove, needed for both native and cross.
135 * target.c (attach_flag, generic_mourn_inferior): Put here.
136 * utils.c (job_control): Put here.
137 (terminal.h): Don't include anymore.
138
d8fc8773
JK
139Sat May 14 09:11:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
140
141 * source.c (find_source_lines): Always use code that was #ifdef
142 BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than
143 leaving it on the chain. Reindent much of this function.
144 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h},
145 config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h},
146 config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h},
147 config/ns32k/xm-ns32km3.h: Remove all references to
148 BROKEN_LARGE_ALLOCA; with the above change it is no longer needed.
149 * main.c, fork-child.c, many config files: Remove all
150 SET_STACK_LIMIT_HUGE code; with the above changes it should no
151 longer be needed.
152
153 * symtab.c (lookup_partial_symbol): Use if and abort, not assert.
154 This avoids __eprintf troubles.
155
1c95d7ab
JK
156Fri May 13 08:10:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
157
d8fc8773
JK
158 * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move
159 initialization code which needs to be called even if we bypass the
160 command line stuff into gdb_init.
161 * utils.c (fputs_unfiltered): Surround in #ifndef
162 FPUTS_UNFILTERED_OVERRIDE.
163 * Makefile.in (libgdb.a): New target.
164
165 * utils.c: Rearrange I/O stuff a bit so that all output goes
166 through fputs_unfiltered. Use vasprintf; removes arbitrary limit
167 which made %s not work with arbitrarily large strings.
168 * printcmd.c (printf_command): Use printf_filtered, not
169 printf_unfiltered and printf, now that arbitrary limit is gone.
170
1c95d7ab
JK
171 gcc -Wall lint:
172 * breakpoint.c (watchpoint_check): Remove unused variable b.
173 * stack.c (print_frame_info): Move sp and buf inside #if.
174 * eval.c (evaluate_subexp): Remove unused variables pp,
175 mangle_ptr, ptr, and mangle_tstr.
176 * valarith.c (value_x_binop): Remove unused variables mangle_tstr
177 and mangle_ptr.
178 * symtab.c (lookup_symtab): Put variable copy inside #if.
179 (decode_line_1): Put variable q1 inside #if 0.
180 * target.h: Declare target_link.
181 * infrun.c (wait_for_inferior): Remove unused variables signame.
182 * remote.c (remote_resume): Remove unused variable name.
183 * c-exp.y (parse_number): Parenthesize operand of shift.
184 * dbxread.c (record_minimal_symbol): Parenthesize operand of &&
185 (this is a semantic change, the warning seems to have detected a bug).
186 * dbxread.c (end_psymtab): Move variable p1 inside #if.
187 * coffread.c: Move variable temptype inside #if.
188 * ch-typeprint.c (chill_type_print_base): Remove unused variable
189 name.
190 * ch-valprint.c: #include typeprint.h and ch-lang.h.
191 (chill_val_print): Remove unused variable in_range.
192 (chill_val_print): Remove statement "length > TYPE_LENGTH (type);".
193 (chill_val_print): Add default case for switch.
194 * stabsread.h: Declare stabsect_build_psymtabs.
195 * os9kread.c (read_minimal_symbols): Make this return void.
196 (os9k_symfile_read): Remove unused variables stb_exist and val.
197 (os9k_symfile_init): Remove unused variable val.
198 (fill_sym): Remove unused variable id.
199 (read_os9k_psymtab): Put variable back_to inside #if 0. Remove
200 unused variable nsl.
201 Remove unused variable symfile_bfd.
202 #if 0 unused variables lbrac_unmatched_complaint and
203 lbrac_mismatch_complaint.
204 Remove declaration for non-existent function os9k_next_symbol_text.
205
206 * annotate.c, annotate.h: New files, containing a function for
207 each annotation which outputs it.
208 * Move breakpoints_changed from breakpoint.c to annotate.c.
209 * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c,
210 printcmd.c, source.c, stack.c, utils.c, valprint.c:
211 Use annotate.c functions to output annotations.
212 * Makefile.in (OBS): Add annotate.o.
213
88b91d4a
JL
214Thu May 12 10:46:27 1994 Jeff Law (law@snake.cs.utah.edu)
215
f55179cb
JL
216 * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
217 elf_unwind_entries are always initialized.
218
88b91d4a
JL
219 * hppa-tdep.c (skip_trampoline_code): Handle argument relocation
220 stubs which return directly to the caller rather than to the stub
221 itself.
222
8db1a922
SS
223Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com)
224
225 * c-exp.y (yyerror): Display a more informative error message.
226 * ch-exp.y (yyerror): Ditto, don't use global yychar.
227 * m2-exp.y (yyerror): Ditto.
228
91ecc8ef
SS
229Tue May 10 11:57:53 1994 Stan Shebs (shebs@andros.cygnus.com)
230
231 * inflow.c (job_control): Move definition to front of file.
232
0286d386
ILT
233Tue May 10 14:42:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
234
235 * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to
236 SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd.
237
238Fri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com)
239
240 * Makefile.in (kdb): Remove old init.c creation commands.
241 * configure.in (sparclite): Match on sparclite*.
242 * sparclite/aload.c (main): Only change section addresses for
243 a.out format object files.
244
5ff7b328
SC
245Fri May 6 13:24:04 1994 Steve Chamberlain (sac@cygnus.com)
246
247 * config/i386/go32.mh: Define CC.
248
b292fca8
SS
249Fri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com)
250
251 * gdbserver/Makefile.in: Remove irrelevant definitions and
252 comments inherited from the gdb Makefile.
253 (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile.
254 (VERSION): Update to 4.12.3.
255 (gdbserver): Remove any existing executable first.
256 (distclean, realclean): Remove nm.h.
257 * gdbserver/low-lynx.c: Add Sparc Lynx support.
258 * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h):
259 Don't use absolute pathname.
260
261Thu May 5 12:00:22 1994 Stan Shebs (shebs@andros.cygnus.com)
262
263 * rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an
264 error.
265
ee5fca1f
JK
266Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
267
268 * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c
269 (print_it_normal): Add annotations for the inferior starting and
270 stopping, and for all the various messages related to how it
271 stopped.
272
273 * printcmd.c (do_one_display): Annotate.
274 * stack.c (print_frame_info): Annotate printing of stack frames.
275
731dca94
SG
276Wed May 4 18:15:51 1994 Stu Grossman (grossman@cygnus.com)
277
278 * remote.c (get_offsets): Handle case where stub doesn't support
279 qOffsets message.
280
36a2283d
PB
281Wed May 4 15:30:39 1994 Per Bothner (bothner@kalessin.cygnus.com)
282
283 Add partial support for g++ code compiled with -fvtable-thunks.
284 * c-valprint.c (c_val_print): Add vtblprint support
285 when using thunks.
286 * cp-valprint.c (cp_is_vtbl_member): A vtable can be an array of
287 pointers (if using thunks) as well as array of structs (otherwise).
288 * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name): Move to global
289 level, and make the latter non-static (so define_symbol can use it).
290 * stabsread.c (define_symbol): If the type being defined is a
291 pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name.
292 * symtab.h (VTBL_PREFIX_P): Allow "_VT" as well as "_vt".
293 * values.c (value_virtual_fn_field): Handle thunks.
294 * values.c (value_headof): Minor efficiency hack.
295 * values.c (value_headof): Incomplete thunk support. FIXME.
296
997c6a1d
JK
297Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
298
d24c0599
JK
299 * valprint.c (print_longest): Clarify comment about use_local.
300 * printcmd.c, defs.h (print_address_numeric), callers in
301 symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c,
302 cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c,
303 exec.c: New argument use_local.
304 * source.c (identify_source_line): Use filtered output. Use
305 print_address_numeric.
306
e16b9023
JK
307 * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
308 language.c (type_error, range_error): Use filtered output.
309 * utils.c (error_begin): Update comment to tell people to use
310 filtered output.
311
997c6a1d
JK
312 * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
313 (HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get
314 bfd.h.
315
3f5e2fb5
JK
316Tue May 3 07:41:33 1994 Jim Kingdon (kingdon@cygnus.com)
317
318 * procfs.c (procfs_wait): Reinstate code which deduces the signal
319 from the fault, #ifndef FAULTED_USE_SIGINFO.
320 * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
321
47ebe8fd
JK
322Fri Apr 29 18:15:04 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
323
324 * breakpoint.c (breakpoint_1): Annotate each field of the headers.
325 Explicitly annotate each record.
326
0c4b30ea
SS
327Fri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com)
328
329 * xcoffexec.c: Reformat to standards and lint.
330 (language.h): Include.
331 (exec_close): Declare arg "quitting".
332 (file_command): Declare arg "from_tty".
333 (map_vmap): Cast xmalloc result to PTR.
334 * rs6000-nat.c: Reformat to standards and lint.
335 (exec_one_dummy_insn): Use char array for saved instruction.
336 (fixup_breakpoints): Declare.
337 (vmap_ldinfo): Be more informative in fatal error messages.
338 (xcoff_relocate_symtab): Define to return void.
339 * xcoffsolib.h: Reformat to standards, improve comments.
340 * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.
341
d8742f46
JK
342Thu Apr 28 08:40:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
343
a0cf4681
JK
344 * utils.c, defs.h (error_begin): New function.
345 (quit): Print annotation before printing the error message.
346 * main.c (return_to_top_level): Print annotation before doing the
347 longjmp.
348 * symtab.c (decode_line_1): Call error not warning and then
349 return_to_top_level. Call error_begin and printf_unfiltered
350 rather calling warning (before calls to return_to_top_level).
351 * core.c (memory_error): Use error_begin, printf_unfiltered,
352 print_address_numeric and return_to_top_level instead of error.
353 Cleans up a FIXME-32x64.
354 * language.c (type_error, range_error): Call error_begin
355 not just target_terminal_ours.
356
21ad7c45
JK
357 * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info
358 directly, rather than via DBX_SYMFILE_INFO. A cast on the left
359 side of an assignment is non-portable.
360
d8742f46
JK
361 * utils.c (query): Change syntax of query annotations to be
362 consistent with other input annotations.
4dd876ac 363 (prompt_for_continue): Likewise for prompt-for-continue annotation.
d8742f46 364
11d26982
PS
365Thu Apr 28 01:20:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
366
367 * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks
368 for stabs symtabs.
369 * mips-tdep.c (mips_skip_prologue): Handle prologues for functions
370 that have a stack frame size of 32k or larger (from Paul Flinders).
371 Remove #if 0'd code.
372
aa175216
SS
373Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com)
374
375 * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition
376 for Lynx platforms that need it.
377 * config/nm-lynx.h (__LYNXOS): Define if not already defined.
378
890634ed
JK
379Wed Apr 27 16:01:37 1994 Jim Kingdon (kingdon@cygnus.com)
380
381 * procfs.c (procfs_wait): Use the signal from the pr_info rather
382 than trying to deduce it from the fault.
383
c0c9b923
SC
384Wed Apr 27 12:22:46 1994 Steve Chamberlain (sac@cygnus.com)
385
386 * printcmd.c (print_address_symbolic): Initialize name to empty
387 string to avoid core dump if lookup fails.
388 * remote-e7000.c (printf_e7000debug): Error if target not open.
389
a49666fe
SG
390Tue Apr 26 22:45:24 1994 Stu Grossman (grossman at cygnus.com)
391
392 * i386-nlmstub.c: Update to be more in line with PIN stub.
393 * nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub.
394 * (hex2mem): Init ptr.
395 * General cleanups to use ConsolePrintf, standard prologues, etc...
396
d0e2b767
SG
397Tue Apr 26 10:23:04 1994 Stu Grossman (grossman at cygnus.com)
398
68ba2fa5
SG
399 * i386-nlmstub.c: More changes to be compatible with remote.c.
400
401 * dbxread.c: Move a bunch of strncmps out of process_one_symbol
402 into (the far less frequently called) dbx_symfile_read.
403
d0e2b767
SG
404 * i386-nlmstub.c: An interim version till we get PIN for the x86.
405
a66e8382
SG
406Tue Apr 26 09:50:45 1994 Stu Grossman (grossman at cygnus.com)
407
408 * dbxread.c (record_minimal_symbol): Record the section
409 associated with the symbol to make dynmaic relocation work.
410 * (dbx_symfile_read, process_one_symbol): Fixes to work around
411 Solaris brain-damage which don't apply to relocatable object
412 files.
413 * (stabsect_build_psymtabs): New routine to read stabs out of an
414 arbitrarily named section.
415 * nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just
416 globals.
417 * (nlm_symfile_read): Call stabsect_build_psymtabs to read the
418 stabs out of the nlm.
419 * partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris
420 brain-damage which don't apply to relocatable object files.
421 * remote.c (putpkt): Improve error reporting and error handling.
1624c38f
SG
422 * (get_offsets): Temporary kludge to force data & bss sections to
423 have the same relocation.
a66e8382
SG
424 * stabsread.c (define_symbol, scan_file_globals): Record section
425 info in sym.
426
fdb81aa1
JK
427Sat Apr 23 19:05:52 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
428
429 * breakpoint.c (breakpoint_1): Annotate each field of output. Add
430 FIXME-32x64 comment.
431
0a2e98a9
JK
432Fri Apr 22 16:43:54 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
433
d084c93f
JK
434 * infrun.c (wait_for_inferior): Move call to flush_cached_frames
435 to after call to target_wait. This means that flush_cached_frames
436 can call target_terminal_ours if it wants to.
437 * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add
438 comment about why the code is dubious.
439
0a2e98a9
JK
440 * stabsread.c (read_type): Call read_type, not nonexistent
441 os9k_read_type.
442
d5336fc5
KH
443Fri Apr 22 14:25:36 1994 Kung Hsu (kung@mexican.cygnus.com)
444
445 * remote-os9k.c (rombug_fetch_registers): set trace mode
446 correctly.
447 * remote-os9k.c (rombug_read_inferior_memory): cache data in
448 buffer.
449 * os9kread,c (read_os9k_psymtab): process file symbol to truncate
450 extra info.
451 * os9kread.c (os9k_read_ofile_symtab): proper casting of args
452 passed to process_one_symbol.
453 * stabsread.c (read_type): process os9k functio prototype.
454
f5a0908f
JK
455Fri Apr 22 11:27:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
456
457 * solib.c (symbol_add_stub): If so->textsection is NULL, don't
458 dump core.
459
9e8db445
JK
460Thu Apr 21 07:45:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
461
da988c20
JK
462 * utils.c (prompt_for_continue): Annotate prompt.
463 (query): Annotate query.
464 * printcmd.c (print_frame_args): Change syntax of argument
465 annotation to make name and value part of a single group of
466 annotations, not two separate groups.
467 * cp-valprint.c (cp_print_value_fields): Likewise for fields.
468 * valprint.c (val_print_array_elements): Change syntax of
469 annotation to be more concise.
470 * main.c, defs.h (command_line_input): New argument tells what
471 string to include in the annotations.
472 * symtab.c (decode_line_2), main.c (read_command_lines,
473 command_loop): Change callers.
474
9e8db445
JK
475 * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
476 target null pointer.
477 * blockframe.c (find_frame_addr_in_frame_chain): Likewise.
478
479 * printcmd.c (output_command): Annotate things we print here too.
eb1e37a3 480 * printcmd.c (print_command_1): Add "value-history-value" annotation.
9e8db445
JK
481 * Move declaration of print_value_flags from defs.h to value.h.
482 * main.c (command_line_input): Call wrap_here as well as gdb_flush.
483
0683ac4b
PS
484Thu Apr 21 09:29:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
485
486 * dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,
487 BFD handles sun3 dynamic relocations now.
488 * elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic
489 symbol table.
490
96f7edbd
JK
491Wed Apr 20 19:41:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
492
493 * printcmd.c (print_command_1): Annotate the top-level expressions
494 that we print.
495 (print_frame_args): Annotate each argument.
496 * printcmd.c, defs.h (print_value_flags): New function.
497 * cp-valprint.c (cp_print_value_fields): Annotate each field.
498 * valprint.c (val_print_array_elements): Annotate each array element.
499
59746d9f
PS
500Wed Apr 20 13:18:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
501
502 * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly,
503 the register contains a pointer to the type, not the type itself.
504
6c803036
JK
505Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
506
507 * main.c (main): Accept --annotate=N option and make --fullname
508 the same as --annotate=1.
509 (command_line_input): Print annotatation before and after prompt.
510 * blockframe.c (flush_cached_frames): Print annotation.
511 * Rename frame_file_full_name to annotation_level and move it from
512 symtab.h to defs.h.
513 * source.c (identify_source_line): If annotation_level > 1,
514 change output format.
515 * breakpoint.c: Print annotation whenever a breakpoint changes.
516 * main.c: New variable server_command.
517 (command_line_input): Parse "server " and set server_command.
518 (dont_repeat): Check server_command.
519
d7a96d67
JK
520Wed Apr 20 08:37:16 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
521
963dbabe
JK
522 * xcoffread.c (xcoff_next_symbol_text): Don't return before
523 updating raw_symbol and symnum. Return a value in the case where
524 we complained.
525
d7a96d67
JK
526 * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c
527 takes care of it.
703e4251
JK
528 * parse.c: Don't define block_found; it is defined in symtab.c.
529 * parser-defs.h: Add comment regarding block_found.
d7a96d67 530
d782a995
JL
531Tue Apr 19 09:46:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
532
533 * hppa-tdep.c (internalize_unwind_info): Delete unused indexp
534 argument.
535
be78eb1a
PS
536Mon Apr 18 13:18:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
537
538 * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols by
539 section vma. Do not read dynamic relocs for sun3 executables to
540 avoid BFD assertion message.
541
9c842e0c
JL
542Mon Apr 18 10:08:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
543
544 * nm-hppab.h (KERNEL_U_ADDR): Define.
545 (FIVE_ARG_PTRACE): Likewise.
546 (CANNOT_STORE_REGISTER): Likewise.
8bd8cef2 547 * nm-hppah.h (KERNEL_U_ADDR): Define.
9c842e0c
JL
548 (FIVE_ARG_PTRACE): Likewise.
549 (CANNOT_STORE_REGISTER): Likewise.
550 (NEED_TEXT_START_END): Likewise.
551
552 * tm-hppah.h (NEED_TEXT_START_END): Delete definition.
553 * xm-hppah.h (KERNEL_U_ADDR): Delete definition.
554 (FIVE_ARG_PTRACE): Likewise.
555 * xm-hppab.h (KERNEL_U_ADDR): Delete definition.
556 (FIVE_ARG_PTRACE): Likewise.
557
558 * hppa-tdep.c (read_unwind_info): Make static.
559 (restore_pc_queue): Indirect through the target vector to
560 reload the register state.
561
c5152d42
JL
562Sat Apr 16 22:20:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
563
564 * paread.c (compare_unwind_entries): Delete function. It's been
565 moved into hppa-tdep.c.
566 (read_unwind_info): Likewise.
567 (pa_symfile_read): No longer call read_unwind_info. The unwind
568 tables will be read in as they are needed.
569
570 * hppa-tdep.c (compare_unwind_entries): New function.
571 (read_unwind_info, internalize_unwinds): Likewise.
572 (find_unwind_entry): Read in unwind information on demand.
573
fad466eb
SS
574Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)
575
576 * source.c (DIRNAME_SEPARATOR): New macro, replaces all references
577 to : in search path processing.
578 * defs.h (qsort): Rename argument in prototype.
579 * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in
580 some compilers.
581 * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c
582 (false): Eliminate usages.
583
63eef03a
SC
584Fri Apr 15 11:35:19 1994 Steve Chamberlain (sac@cygnus.com)
585
586 * h8500-tdep.c (initialize_h8500_tdep, large_command):
587 All references to value changed to value_ptrlage_command is now
588 called big_command.
589 All references to value changed to value_ptr.
590 * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP
591 * remote-hms.c (hms_wait): Timeout after five seconds.
592 * ser-go32.c (dosasync_read): Poll if timeout < 0.
593 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
594 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
595
e6b8a171
JL
596Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
597
598 * procfs.c (procfs_wait): Protect watchpoint code with appropriate
599 #ifdefs.
6bc194d2 600 (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
e6b8a171 601
999dd04b
JL
602Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
603
604 * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
605 bp_watchpoint_scope breakpoints.
606 (struct breakpoint): Add val_chain and related_breakpoint fields
607 for use by watchpoints.
608
609 * breakpoint.c (within_scope): Delete. No longer used.
610 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition.
611 (target_{remove,insert}_watchpoint): Likewise.
612 (can_use_hardware_watchpoint): New function.
613 (remove_breakpoint): New function to remove a single breakpoint
614 or hardware watchpoint.
615 (insert_breakpoints): Handle insertion of hardware watchpoints.
616 Store a copy of the value chain derived from the watchpoint
617 expression.
618 (remove_breakpoints): Simplify by using remove_breakpoint.
619 (delete_breakpoint): Likewise.
620 (watchpoint_check): Delete the watchpoint and watchpoint scope
621 breakpoints when the watchpoint goes out of scope. Save & restore
622 the current frame after checking watchpoints.
623 (breakpoint_init_inferior): Likewise (restarting the program
624 makes all local watchpoints go out of scope).
625 (bpstat_stop_status): Handle hardware watchpoints much like normal
626 watchpoints. Delete the watchpoint and watchpoint scope breakpoint
627 when the watchpoint goes out of scope. Remove and reinsert all
628 breakpoints before returning if we stopped when a hardware watchpoint
629 fired.
630 (watch_command): Use a hardware watchpoint when possible. If
631 watching a local expression, build a scope breakpoint too.
632 (map_breakpoint_numbers): Also call given function for any
633 related breakpoints.
634 (disable_breakpoint): Never disable a scope breakpoint.
635 (enable_breakpoint): Handle hardware breakpoints much like normal
636 breakpoints, but recompute the watchpoint_scope breakpoint's
637 frame and address (if we have an associated scope breakpoint).
638 (read_memory_nobpt): Handle hardware watchpoints like normal
639 watchpoints. When necessary handle watchpoint_scope breakpoints.
640 (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise.
641 (clear_command, breakpoint_re_set_one, enable_command): Likewise.
642 (disable_command): Likewise.
643
644 * blockframe.c (find_frame_addr_in_frame_chain): New function.
645 Extern prototype added to frame.h
646
647 * infrun.c (wait_for_inferior): Set current_frame and select
648 a frame before checking if we stopped due to a hardare watchpoint
649 firing. Handle stepping over hardware watchpoints.
650 (normal_stop): Remove unnecessary call to select_frame.
651
652 * value.h (value_release_to_mark): Declare.
653 * values.c (value_release_to_mark): New function.
654
655 * procfs.c (procfs_wait): Add cases for hardware watchpoints.
656 (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions.
657
658 * hppab-nat.c (hppa_set_watchpoint): New function.
659
660 * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
661 (HAVE_STEPPABLE_WATCHPOINT): Define.
662 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
663 (target_{insert,delete}_watchpoint): Define.
664
9ec76784
JL
665 * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
666 (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
667 (target_{insert,remove}_watchpoint): Likewise.
668
70e375c3
SG
669Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com)
670
671 * xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT,
672 smtyp XTY_LD, sclass XMC_DS (external data segment label). They
673 often have the same names as debug symbols for functions, and
674 confuse lookup_symbol().
675
2ddeed27
JK
676Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
677
678 * remote.c: Around redefinition of PBUFSIZE, adjust whitespace.
679 * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than
680 REGISTER_RAW_SIZE (1).
681 Together these changes work around a bug in HP's compiler. Both
682 seem to be necessary.
683
699daa9c
JL
684Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
685
686 * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols
687 with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables
688 are type mst_solib_trampoline.
689
7b2b0758
JK
690Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
691
692 * config/m68k/es1800.mt: Change comments.
693
694Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com)
695
696 * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
697
790a14a8
SG
698Fri Apr 8 15:35:30 1994 Stu Grossman (grossman at cygnus.com)
699
700 * lynx-nat.c: Restore regmap structure for SPARC. It's needed
701 for core files.
702
f3e4ac4a
JK
703Fri Apr 8 14:53:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
704
a110a1c3
JK
705 * values.c (unpack_long): Remove obsolete comment about using a
706 switch statement.
707
f3e4ac4a
JK
708 * symfile.c (symbol_file_command): Add comments about command syntax.
709
2fe3b329
PS
710Thu Apr 7 17:25:21 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
711 Jim Kingdon (kingdon@cygnus.com)
712
713 * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines
714 are in the .plt section.
715 * minsyms.c (lookup_solib_trampoline_symbol_by_pc,
716 find_solib_trampoline_target): New functions for handling
717 stepping into -g compiled shared libraries.
718 * symtab.h (lookup_solib_trampoline_symbol_by_pc,
719 find_solib_trampoline_target): Add prototypes.
720 * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
721 Define to handle stepping into -g compiled shared libraries.
722 * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle
723 stepping into -g compiled shared libraries.
724
725Thu Apr 7 17:22:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
726
727 * configure.in: Add mips-*-sysv4* support.
728 * config/mips/mipsv4.mh, config/mips/mipsv4.mt,
729 config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
730 New files for MIPS SVR4 support.
731 * Makefile.in: Update for new mipsv4 files.
732 * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use
733 read_next_frame_reg to obtain the frame relative stack pointer.
734 * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to
735 obtain the frame relative stack pointer.
736 * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
737 Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
738 by entering them into the minimal symbol table.
739 * printcmd.c (print_scalar_formatted): Do not try to unpack to
740 a long for float formats.
741 * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
742 get defined in <link.h>.
743 * solib.c (solib_add): Add shared library sections to the section
744 table of the target before adding the symbols.
745 * partial-stab.h: Relocate static and global functions.
746 * dbxread.c (read_dbx_symtab): Remove unused variable
747 end_of_text_address. Relocate text_addr when passing it
748 to end_psymtab.
749
750 For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
751 library functions before the executable is run. Retrieve dynamic
752 symbols from stripped executables.
753 * mipsread.c (read_alphacoff_dynamic_symtab): New function.
754 * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message
755 if no debugging symbols were found.
756 * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered
757 pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
758 is defined.
759 * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,
760 OSF/1 has shared libraries.
761
192b64e7
ILT
762Thu Apr 7 15:11:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
763
764 * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes
765 to BFD handling of dynamic symbols.
766
45568424
JL
767Tue Apr 5 15:29:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
768
4f915914
JL
769 * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label,
770 then gets its real address into FUN and its GOT/DP value into %r19.
771
772 * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary.
773
7f43b9b7
JL
774 * hppa-tdep.c (frameless_function_invocation): If no unwind
775 descriptor was found, then assume this was not a frameless
776 function invocation.
777 (frame_saved_pc): If the saved PC is in a linker stub, then
778 return the return address which the linker stub will return to.
779
45568424
JL
780 * xm-hppab.h: Never define USG.
781 * xm-hppah.h: Always define USG.
782
b96bc1e4
PB
783Tue Apr 5 12:58:47 1994 Per Bothner (bothner@kalessin.cygnus.com)
784
785 * values.c (unpack_long, value_from_longest),
786 valarith.c (value_binop): Allow TYPE_CODE_RANGE.
787
d5412302
JK
788Fri Apr 1 14:04:34 1994 Jason Merrill (jason@deneb.cygnus.com)
789
790 * symfile.c (deduce_language_from_filename): .cpp is a C++ extension.
791
38b90473
PS
792Fri Apr 1 00:44:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
793
794 For SVR4 targets, enable gdb to set breakpoints in shared
795 library functions before the executable is run.
796 * elfread.c (elf_symtab_read): Handle symbols for shared library
797 functions.
798 * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section
799 and moved to objfiles.c.
800 * objfiles.c (in_plt_section): Moved to here from sparc-tdep.
801 * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.
802 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,
803 the new generic definition from tm-sysv4.h works for Solaris.
804
70f42bae
ILT
805Wed Mar 30 16:14:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
806
807 * elfread.c (elf_symtab_read): Change storage_needed,
808 number_of_symbols and i to long. Rename get_symtab_upper_bound to
809 bfd_get_symtab_upper_bound. Check for errors from
810 bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
811 * nlmread.c (nlm_symtab_read): Same changes.
812
aece310f
JK
813Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
814
34d265dc
JK
815 * xcoffread.c (xcoff_next_symbol_text): New function.
816 (read_xcoff_symtab): Set next_symbol_text_func to it.
817 Move raw_symbol outside of read_xcoff_symtab.
818
aece310f
JK
819 * remote.c (getpkt): Remove unused "out" label.
820
bd2f0c85
JL
821Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
822
823 * breakpoint.c (print_it_normal): Allow GDB to notify the user
824 about more than one watchpoint being triggered.
825
c2216bfd
JK
826Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
827
828 * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.
829
db2302cb
PS
830Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
831
9e837b37
PS
832 * blockframe.c (find_pc_partial_function): mst_file_text
833 symbols do not live in the shared library transfer table.
db2302cb
PS
834 * ch-exp.y (decode_integer_value, match_character_literal,
835 match_bitstring_literal): Guard tolower calls with isupper,
836 tolower on old BSD systems blindly subtracts a constant.
837 * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as
838 well when determining the producer of the object file.
839 * mdebugread.c (has_opaque_xref): New function to check for
840 cross reference to an opaque aggregate.
841 * mdebugread.c (parse_symbol, parse_partial_symbols): Do not
842 enter typedefs to opaque aggregates into the symbol tables.
843 * mdebugread.c (parse_external): Remove skip_procedures argument,
844 it has always been 1. Remove code that handled stProc symbols,
845 it was never executed and was wrong, as the index of a
846 stProc symbol points to the local symbol table and not to the
847 auxiliary symbol info. Update caller.
848 * mdebugread.c (parse_partial_symbols): Do not enter external
849 stProc symbols into the partial symbol table, they are already
850 entered into the minimal symbol table.
851 * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix.
852 Remove all conditionals and definitions for ptx.
853 I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c.
854 Fix addresses of floating point registers in REGISTER_U_ADDR.
855 STORE_STRUCT_RETURN now handles cc and gcc conventions.
856 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC,
857 IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through
858 signal trampoline code work.
859 * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix.
860 Remove all conditionals and definitions for ptx.
861 Remove KDB definitions.
862 * symm-nat.c (store_inferior_registers): Fetch registers before
863 storing them to obtain valid floating point control registers.
864 Store fpu registers.
865 * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines
866 FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value.
867 * symm-nat.c (fetch_inferior_registers, child_xfer_memory):
868 Fix typos.
869 * symm-nat.c (child_resume): Update type of `signal' parameter.
870 * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h.
871
19cd0c1f
JL
872Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
873
874 * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for
875 calling import stubs for functions in shared libraries.
876
73cd3b49
PB
877Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com)
878
58cda66e
PB
879 * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression).
880
73cd3b49
PB
881 * ch-lang.c (chill_is_varying_struct): Magic string is
882 was "<var_length>" is now "__var_length" (more portable).
883
0c993550
JK
884Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
885
886 * remote.c (getpkt): If we get a timeout, actually retry rather
887 than just giving up the first time it happens.
888 * remote.c: Document sequence numbers.
889 (remote_store_registers): Change syntax of 'P' request so that it
890 never looks like a sequence number.
891
d80ff70c
KH
892Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com)
893
0c993550 894 * os9kread.c (record_minimal_symbol): add section_offset to
d80ff70c
KH
895 relocate minimal symbol table.
896 * os9kread.c (read_minimal_symbols): ditto.
897 * os9kread.c (os9k_symfile_init): increase size of dbg and stb
898 file names.
899 * os9kread.c (read_os9k_psymtab): if there's no dbg file, just
900 return. Also if file addr is 0 leave it 0, not to relocate.
901 * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon',
902 'set remotexoff' and 'set remotelog' commands.
903
4aa6fe10
JK
904Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
905
906 * remote.c (remote_store_registers): Add 'P' request to set an
907 individual register.
908 (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print
909 a target address.
910
72e35288
JK
911Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
912
649694ea
JK
913 * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.
914 * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to
915 combining all 'p' and 'r' pairs into a LOC_REGPARM.
916
72e35288
JK
917 * command.c (do_setshow_command, case var_string): Never add a
918 space to the end of the string.
919 * NEWS: Document this change.
920 * .gdbinit: Add a space to the "set prompt" command.
921
59144a81
JK
922Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
923
493424b1
JK
924 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor
925 changes to make it compile (it doesn't link yet).
926
927 * buildsym.c (start_subfile, patch_subfile_names), demangle.c
928 (set_demangling_style, set_demangling_command): Use savestring not
929 strdup. We were not dealing properly with a NULL return from
930 strdup, and were not declaring strdup (the system header may or
931 may not have it).
932
59144a81
JK
933 * valprint.c (val_print): Remove inaccurate comment about what
934 types can be stub types.
935
936 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.
937 * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior):
938 Supply alternate version if ATTACH_DETACH is not defined.
939 * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,
940 tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
941 * configure.in: Recognize i[34]86-sequent-sysv4* host.
942
c8f75fe8
JL
943Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
944
de482138
JL
945 * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning
946 of a function.
947 (skip_trampoline_code): Rewrite and add support for argument
948 relocation stubs stubs, import/export stubs, calls through
949 "_sr4export" and cascaded trampolines.
950
fdafbfad
JL
951 * hppa-tdep.c (skip_prologue): Return "pc" not zero
952 if no unwind descriptor is found.
953
eb1167c6
JL
954 * tm-hppa.h (NUM_REGS): Bump to 128 registers.
955 (REGISTER_NAMES): Add entries for "right-half" of FP registers.
956 (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs
957 differently. All registers are four bytes.
958 (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are
959 the same size.
960 (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs.
961
962 * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP
963 registers as both single and double values (fetching 2nd 32bit half
964 as necessary). Annotate each register printed with its precision.
965
c8f75fe8
JL
966 * paread.c (read_unwind_info): Fix off-by-one error.
967
0c1af47f
JK
968Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
969
970 * main.c (complete_command): Deal with it if arg is NULL.
971
5801f348
JK
972Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
973
4df6dcd1
JK
974 * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment
975 regarding using the PC--using the PC is necessary and all the
976 FIXME comments in the world won't make it go away.
977
2f3b7d8e
JK
978 * valops.c (value_at, value_at_lazy): Give error if we dereference
979 a pointer to void.
980 * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID.
981 * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types.
982
553e1862
JK
983 * stabsread.c (patch_block_stabs): Add comment about what happens
984 if the definition is in another compilation unit from the stab.
acdec954 985
5801f348
JK
986 * dbxread.c (end_psymtab): Add comment about empty psymtabs.
987
09973223
JK
988Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
989
990 * main.c (complete_command): New command, from Rick Sladkey
991 <jrs@world.std.com>.
992 (symbol_completion_function): Don't declare rl_point and
993 rl_line_buffer; they are now declared in readline.h.
994 (show_commands): Don't declare history_base; it is declared in
995 history.h.
996 * command.c (lookup_cmd): Don't delete trailing whitespace.
acdec954 997 Reverts change of 14 May 1989.
09973223
JK
998
999Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com)
1000
1001 * minsyms.c (prim_record_minimal_symbol): Move section deduction
1002 code from prim_record_minimal_symbol_and_info() to here. Callers
1003 of the latter can legitimately supply a section number of -1.
1004
e552788b
JK
1005Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1006
1007 * gdbtypes.h, gdbtypes.c: Add comments regarding whether static
1008 member functions have an element in args for a (nonexistent) this
1009 pointer.
1010
84ad95c1
JL
1011Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1012
0a64709e
JL
1013 * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define.
1014
1015 * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space
1016 queue if NO_PC_SPACE_QUEUE_RESTORE is defined.
1017
84ad95c1
JL
1018 * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument
1019 for the structure's type. All callers changed.
1020
1021 * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR
1022 for each structure argument rather than assuming it's either
1023 true or false for all structure arguments.
1024
1025 * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only
1026 on the length structure passed, not the compiler used.
1027
1028 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional
1029 argument for the structure's type.
1030
29f2ceed
JK
1031Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1032
51f83933
JK
1033 * values.c (set_internalvar): Don't set var->value until we are
1034 sure there won't be an error().
1035
29f2ceed
JK
1036 * remote.c (get_offsets): Reinstate comment which was in
1037 remote_wait about use of SECT_OFF_TEXT and so on.
1038
1039Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1040
1041 * symmisc.c (maintenance_check_symtabs): New function to check
1042 consistency of psymtabs and symtabs.
1043 * symtab.h (maintenance_check_symtabs): Add prototype.
1044 * maint.c: Add new `maint check-symtabs' command.
1045 * config/i386/tm-i386aix.h, config/i386/tm-sun386.h,
1046 config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo.
1047 * config/i386/tm-symmetry.h: Make comment inside #if 0 a real
1048 comment.
1049 * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument
1050 to write_memory to avoid warnings from gcc.
1051 * config/i386/xm-symmetry.h: Add missing #endif.
1052 * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix.
1053 * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o.
1054 * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add.
1055
4fd5eed4
JL
1056Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1057
1058 * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr.
1059 (hppa_push_arguments): Likewise.
1060
72bba93b
SG
1061Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com)
1062
1063 * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to
1064 improve remote debugging efficiency. Also fixed problems with
1065 doing function calls for programs with no entry points.
1066 * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of
1067 entry_point_address.
1068 * inferior.h (PC_IN_CALL_DUMMY): ditto.
1069 * mdebugread.c (parse_symbol, parse_procedure, parse_external,
1070 parse_lines): Pass section_offsets info to these routines so that
1071 we can relocate symbol table entries upon readin.
1072 * (psymtab_to_symtab_1): Set symtab->primary to tell
1073 objfile_relocate to do relocations for our symbols.
1074 * (ecoff_relocate_efi): New routine to relocate adr field of PDRs
1075 (which hang off of the symbol table).
1076 * Use prim_record_minimal_symbols_and_info instead of
1077 prim_record_minimal_symbols to supply section info to make minimal
1078 symbol relocations work.
1079 * minsyms.c (prim_record_minimal_symbols_and_info): If section is
1080 -1, try to deduce it from ms_type.
1081 * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where
1082 appropriate. Handle relocation of MIPS_EFI symbols special. Also,
1083 add code to relocate objfile->sections data structure.
1084 * remote.c (get_offsets): Use new protocol message to acquire
1085 section offsets from the target.
1086 * (remote_wait): Get rid of relocation stuff. That's all handled
1087 by objfile_relocate now.
1088 * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h.
1089 * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and
1090 VM_MIN_ADDRESS.
1091 * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
1092
d148e8c4
DE
1093Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com)
1094
1095 * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE
1096 instead of 4.
d3688932 1097
d148e8c4 1098start-sanitize-v9
d3688932
DE
1099 * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted,
1100 can no longer set this at run time.
7f695c07
DE
1101 * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now.
1102 (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function.
1103 * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so
1104 sparc-tdep.c compiles).
1105 (TARGET_PTR_BIT): Must be a constant now, fix at 64.
d3688932
DE
1106end-sanitize-v9
1107
94d4b713
JK
1108Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1109
d0bff94e
JK
1110 * config/m68k/{cisco.mt,tm-cisco.h}: New files.
1111 * Makefile.in (ALLPARAM, ALLCONFIG): Add them.
1112 * configure.in: Recognize m68*-cisco*-*.
1113
94d4b713
JK
1114 * Makefile.in (TAGS): Use variables directly, rather than using
1115 find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
1116 and means that these filenames no longer need be unique across all
1117 the config/* directories.
1118 * configure.in: Put the config/*/ into TM_FILE, etc.
1119
1120 * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
1121 and trapv exceptions.
1122
1123 * target.h (struct section_table), objfiles.h (struct obj_section):
1124 Change name of field sec_ptr to the_bfd_section. More mnemonic
1125 and avoids the (sort of, for the ptx compiler) name clash with
1126 the name of the typedef.
1127 * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
1128 solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
1129
1130 * utils.c: Include readline.h.
1131 * Makefile.in (utils.o): Add dependency.
1132
1133 * remote.c (getpkt): Add support for run-length encoding.
1134
8eec3310
SC
1135Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1136
1137 * utils.c (prompt_for_continue): Call readline, not gdb_readline.
1138
ee6d646a
JK
1139Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1140
20657f71
JK
1141 * dstread.c (record_minimal_symbol): New arg objfile. Pass it to
1142 prim_record_minimal_symbol.
1143 Callers: Pass it.
1144
ee6d646a
JK
1145 * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by
1146 computing their offset from the start of the old buffer and adding
1147 to the new buffer, rather than by assuming we can add the
1148 difference between the old buffer and the new buffer (it might not
1149 fit in an int). Merge in cosmetic differences from emacs regex.c
1150 version of this macro.
1151
478d3811
JK
1152Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1153
1154 * Makefile.in (install-only): Fix use of program_transform_name.
1155
c42b8af8
JK
1156Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1157
f8715549 1158 * printcmd.c: Remove "set print fast-symbolic-addr off" command.
478d3811 1159 The bug which it worked around was fixed on 25 Feb 94 in coffread.c,
f8715549
JK
1160 so I'm nuking the command.
1161 * symtab.c (find_addr_symbol): Comment out, no longer used.
1162
a645ccc9
JK
1163 * main.c (main): Don't init_source_path for the -cd argument. Now
1164 that source_path doesn't contain the current_directory from when
1165 GDB started up, init_source_path is no longer useful (and is
1166 harmful because it clobbers a source_path set in $HOME/.gdbinit).
1167
c42b8af8
JK
1168 * TODO: Remove item about line numbers being off. It is useless
1169 and confusing without a reproducible test case (it mentions
1170 proceed(), but I was able to step through proceed without trouble).
1171
ae6d035d
PS
1172Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1173
1174 For Sunos 4.x targets, enable gdb to set breakpoints in shared
1175 library functions before the executable is run. Retrieve dynamic
1176 symbols from stripped executables.
1177 * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type.
1178 * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
1179 symtab.c (list_symbols): Handle mst_solib_trampoline.
1180 * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline
1181 for all targets, remove IBM6000_TARGET dependencies.
1182 * dbxread.c (read_dbx_dynamic_symtab): New function.
1183 * dbxread.c (dbx_symfile_read): Use it.
1184 * dbxread.c (SET_NAMESTRING): Set namestring to
1185 "<bad string table index>" instead of "foo" if the string index is
1186 corrupt.
1187 * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead
1188 of mst_unknown.
1189 * symtab.c (list_symbols): Take from_tty as parameter and pass it
1190 to break_command. Handle mst_file_* minimal symbol types.
1191 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
1192
b427690a
KH
1193Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com)
1194
1195 * c-exp.y(yylex): fix potential memory overflow.
1196
f93b941b
JK
1197Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1198
1199 * environ.c (set_in_environ): Eliminate special handling of PATH and
1200 GNUTARGET.
1201 * putenv.c: Removed, conflicts with system declaration of
1202 putenv on RS/6000 running AIX 3.2.5, and above change makes it
1203 unnecessary.
1204 * Makefile.in: Change accordingly.
1205 * procfs.c (procfs_create_inferior): Change comment accordingly.
1206
17221e41
JK
1207Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
1208
1209 * rs6000-tdep.c: Change value to value_ptr.
1210
8eb79598
JK
1211Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1212
c4ad6b09
JK
1213 * i386m3-nat.c: Include floatformat.h.
1214 (get_i387_state): Use memset not bzero.
1215
5fa83062
JK
1216 * Version 4.12.3.
1217
1218 * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
1219 ieee-float.h to floatformat.h.
1220
79f3d586
JK
1221 * valprint.c (val_print_string): Ignore error if the error
1222 happened after a terminating '\0'.
1223
1224 * c-valprint.c (c_val_print): Never add 1 to return value from
1225 val_print_string; just return what it returns.
1226
8eb79598
JK
1227 * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
1228 looping through all of the enums.
1229 * infrun.c (signals_info): Use it.
1230
c4de6b30
JK
1231Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1232
8e4c7b3e
JK
1233 * main.c (main): When printing warning about bad baud rate, don't
1234 use warning(); it relies on current_target which isn't set up yet.
1235
c4de6b30 1236 * breakpoint.c (_initialize_breakpoint): Update docstring for
d1bdad57
JK
1237 tbreak to match what the code actually does. Don't mention tbreak
1238 in docstrings for "enable once" or "enable breakpoints once".
c4de6b30 1239
d78d4d16
JK
1240Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1241
1242 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
1243 while (0). That defeats the whole purpose of using do . . . while (0).
1244 * mdebugread.c (parse_partial_symbols): Don't use ?: expression as
1245 list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
1246 using a ?: expression as an lvalue is not portable.
1247
1248 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
1249 convert a LOC_ARG to a LOC_REF_ARG. Update code which combines
1250 'p' and 'r' symbol descriptors into a single symbol to look for a
1251 LOC_REF_ARG.
1252 * README, config/sparc/tm-sparc.h: Update comments.
1253
10373914
PS
1254Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1255
1256 * mdebugread.c (parse_type): Do not complain for types with
1257 an `indexNil' aux index, these are simply undefined types.
1258 Remove indexNil check from caller of parse_type.
1259 * mdebugread.c (parse_partial_symbols): Do not enter
1260 stGlobal, scCommon symbols into the minimal symbol table, their
1261 value is the size of the common, not its address.
1262 Handle scInit, scFini, scPData and scXData sections.
1263 Use minimal symbol type mst_file_* for stLabel symbols, instead of
1264 mst_*.
1265 Enter stProc symbols into the global_psymbols list once, not into
1266 the static_psymbols_list.
1267 Get rid of dummy psymtab if it is empty, to allow proper detection
1268 of stripped executables.
1269 * mdebugread.c (cross_ref): Allow cross references to Fortran
1270 common blocks.
1271
fddb9bda
JK
1272Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1273
1274 * stabsread.c (common_block_end, fix_common_block): Stash the
1275 struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
1276 as to not assume that a pointer fits in an enum.
1277
d9389f37
KH
1278Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com)
1279
1280 * os9kread.c (fill_sym): check compiler verion number for pre-
1281 UltraC compiler.
1282 * os9kread.c (os9k_process_one_symbol): address of symbol is
1283 relative to section not module.
1284 * stabsread.c (define_symbol): add symbol type 's' as local
1285 symbol for os9k.
1286 * remote-os9k.c: add command 'set monitor_log' to turn on or off
1287 monitor logging.
1288 * remote-os9k.c: fix bug in delete breakpoint, single step trace.
1289 * remote-os9k.c: fix bug in 'set remotebaud' function.
1290 * remote-os9k.c (rombug_link): minimize checking so to improve
1291 speed.
fddb9bda 1292 * symfile.c (symbol_file_command): check if failed to link, also make
d9389f37
KH
1293 the command be able to accept more than one filenames.
1294 * target.c (target_link): check if failed to link with rombug.
1295 * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
1296
cdc7029d
JK
1297Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1298
1299 * remote-es.c (es1800_child_ops): Don't declare it static.
1300
352c21dd
JK
1301Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com)
1302
1303 * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
1304
ce2f21b2
JK
1305Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1306
9d2b8d50
JK
1307 * dbxread.c: New variable lowest_text_address.
1308 (record_minimal_symbol, read_dbx_symtab): Set it.
1309 (read_dbx_symtab): Use lowest_text_address + text_size instead of
1310 end_of_text_address.
1311 * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
1312
1313 * dbxread.c (end_psymtab): Remove old and commented out
1314 capping_global and capping_static. Fix comments regarding
1315 N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro.
1316
79448221
JK
1317 * parser-defs.h: Add "extern" to start of variable declarations so
1318 we don't end up with commons.
1319 * parse.c: Define these variables.
1320
ce2f21b2
JK
1321 * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
1322 as one.
1323
7810d333
JK
1324Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1325
1326 * alpha-tdep.c: Change value to value_ptr.
1327
a6e21fba
PS
1328Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1329
1330 * solib.c (elf_locate_base): New function to locate the address
1331 of the dynamic linker's runtime structure in the dynamic info section.
1332 * solib.c (locate_base): Use it instead of iterating over the list
1333 of mapped address segments.
1334 * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer
1335 necessary.
1336
70e43abe
JL
1337Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1338
1339 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
1340 (pc_in_interrupt_handler): New function. Also add PARAM decl.
1341 (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
1342 signal trampoline and interrupt routines.
1343 (frame_saved_pc): Handle signal trampolines and interrupt routines.
1344 (frame_chain, frame_chain_valid): Likewise.
1345 (hppa_frame_find_saved_regs): Likewise. Also deal with special
1346 saved regs convention for SP.
1347
1348 * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
1349 (FRAME_BASE_BEFORE_SIGTRAMP): Define.
1350 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.
1351
1352 * tm-hppah.h (IN_SIGTRAMP): Define.
1353
833a2895
JK
1354Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1355
93dc3414
JK
1356 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
1357 alphabetic character as the start of a name.
1358
b855dfe7
JK
1359 * sparclite/Makefile.in (all install): Build and install aload.
1360
d9a5e91f
JK
1361 * configure.in: Accept i[34]86-*-*sysv32 because that is what
1362 config.guess and config.sub produce.
1363
833a2895
JK
1364 * mips-tdep.c: Change value to value_ptr.
1365
82a2edfb
JK
1366Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1367
1368 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
1369 cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
1370 objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
1371 valarith.c, valops.c, valprint.c, value.h, values.c: Replace
1372 value with value_ptr. This is for the ptx compiler.
1373 * objfiles.h, target.h: Don't declare a "sec_ptr" field using a
1374 "sec_ptr" typedef.
1375 * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
1376 #if 0 i386_float_info.
1377 * symm-tdep.c (round): Remove. Also remove sgttyb.
1378 * symm-tdep.c: Remove lots of stuff which duplicates stuff from
1379 i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb.
1380 * i386-tdep.c (i386_frame_find_saved_regs): Put in
1381 I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
1382 someday.
1383 * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move
1384 stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
1385 symm-nat.c. Define CHILD_WAIT and declare child_wait().
1386 * config/i386/tm-symmetry.h: Remove call function stuff; stuff in
1387 tm-i386v.h is apparently OK.
1388 * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
1389 HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
1390 USE_O_NOCTTY.
1391
c485c7a9
PS
1392Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1393
1394 * osfsolib.c (xfer_link_map_member): Update to use new
1395 target_read_string interface.
1396
d1c0c6cf
JK
1397Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1398
1399 * infrun.c (wait_for_inferior): In checking
1400 remove_breakpoints_on_following_step, check
1401 through_sigtramp_breakpoint as well as step_resume_breakpoint.
1402
25200748
JK
1403Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1404
1405 * os9kread.c (os9k_process_one_symbol): Rename
1406 VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
1407 * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
1408 (CORE_ADDR)0, from target_link, since that is what it uses.
1409 Process name at end, not during parsing (like we did before Kung's
1410 change), so that -readnow and -mapped can appear anywhere.
1411 Make text_relocation a local variable.
1412 * config/i386/i386os9k.mt: Fix comment.
1413 * Makefile.in (ALLDEPFILES): Add remote-os9k.c.
1414 * os9kread.c: Put "comments" after #endif inside /* */.
1415 * stabsread.h: Add os9k_stabs variable.
1416 * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
1417 Set it.
1418 * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
1419 descriptor in global_symbols not local_symbols.
1420 (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
1421 descriptors.
1422 (read_type): If os9k_stabs, accept function parameters after 'f'
1423 type descriptor.
1424 (read_array_type): If os9k_stabs, don't expect index type and
1425 expect lower and upper to be separated by ',' not ';'.
1426 (read_enum_type): If os9k_stabs, read a number before the first
1427 enumeration constant.
1428 (os9k_init_type_vector): New function.
1429 (dbx_lookup_type): Call it when starting new type vector.
1430 * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
1431 * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
1432 * os9kstab.c: Removed.
1433 * Makefile.in: Update accordingly.
1434 * objfiles.c (objfile_relocate_data): Removed.
1435 * remote-os9k.c (rombug_wait): Call objfile_relocate
1436 not objfile_relocate_data.
1437 * objfiles.h, objfiles.c: Remove find_pc_objfile.
1438 * remote-os9k.c (rombug_wait): Call find_pc_section not
1439 find_pc_objfile.
1440 * main.c (quit_command): Check inferior_pid; revert Kung change.
1441 * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
1442
1340861c
KH
1443Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com)
1444
1445 * os9kread.c: New file to read os9000 style symbo table.
1446 * os9kstab.c: new file to read os9000 style stabs.
1447 * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
1448 * objfiles.c (find_pc_objfile): new function to search objfile
1449 from pc.
1450 * objfiles.c (objfile_relocate_data): new function to relocate
1451 data symbols in symbol table.
1452 * objfiles.h: Add two aux fields in struct objfile to handle
1453 multiple symbol table files situation like in os9000.
1454 * symfile.c: Change so 'symbol-file' command can handle multiple
1455 files. Also call target_link() to get relocation infos.
1456 * target.c (target_link): new function to get relocation info when
1457 a symbol file is requested to load.
1458 * main.c (quit_command): take out 'inferior_pid != 0' condition,
1459 because in cross mode there's no inferior pid, bit they need to
1460 be detached.
1461 Makefile.in: add os9kread.c os9kstab.c and .o's.
1462 configure.in: add i386os9k target.
1463 config/i386/i386os9k.mt: new add.
1464 config/i386/tm-i386os9k.h: new add.
1465
137b6849
PS
1466Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1467
1468 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
1469 * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
1470
4ad0021e
JK
1471Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1472
1473 * target.c, target.h (target_read_string): Provide error detection to
1474 caller. Put string in malloc'd space, so caller need not impose
1475 arbitrary limits.
1476 * solib.c (find_solib): Update to use new interface.
1477 * irix5-nat.c (find_solib): Read o_path from inferior
1478 (clear_solib): Free storage for o_path.
1479 * valprint.c (val_print_string): Add comments.
1480
e3d6ec4a
PS
1481Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1482
1483 * symtab.c (decode_line_1): Handle the case when skip_quoted does not
1484 advance `p'.
1485
c8ff77be
JK
1486Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1487
30974778
JK
1488 * value.h (struct value): Add modifiable field.
1489 * values.c (allocate_value, record_latest_value, value_copy): Set it.
1490 (record_latest_value): Don't mess with VALUE_LVAL of value.
1491 * valops.c (value_assign): Check it. Reword existing error
1492 message on not_lval.
1493
b5aff268
JK
1494 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
1495 (STEP_SKIPS_DELAY): Added.
1496 * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
1497 the delay slot.
1498
c8ff77be
JK
1499 * valprint.c (val_print_string): If errcode is set, always print
1500 an error, regardless of force_ellipsis. In the non-EIO case,
1501 just print the error message rather than calling error(). Don't
1502 access *(bufptr-1) if bufptr points to the start of the buffer.
1503 When looking for '\0', don't increment bufptr and addr if bufptr
1504 started out already at limit. If an error happens on fetching the
1505 first character, don't print the string.
1506
2882219f
JK
1507Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1508
1509 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
1510 obsolete.
1511
1512 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
1513 i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
1514 config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
1515 m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
1516 * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
1517 * findvar.c: Update comment regarding ieee-float.h.
1518
28ee4b42
PS
1519Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1520
1521 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,
1522 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
1523 Define to make backtracing through the various sigtramp handlers
1524 work.
1525 * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch
1526 the saved pc from ucontext on the stack for SVR4 signal handling.
1527
25354cef
JK
1528Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1529
c20c1bdf
JK
1530 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
1531 target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
1532 baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate;
1533 just use the global variable itself. When printing baud rate,
1534 don't print a baud rate if baud_rate is -1.
1535
25354cef
JK
1536 * coffread.c (read_coff_symtab): Pass mst_file_* to
1537 record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT
1538 symbols in the minimal symbols regardless of SDB_TYPE.
1539
7126c1d0
JK
1540Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1541
bcc37718
JK
1542 * breakpoint.h (enum bptype): New type bp_through_sigtramp.
1543 (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
1544 * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
1545 if we hit a bp_through_sigtramp breakpoint. Remove kludge which
1546 ignored bs->stop for a bp_step_resume breakpoint.
1547 * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
1548 which performs one (the check_sigtramp2 one) of the functions
1549 which had been handled by the step_resume_breakpoint. For each
1550 use of the step_resume_breakpoint, make it still use the
1551 step_resume_breakpoint, use the through_sigtramp_breakpoint, or
1552 operate on both.
1553 Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
1554 When setting the frame address of the step resume breakpoint, set
1555 it to the address for frame *before* the call instruction is
1556 executed, not after.
1557
3fed1c4a
JK
1558 * mips-tdep.c (mips_print_register): Print integers using
1559 print_scalar_formatted rather than duplicating all the
1560 CC_HAS_LONG_LONG and so on.
1561 (mips_push_dummy_frame): Use read_register_gen rather than using
1562 read_register and then putting it back in target format with
1563 store_unsigned_integer. If registers are more than 4 bytes, give
1564 an error rather than have some registers overwrite other
1565 registers.
1566 #if 0 unused include of opcode/mips.h.
1567
1568 * symfile.h: Don't declare arguments for coff_getfilename.
1569
7126c1d0
JK
1570 * defs.h: Revert Kung change regarding FORCE_LONG_LONG.
1571
6bfd168c
JL
1572Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1573
1574 * configure.in (hppa*-*-osf*): New configuration.
1575 * config/pa/hppaosf.mt: New target makefile fragment.
1576 * config/pa/tm-hppao.h: New target include file.
1577
5c07a10b
PS
1578Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1579
1580 * exec.c (print_section_info): Print entry point for exec_bfd only.
1581 * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
8ce2cfc0
PS
1582 * dwarfread.c: Remove second inclusion of <sys/types.h>, which
1583 causes problems if <sys/types.h> has no multiple inclusion protection.
5c07a10b 1584
fce7695f
JL
1585Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com)
1586
1587 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
1588 the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
1589 (CALL_DUMMY_LENGTH): Changed accordingly.
1590
318ee78a
SG
1591Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com)
1592
75a006d9
SG
1593 * sparc-stub.c (trap_low): Make trap handler work for arbitrary
1594 numbers of register windows.
1595
318ee78a
SG
1596 * sparclite/hello.c: Add factorial function for testing.
1597 * salib.c: Use macros instead of constants for I/O addresses to
1598 make 931 support easier.
1599 * sparclite.h: Change constraint for LOC to "rJ" to force use of
1600 register in sta/lda instructions.
1601
56dd4126
JK
1602Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com)
1603
1604 * dbxread.c (process_one_symbol): Set
1605 block_address_function_relative for COFF like we do for ELF and SOM.
1606
847d9775
PS
1607Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1608
1609 * mdebugread.c (new_psymtab): Pass in section_offsets and set
1610 them in the pst.
1611 * mdebugread.c (handle_psymbol_enumerators): New function to enter
1612 the enumerators of an ecoff enum into the partial symbol table.
1613 * mdebugread.c (parse_partial_symbols): Call it.
1614 * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next.
1615 * symmisc.c (dump_psymtab): Fix typo, clean up output of section
1616 offsets. Cast psymtab->read_symtab to PTR before passing it to
1617 gdb_print_address.
1618 * i386-tdep.c (i386_skip_prologue): Skip over instructions that
1619 set up the global offset table pointer in pic compiled code.
1620 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
1621 error() on TYPE_CODE_FLT arguments whose size is greater than 8,
1622 swap all other TYPE_CODE_FLT arguments as mips_push_arguments
1623 ensures that floats are promoted to doubles before they are pushed
1624 on the stack.
1625
9f35e15a
SG
1626Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com)
1627
1628 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
1629 Fixup cache_on and flush_i_cache so that they work for both the
1630 930 and 932 processors. Rewrite most low level funcs (uart
1631 access & cache stuff) to use new ASI access macros in sparclite.h.
1632 Also make it easy to access second serial port.
1633
56173dc5
ILT
1634Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1635
1636 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
1637 <sys/stat.h>; not needed.
1638
c84bab2d
JK
1639Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1640
1641 * stack.c (print_frame_info): In "pathological" case, don't
1642 distrust the line number information.
1643
748d77d7
KH
1644Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com)
1645
1646 * mips-tdep.c (mips_print_register): handle 64 bits register.
1647 * valprint.c (print_longest): fix a bug in printing 64 bits value.
1648
889f1f03
JK
1649Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1650
1eb89b9e
JK
1651 * Version 4.12.2.
1652
ef1a0540
JK
1653 * Makefile.in (install): Do the sed for program_transform_name
1654 ourselves instead of worrying about INSTALL_XFORM. This enables
1655 users to override INSTALL_PROGRAM in the standard way.
1656
1657 * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
1658 depend on Makefile.in.
1659
fb0f4231
JK
1660 * defs.h, valprint.c: Make longest_to_int a function not a macro.
1661 Only test against INT_MIN if a LONGEST is bigger than an int.
1662
889f1f03
JK
1663 * README: Change GhostScript to Ghostscript.
1664
662f3b3f
JK
1665Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com)
1666
d5cb2f7d
JK
1667 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
1668 Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
1669 character file names.
1670 * Makefile.in (ALLPARAM): Add these files.
1671
662f3b3f
JK
1672 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
1673 character file names.
d5cb2f7d 1674 * Makefile.in: Add Kung's new mips64 files.
662f3b3f 1675
70126bf9
KH
1676Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com)
1677
1678 * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
1679 mips64el-*-ecoff and mips64-big-*.
1680 * defs.h: get rid of FORCE_LONG_LONG.
1681 * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
1682 parsing. Change register size to be MIPS_REGSIZE.
1683
c4a081e1
DM
1684Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1685
1686 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
1687 osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
1688 xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
1689
3b5442f9
SC
1690Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
1691
1692 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
1693 (remove_commands, add_commands): Add/remove hms-drain when target
1694 is connected.
1695
d87d7b10
SG
1696Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com)
1697
1698 * configure.in: Add Lynx/rs6000 support.
1699 * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error
1700 messages. Add rs6000 support. Don't try to modify unwritable
1701 registers.
1702 * rs6000-nat.c: Move lots of native dependent stuff (like core
1703 file support) from rs6000-tdep.c & xcoffexec.c to here.
1704 * rs6000-tdep.c: Move native dependent stuff to nat.c.
1705 * xcoffexec.c: Move native dependent stuff to nat.c.
1706 * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here
1707 from tm file.
1708 * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're
1709 really native.
1710 * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
1711 New files to support Lynx/rs6000.
1712
ba47c66a
PS
1713Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1714
1715 * README: Remove note about gcc warnings on alpha, these should be
1716 gone now.
1717 * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
1718 m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
1719 remote-utils.c, stabsread.c: Include <string.h>.
1720 * regex.c: Include "defs.h", change re_comp argument to const char *.
1721 * infptrace.c (fetch_register, store_inferior_registers): Change
1722 regaddr to type CORE_ADDR.
1723 * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
1724 Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1725
1726Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1727
1728 * symtab.h: Always define BYTE_BITFIELD to nothing.
1729
ea5dad7f
JK
1730Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1731
1732 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
1733 * configure.in: Remove comment about m68k-em.mt.
1734 * Makefile.in: Remove references.
1735
6ddba992
JK
1736Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1737
1738 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
1739 BFD_HOST_64_TYPE.
1740
01cd70b9
JK
1741Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1742
1dd29bef
JK
1743 * target.c (target_preopen): If target_kill doesn't remove the
1744 target from the stack, use pop_target to do it.
1745
704aea43
JK
1746 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
1747 of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
1748 changes to stabsread.c from summer 1993.
1749
4a00e1de
JK
1750 * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
1751 printing the program, rather than passing NULL to printf.
1752 (udi_detach): Set udi_session_id to -1 so that udi_close doesn't
1753 try to call UDIDisconnect again. Print better message.
1754 (udi_kill): Just call UDIDisconnect ourselves, rather than doing
1755 it via udi_close.
4a00e1de
JK
1756 (udi_create_inferior): If udi_session_id is negative, open a new
1757 TIP rather than giving an error.
1758
01cd70b9
JK
1759 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
1760 config/ns32k/ns32km3.mh: Define NAT_FILE.
1761 * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
1762 (it was inconsistent and namespace-wrong) to NM_M3_H.
1763 * m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
1764 (m3_open): New function.
1765 (m3_ops): Use it.
1766 * TODO: Update Mach section.
1767
1768 * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1769
d41b3eed
PB
1770Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
1771
1772 * printcmd.c (printf_command): Add missing single-letter
1773 backslash-escape sequences, and improve error message.
1774
7343d716
JK
1775Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1776
842cf831
JK
1777 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
1778 rather than trying to shove an int into a pointer and back out
1779 again. This avoids compiler warnings.
1780
7343d716
JK
1781 * defs.h (alloca): Declare as void *, not char *, on hpux.
1782 Don't prototype it, just declare the return type.
1783
57a9fee3
PS
1784Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1785
1786 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
1787 (REGISTER_CONVERT_TO_RAW): Add missing backslash.
1788
a1bd6534
JK
1789Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1790
021b10e3
JK
1791 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
1792 ZERO_REGNUM, just read it as zero without talking to the board.
1793
8b0a85ba
JK
1794 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
1795 backslash.
1796 * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
1797 to store_floating, not nonexistent variable len.
1798
aa56c716
JK
1799 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
1800 New functions.
1801 (mips_store_word): Change calling convention to return errors, and
1802 to provide old contents if the caller wants it.
1803 (mips_xfer_memory): Deal with errors from mips_store_word.
1804 * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
1805 define now that remote-mips.c doesn't use BREAKPOINT.
1806
1807 * remote-mips.c (mips_create_inferior): Call warning if arguments
1808 specified, and then execute "set args" command. Call error, not
1809 mips_error, if executable file not specified.
1810
29fc92e8
JK
1811 * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
1812 remote_debug.
1813
a1bd6534
JK
1814 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
1815 to unsigned int.
1816
65e98f5b
PS
1817Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1818
1819 * value.h (print_longest): Rename "value" to "val" in prototype
1820 declaration because some compilers don't like arguments whose
1821 names are the same as types.
1822 * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char *
1823 before passing it to remote_*_bytes.
1824
edd01519
SC
1825Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
1826
1827 * h8500-tdep.c (saved_pc_after_call): The size of the
1828 pc is memory model dependent. (segmented_command,
1829 unsegmented_command, _initialize_h8500_tdep): New commands to
1830 change memory model.
29fc92e8 1831 * remote-e7000.c (_initialize_remote_e7000): Change name of snoop
edd01519 1832 command.
678ee700
SC
1833 * remote-hms.c (hms_load): Remove breakpoints when loaded.
1834 (hms_wait): Use new status structure
1835 (hms_open): Push the target here. (hms_before_main_loop): Not
1836 here. (supply_val, hms_fetch_register, hms_store_register): Cope
1837 with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE.
1838 * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
1839 all registers in a compact way.
edd01519 1840
9c01440d
JK
1841Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1842
1843 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
1844 as CORE_ADDR to match definition in rs6000-tdep.c.
1845
4386eff2
PS
1846Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1847
1848 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
1849 * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
1850 definitions into the psymtab.
1851
d351c7a6
JK
1852Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1853
1854 * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
1855 a special exceptionSize for the 68332.
1856
1857 * remote-udi.c (udi_attach): If no arguments, print error.
1858
4901e77d
FF
1859Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
1860
1861 * Makefile.in (VERSION): Bump to 4.12.1
1862 * NEWS, README: Update to match 4.12 release.
1863
159ada02
JK
1864Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1865
4901e77d
FF
1866 * command.c (empty_sfunc): New function.
1867 (add_set_cmd): Use it instead of not_just_help_class_command.
1868 (not_just_help_class_command): Change calling convention back to
1869 what it was before yesterday's change.
1870
159ada02
JK
1871 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
1872 of the type if present.
1873
5b3591ab
JK
1874Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1875
eade0c6c
JK
1876 * printcmd.c (decode_format): Don't blithely set the size for
1877 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
1878
1879 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
1880 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
1881 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
1882 always just check against INT_MIN and INT_MAX (this also fixes things
1883 if sizeof (long) > sizeof (int), e.g. Alpha).
1884 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
1885 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
1886 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
1887 BUILTIN_TYPE_UNSIGNED_LONGEST.
ce855594
JK
1888 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
1889 longest_int and longest_unsigned_int.
eade0c6c
JK
1890 * value.h (struct value): Just align to LONGEST, rather than worrying
1891 about CC_HAS_LONG_LONG.
b1de1647
JK
1892 * valarith.c (value_binop): Figure out type ourself based on
1893 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
1894 point is that we don't depend on CC_HAS_LONG_LONG anymore.
eade0c6c
JK
1895 * valprint.c (val_print_type_code_int): Just call
1896 extract_unsigned_integer directly, rather than going through
1897 unpack_long.
1898 * printcmd.c (decode_format): Remove code which would sometimes
1899 change 'g' size to 'w' for integers. print_scalar_formatted handles
1900 printing huge integers well enough, thank you.
1901
4901e77d 1902 * command.c (add_set_cmd, not_just_help_class_command): Change
719d9abb
JK
1903 to make this the sfunc, not cfunc, since that is how we call it.
1904 * command.h: Comment difference between sfunc and cfunc.
1905 * demangle.c (set_demangling_command): Add third arg since that
1906 is how it is called.
1907 (_initialize_demangler): Use sfunc, not cfunc, for
1908 set_demangling_command, since that is how it is called.
1909 Remove show_demangling_command; it has no effect.
1910
5b3591ab
JK
1911 * command.c (shell_escape): Report errors correctly (with error
1912 message from strerror).
1913
37f24dc9
ILT
1914Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1915
1916 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
1917 x_scnlen.l rather than x_scnlen to match corresponding change in
1918 coff/internal.h.
1919
61932a8e
JK
1920Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1921
1922 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
1923 Change comments regarding TYPE_CODE_BOOL.
1924 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
1925 regardless of the language.
1926 (value_true): Just call value_logical_not regardless of language.
1927 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
1928 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
1929 * language.h: Improve comment for la_builtin_type_vector.
1930 * m2-lang.c (_initialize_m2_language): Don't add any fields to
1931 builtin_type_m2_bool.
1932
7bec77b4
JK
1933Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
1934
1935 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
1936 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
1937
8afd05c0
JK
1938Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1939
1940 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
1941 by restarting the ioctl.
1942
10b9bb56
JK
1943Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1944
1945 * target.h (target_wait): Add comment about calling
1946 return_to_top_level.
1947
bf8d9d28
ILT
1948Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1949
1950 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
1951 additional arguments.
1952 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
1953
efe3ff3e
SG
1954Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
1955
1956 * sparc-stub.c: Remove unnecessary #include of memory.h.
1957
37dea45f
JK
1958Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1959
14d79562
JK
1960 * mips-tdep.c: Remove code which sets saved_regs from
1961 init_extra_frame_info and put it in new function mips_find_saved_regs.
1962 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
1963 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
1964 check if it is NULL and call mips_find_saved_regs if so.
1965
47d52968
JK
1966 * remote-mips.c: Use unfiltered, not filtered, output most places.
1967
37dea45f
JK
1968 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
1969 backtrace. Revise comments.
1970
0434c1a0
PS
1971Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1972
1973 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
1974 alpha and irix. The _sigtramp case has to be handled properly
1975 in the tdep files if we have no ecoff debugging info.
1976 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
1977 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
1978 without PC_REGNUM kludge.
1979 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
1980 Clean up handling of mips sigtramp frames, improve comments.
1981
d64956fa
JL
1982Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1983
1984 * paread.c (read_unwind_info): Fix typo.
1985
1986 * paread.c (pa_symtab_read): Update the "check_strange_names"
1987 filter to match GCC's current output. Filter out section symbols
1988 (which the HP linker sometimes puts in the wrong place).
1989
9db58d3a
JK
1990Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1991
3a479851
JK
1992 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
1993
a0b352c0
JK
1994 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
1995
1996 * Makefile.in: Remove all references to sparcly-nat.c.
1997
1998 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
1999 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
2000 duplicating serial.h and target.h.
2001
7a78db15
JK
2002 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
2003 are not used anywhere (a 5 Oct 1993 change removed the uses).
2004
895efe6b
JK
2005 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
2006 * config/m68k/es1800.mt: Add comment.
3a479851 2007 * remote-es.c: Extensive changes to update to current conventions.
895efe6b 2008
9db58d3a
JK
2009 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
2010 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
2011 to achieve the desired timeout.
2012 * serial.h (serial_t): Add field timeout_remaining.
2013
f28c6e38
JK
2014Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2015
2016 * c-exp.y (yylex): Reenable nested type code.
2017
b09f44d2
JK
2018Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2019
7f2ffa58
JK
2020 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
2021
796d1fd3
JK
2022 * remote-mips.c (mips_ops): Fix docstring.
2023
97cc0428
JK
2024 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
2025
ddd0223e
JK
2026 * config/m68k/tm-monitor.h: Changes to bring this into accordance
2027 with the old tm-m68k-em.h:
2028 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
97cc0428 2029 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
ddd0223e
JK
2030 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
2031 Add FIXME regarding GET_LONGJMP_TARGET.
2032
b09f44d2 2033 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
97cc0428
JK
2034 * infptrace.c (kill_inferior): Add comments.
2035 * main.c (quit_command): Call target_close after we kill or
2036 detach.
2037 * remote-udi.c (udi_close): Don't error() if QUITTING.
b09f44d2 2038
0ffba029
RS
2039Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
2040
2041 * configure.in: Make m68k-coff and aout add monitor support in
2042 addition to the standard serial support.
2043
bb7cb982
JK
2044Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2045
2046 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
2047 index indexNil.
2048
9fdb3f7a
JK
2049Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2050
2051 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
2052 * elfread.c (record_minimal_symbol_and_info),
2053 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
2054
a28d16d3
JK
2055Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2056
6202263d
JK
2057 * i386-stub.c: Add ".text" right before "mem_fault:".
2058
9c41f6a6
JK
2059 * main.c (baud_rate): Add FIXME comment about printing -1 value.
2060
2061 * remote-utils.c (usage): Fix message to be accurate and conform
2062 more closely to normal conventions.
2063
2064 * remote-utils.c (gr_files_info): Have the exec_bfd test control
2065 whether to show information about exec_bfd, and not control whether
2066 to show information about device and speed.
2067
2068 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
2069 usage message, don't dump core.
2070
2071 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
2072 for variable size array.
2073 (bug_fetch_register, bug_store_register): Rename "value" to
2074 "fpreg_buf" because some compilers don't like variables whose
2075 names are the same as types.
2076 (bug_store_register): Use a cast when converting char * to
2077 unsigned char *.
2078
d5c551c9
JK
2079 * symmisc.c (maintenance_print_symbols): Don't refer to the name
2080 of the command in error message (the text was referring to the old
2081 name of the command).
2082
2083 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
2084
0e4ad984
JK
2085 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
2086 full details on structure elements without names. This partially
2087 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
2088 of those changes was accidental.
2089
577da8cb
JK
2090 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
2091 defined, make it an error to specify a single argument which is not
2092 a frame number.
2093
a28d16d3
JK
2094 * Makefile.in (version.c), main.c (print_gdb_version): Use
2095 host_alias and target_alias, not host_canonical and
2096 target_canonical, to print configuration.
2097
833e0d94
JK
2098Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2099
d92f3f08
JK
2100 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
2101 of builtin_type_long. It is necessary to get a type which is
2102 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
2103
833e0d94
JK
2104 Fix many sins which will come up in 32 bit x 64 bit GDB, and
2105 various miscellaneous things discovered in the process:
2106 * printcmd.c, defs.h (print_address_numeric): New function.
2107 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
2108 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
2109 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
2110 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
2111 Use it.
2112 * utils.c, defs.h (gdb_print_address): New function.
2113 * expprint (dump_expression), gdbtypes.h: Use it.
2114 * breakpoint.c (describe_other_breakpoints),
2115 symmisc.c (dump_symtab, print_symbol):
2116 Use filtered not unfiltered I/O.
2117 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
2118 just run gdb under a debugger for this (and it had problems with
2119 printing addresses, how to print b->shadow, etc.).
2120 * buildsym.c (make_blockvector), core.c (memory_error),
2121 exec.c (print_section_info), maint.c (print_section_table),
2122 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
2123 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
2124 Add comments saying code is broken. Marked with "FIXME-32x64".
2125 * dbxread.c (process_one_symbol), partial-stab.h (default),
2126 remote-vx.c (vx_run_files_info):
2127 Don't cast int being passed to local_hex_string.
2128 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
2129 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
2130 only being a long.
2131 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
2132 and LOC_LOCAL.
2133 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
2134 * source.c: Include <sys/types.h> regardless of USG.
2135
67e9b3b3
PS
2136Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2137
2138 * valops.c (value_assign): Set `type' after coercing toval.
2139 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
2140 Use extract_unsigned_integer to get the address of a reference.
2141
36464897
JK
2142Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2143
91a0575c
JK
2144 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
2145 AIX can use ? instead of \ for continuation. Deal with it.
2146
36464897
JK
2147 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
2148 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
2149 the HP compiler in ANSI mode doesn't like.
2150
2151 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
3bc45b7a
JK
2152 based on USG, rather than defining HAVE_SIGSETMASK to an
2153 expression containing defined. Having a macro used in #if expand
2154 to an expression containing "defined" is undefined according to
2155 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
2156 it to.
36464897 2157
2ba6182b
JG
2158Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
2159
2160 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
2161 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
2162
96b6b765
PB
2163Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
2164
2165 * ch-exp.y (match_string_literal): Allow a zero-length string.
2166 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
2167
dfd4c728
JK
2168Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2169
2170 * i386aix-nat.c (i386_float_info): Reverse order of registers before
2171 passing them to print_387_status.
2172 (print_387_status): Don't subtract top from 7 before using it.
2173 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
2174 from 7; the above explains it.
2175
5efd597b
PS
2176Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2177
2178 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
67e9b3b3 2179 pointer value when fixing up the frame at the start of a function.
5efd597b 2180
e90445c9
SG
2181Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
2182
2183 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
2184 Sparc from the stack.
2185
08f74b92
JK
2186Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2187
864df7e6
JK
2188 * remote-mips.c (mips_initialize): Clear mips_initializing via
2189 cleanup chain, not directly.
2190
2191 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
2192 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
2193 munging the timeout due to the limited range of c_cc[VTIME].
2194
08f74b92
JK
2195 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
2196 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
2197 m3-nat.c (m3_create_inferior): Pass it.
2198 * procfs.c: Remove ptrace function. It was declared in a way which
2199 conflicted with the prototype in unistd.h on Solaris.
2200
cdcf48be
PS
2201Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2202
2203 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
2204 in the sigcontext if it is a signal trampoline frame.
2205 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
2206 Define for Solaris2.
2207
8bf94f44
SG
2208Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
2209
2210 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
2211 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
2212 tm-sparc.h so they can be overridden if necessary.
2213
d575ddc0
SG
2214Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
2215
2216 * lynx-nat.c: Add Sparc support.
2217 * sparcly-nat.c: Remove. It's useless.
2218 * config/sparc/nm-sparclynx.h: Rewrite.
2219 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
2220 with lynx-nat.o
2221 * config/sparc/tm-sparclynx.h: Rewrite.
2222
00240279
ILT
2223Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2224
2225 * rs6000-pinsn.c: Use the new disassembler in the opcodes
2226 directory. Old code was discarded, since the new opcode table has
2227 a different format.
2228
a2608ea1
FF
2229Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
2230
2231 * Makefile.in (realclean): Remove info files per make-stds.texi.
2232
6545c6a0
JK
2233Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2234
2235 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
2236 if N_SO_ADDRESS_MAYBE_MISSING is defined.
2237 * config/sparc/tm-sun4sol2.h: Define it.
2238
cd5ee294
JK
2239Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2240
2241 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
2242 if we did not find a symbol.
2243
918fea3e
JL
2244Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2245
2246 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
2247 is not defined.
2248
2249 * hppab-nat.c (call_ptrace): Delete redundant function.
2250 (kill_inferior, attach, detach, child_resume): Likewise.
2251 (child_xfer_memory): Likewise.
2252
2253 * hppah-nat.c (call_ptrace): Delete redundant function.
2254 (kill_inferior, attach, detach, child_resume): Likewise.
2255
2256 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
2257
2258 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
2259
2260 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
2261
2262 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
2263 (CHILD_XFER_MEMORY): Define.
2264 (PT_*): Define so that generic infptrace.c code can be used.
2265
27ad511f
JK
2266Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2267
1b880e74
JK
2268 * xcoffread.c (xcoff_symfile_read): Make second parameter a
2269 struct section_offsets *, not a (nonexistent) struct section_offset *.
2270
6657a0c7
JK
2271 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
2272 internal_xcoff_symtab, not an array of one of them. Change lots of
2273 "main_aux" to "&main_aux" and so on.
2274
27ad511f
JK
2275 * coffread.c, xcoffread.c: Include <coff/internal.h>
2276 before "symfile.h".
2277
d4a0983a
JK
2278Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2279
dbb0fae2
JK
2280 * coffread.c (coff_getfilename): Make it not static.
2281
d4a0983a
JK
2282 * xcoffread.c (read_xcoff_symtab): complain() not abort().
2283
2284 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
2285 a completely gratuitous difference between xcoffread.c and coffread.c).
2286
d7e7e851
JK
2287Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2288
2289 * infrun.c (wait_for_inferior): Don't set frame for
2290 step_resume_breakpoint for IN_SIGTRAMP cases.
2291
2292 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
2293 breakpoint.c (bpstat_what): Move step_resume from its own field of
2294 the struct bpstat_what into the main_action. Make it override
2295 other breakpoints. This is a conservative change in the sense
2296 that before the step resume breakpoint was a breakpoint.c
2297 breakpoint, hitting the step resume breakpoint overrode even
2298 calling bpstat_stop_status.
2299
f1de67d3
PS
2300Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2301
2302 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
2303 in case execution was stopped in the called function.
2304 * stack.c (print_frame_info, frame_info): If backtracing through
2305 a call dummy, handle the starting source line number on a line
2306 boundary like backtracing through sigtramp.
2307 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
2308 for call dummy frame right. Remove old test for dummy frame,
2309 it has been unused at least since gdb-3.5.
2310 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
2311 of the dummy frame.
2312
c6e0f918
JK
2313Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2314
2315 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
2316
db4340a6
JK
2317Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2318
2319 * infrun.c (signals_info), target.c (target_signal_from_name):
2320 Use ugly casts to avoid enumvar < enumvar or enumvar++.
2321
4d4f2d50
JK
2322Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2323
d881dd86
JK
2324 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
2325 * inflow.c (terminal_ours_1): When discussing how to deal with the
2326 tty state, make note of query() as well as readline.
2327
4d4f2d50
JK
2328 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
2329 signals for which stop and print are cleared by default.
2330
5c38fcee
JL
2331Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2332
c7f3b703
JL
2333 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
2334 reserved fields to hold a stub unwind entry type. Fix typo.
2335 (stub_unwind_entry): New structure for raw stub unwind entries.
2336 (stub_unwind_types): The types of stubs we may encounter.
2337 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
2338 * hppa-tdep.c (rp_saved): Use additional information provided
2339 by linker stub unwind descriptors.
2340 (frameless_function_invocation): Likewise.
2341 (frame_chain_valid): Likewise.
2342 * paread.c (compare_unwind_entries): New function for sorting
2343 unwind table entries.
2344 (read_unwind_info): Rewrite to remove dependency on host endianness.
2345 Read in data from the $UNWIND_END$ subspace which contains linker
2346 stub unwind descriptors. Merge that data into the basic unwind
2347 table.
2348
5c38fcee
JL
2349 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
2350
af8b7906
JK
2351Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2352
2353 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
2354 from either the symbol name or the auxent.
2355 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
2356 no longer static.
2357
0e7da49c
FF
2358Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
2359
2360 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
2361
b90811f9
PS
2362Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2363
2364 * README: Update notes for alpha port.
2365
24a11a79
JK
2366Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2367
2368 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
2369 for operation fault, constraint fault, and type fault.
2370
b76dcd4b
JK
2371Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2372
623d7380
JK
2373 * Makefile.in (init.c): Add comment explaining formatting conventions.
2374
a39f7739
JK
2375 * c-exp.y (parse_number): Assign to temporary between the right
2376 shifts, to work around a bug in the SCO compiler.
2377
07919221
JK
2378 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
2379 Add various files which were added to GDB recently.
2380
91cc45da
JK
2381 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
2382 within_function.
2383
b76dcd4b
JK
2384 * Makefile.in: Add mostlyclean target.
2385
d7a5ff3c
JK
2386Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2387
2388 * Version 4.11.4.
2389
8b564df8
PB
2390Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
2391
2392 * main.c (show_commands): Make return type of extern
2393 history_get be HIST_ENTRY, rather than struct _hist_entry.
2394 (The latter loses with the upcoming merged readline.)
2395
dac317dc
JK
2396Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2397
ab5f7971
JK
2398 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
2399 const char *, not char *.
2400
fb155ce3
JK
2401 * symtab.h (struct symbol): Make section short, not unsigned short.
2402
87041845
JK
2403 * symtab.c (lookup_symbol): Add comment about QUIT here.
2404
f29351d9
JK
2405 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
2406
a9b32d61
JK
2407 * c-exp.y (parse_number): Check for overflow regardless of range
2408 checking. Fix overflow check to use unsigned LONGEST, not
2409 unsigned int.
2410
2411 * c-exp.y (parse_number): Make it so that integer constants are
2412 builtin_type_long_long if builtin_type_long isn't big enough or if
2413 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
2414
dac317dc
JK
2415 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
2416 Print our "()" first, then recurse for the target type.
2417
4c0b3e57
JK
2418Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2419
831a39d7
JK
2420 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
2421
4c0b3e57
JK
2422 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
2423
44a09a68
JK
2424Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2425
2426 * utils.c (request_quit): Re-establish signal handler regardless
2427 of USG.
2428
2429 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
2430
98506620
JK
2431Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2432
2433 * i960-tdep.c: Include target.h.
2434
658821b9
SS
2435Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
2436
2437 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
2438
2439Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2440
2441 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
2442 changes (status -> ourstatus; declare status, etc.).
2443 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
2444
4e8bc56f
JK
2445Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2446
2447 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
2448
aeb145f8
ILT
2449Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2450
2451 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
2452
d253eb7a
JK
2453Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2454
2455 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
2456
52b3045e
PS
2457Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2458
2459 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
2460
ae682b80
JK
2461Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2462
d0acb092
JK
2463 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
2464 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
2465
2466 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
2467 writing it.
2468
63dcc380
JK
2469 Add search to target vector (#if 0'd until after 4.12):
2470 * target.h (to_search, target_search): Add.
2471 * gdbcore.h, core.c (generic_search): Add.
2472 * remote.c (remote_search): Add.
2473 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
2474 tag.
2475
d6596eee
JK
2476 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
2477 is on, call find_pc_function rather than relying just on the minimal
2478 symbols (probably only matters for symbol readers which don't put
2479 statics in the minimal symbols, but changing this strikes me as
2480 not conservative enough).
2481 Initialize name_location in all cases.
2482 If no symbol and no msymbol, don't print anything symbolic.
2483
ae682b80
JK
2484 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
2485
314e6bf3
JG
2486Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
2487
2488 * printcmd.c (print_address_symbolic): Make it search the
2489 symtabs for variables as well as functions. Add `set print
2490 fast-symbolic-addr' and default it to fast (the old way).
2491 Print line numbers for data items as well as functions.
2492
2493 * symtab.c (find_addr_symbol): Return the symtab and the symbol
2494 address, if a symbol is found (take two more args pointing to
2495 where to store these results).
2496
2497 * symtab.h (find_addr_symbol): Add prototype.
2498
470dfa0c
JK
2499Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2500
2501 * objfiles.h: Fix comments to reflect the fact that the phrase
2502 "top of stack" always refers to where the pushing and popping takes
2503 place, regardless of whether it is at the highest or lowest address.
2504
a8c49897
PS
2505Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2506
2507 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
2508 compiler generated tag names.
2509 * mdebugread.c (parse_type): Handle cross references to qualified
2510 aggregate types.
2511 * valops.c (value_struct_elt): Improve error message if the
2512 address of a method is requested from an object instance.
2513 * valops.c (search_struct_method): Make name_matched non-static
2514 to get it initialized correctly.
2515 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
2516 exclude segment register which are not writable on newer SCO versions.
2517
4ad942bf
JK
2518Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2519
2520 * go32-xdep.c: Remove unused function uerror.
2521 (sigsetmask): Declare return type. Declare argument (to match the
2522 way it is called). Explicitly return 0.
2523
21578747
JG
2524Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
2525
2526 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
2527 partial_symbol): Shrink the storage sizes of symbols, by making
2528 enums into 1-byte bitfields when compiled __GNUC__, moving all the
2529 enums and small ints to the end of each struct to improve
2530 alignment, and switching the section number from int to unsigned
2531 short.
2532
e0ea0fbd
JG
2533Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
2534
2535 * symtab.c (find_addr_symbol): New routine that will find the nearest
2536 symbol associated with an address. It does so by exhaustive
2537 search of the symtabs, so it's slow but complete.
2538
011d4ed9
JG
2539Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
2540
2541 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
2542 to [0,0] rather than [0, end of first source file]. This avoids
2543 problems with other parts of GDB looking for linetables in the
2544 _globals_ symtab. Eliminate variables num_object_files and
2545 first_object_file_end.
2546
eb5b74ca
JG
2547Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
2548
2549 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
2550 (pop_frame): Restore PC2 and LR0 from dummy frames.
2551 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
2552 (setup_arbitrary_frame): Handle 3 args and set up real frames.
2553 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
2554 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
2555 (SETUP_ARBITRARY_FRAME): Define.
2556
4d69cf57
JK
2557Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2558
2559 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
2560
6a69975f
ILT
2561Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2562
2563 * remote-udi.c (udi_resume): Correct prototype.
2564
c598654a
JL
2565Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2566
2567 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
2568 hppa_frame_find_saved_regs.
2569 * hppa-tdep.c (dig_fp_from_stack): Delete function.
2570 (prologue_inst_adjust_sp): New function.
2571 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
2572 (skip_prologue): Completely rewrite to use unwind information.
2573 (hppa_frame_find_saved_regs): Likewise.
2574
6397809b
JK
2575Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2576
f3fe8934
JK
2577 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
2578 to convert a signal number with appropriate bounds checking.
2579
6397809b
JK
2580 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
2581
c369b6a3
JG
2582Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
2583
a31f4b90
JG
2584 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
2585 print a newline to end the display anyway.
2586
c6d8db40
JG
2587 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
2588 coprocessor status regs) when popping a frame. This fixes
2589 float exceptions that occur after calling inferior functions.
2590
c369b6a3
JG
2591 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
2592 Read and write the fsr (float status register) to/from the child
c6d8db40
JG
2593 process along with the float regs. Remove Peter Schauer's change
2594 of May 24 '93, which has higher overhead and doesn't solve the
2595 real problem (which was that FSR wasn't being set).
c369b6a3 2596
7b2bcbf5
JG
2597Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
2598
2599 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
2600 stack overflow check isn't right after the register stack
2601 adjustment instruction. Metaware R2.3u compiler moves other
2602 things in front of it. This fix isn't perfect but is what's
2603 running.
2604
6aaa61de
JK
2605Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2606
85b8aa88
JK
2607 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
2608
6aaa61de
JK
2609 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
2610 character filenames.
2611 * configure.in: Change accordingly.
2612
ef118278
TL
2613Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
2614
2615 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
2616 _filtered io routines from these two files.
2617
9d51b3c5
PS
2618Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2619
2620 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
2621 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
2622 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
2623 DEC c89.
2624 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
2625
11ebf939
JK
2626Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2627
17d059d4
JK
2628 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
2629 printing to gdb_stderr.
2630
2631 * remote-udi.c (udi_kill): Don't close the connection, just set
2632 inferior_pid to zero.
2633 (udi_mourn): Call remove_breakpoints.
2634
2635 * remote-udi.c: Remove obsolete need_artificial_traps comment.
2636
11ebf939
JK
2637 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
2638
fcbc95a7
JK
2639Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2640
d8a66e60
JK
2641 * symtab.c (lookup_symbol): Don't try adding .c to the name.
2642
e3a7e9d5
JK
2643 * remote-bug.c: At the start of each section, reset srec_frame
2644 back to 160.
2645
fcbc95a7
JK
2646 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
2647 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
2648 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
2649 code which looks for those two waitkinds. Use switch statement.
2650 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
2651 CHILD_SPECIAL_WAITSTATUS.
2652
2653 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
2654 * Move target_signal_from_host, target_signal_to_host, and
2655 store_waitstatus from inftarg.c to target.c. procfs needs them.
2656 * target.c: Include "wait.h" and <signal.h>.
2657 * target.h, infrun.c (proceed), proceed callers: Pass new code
2658 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
2659 enums being treated as unsigned and is cleaner.
2660 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
2661 TARGET_SIGNAL_0.
2662 * infcmd.c (signal_command), infrun.c (signals_info):
2663 Don't allow user to specify numeric equivalent of
2664 TARGET_SIGNAL_DEFAULT.
2665
7f85a716
SG
2666Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
2667
2668 * config/alpha/alpha-netware.mt: New target support for Alpha
2669 running Netware.
2670 * configure.in: Add alpha-*-netware* target.
2671
5efb3899
SS
2672Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2673
2674 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
2675
67ac9759
JK
2676Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2677
2678 * target.h: Add enum target_waitkind, enum target_signal, and
2679 struct target_waitstatus. Change status argument to target_wait to
2680 be struct target_waitstatus * instead of int *.
2681 * target.h, infrun.c, all targets: Change type of signal arguments
2682 to resume(), proceed(), and target_resume() from int to enum
2683 target_signal.
2684 * All targets (*_wait, *_resume): Change accordingly.
2685 * infcmd.c (program_info, signal_command), throughout infrun.c,
2686 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
2687 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
2688 signal code stuff right with the new signals would be non-trivial).
2689 * inferior.h (stop_signal): Make it enum target_signal not int.
2690 * target.c, target.h (target_signal_to_string, target_signal_to_name,
2691 target_signal_from_name): New functions.
2692 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
2693 store_waitstatus): New functions.
2694 * procfs.c (procfs_notice_signals): Use them.
2695 * i960-tdep.c (i960_fault_to_signal): New function, to replace
2696 print_fault.
2697 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
2698
2699 * objfiles.c (build_objfile_section_table): Don't abort() if
2700 objfile->sections is already set.
2701
2702 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
2703 to match recent change to exec.c.
2704
2705 * Version 4.11.3.
2706
2707 * main.c (print_gdb_version): Change year to 1994.
2708
2709 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
2710 * Makefile.in (NONSRC): Add ChangeLog-93.
2711
b35885f2
JK
2712Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2713
4b404661
JK
2714 * stabsread.c (read_type): Allow defining several type numbers
2715 at once (e.g. "(1,2)=(3,4)="...).
2716
eaba7fae
JK
2717 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
2718
b35885f2
JK
2719 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
2720
ae5c71d6
PS
2721Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2722
2723 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
2724 to process_one_symbol.
2725 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
2726 avoid caching a bad endaddr in find_pc_partial_function.
2727
d568b76a
JK
2728Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2729
2730 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
2731
9ddb33a8
PS
2732Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2733
2734 * infrun.c (wait_for_inferior): Do not step or step resume past
2735 the end of a one-line function we just stepped into.
2736
67ac9759 2737For older changes see ChangeLog-93
bd5635a1
RP
2738\f
2739Local Variables:
2740mode: indented-text
2741left-margin: 8
2742fill-column: 74
2743version-control: never
2744End:
This page took 0.397676 seconds and 4 git commands to generate.