Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
3b891e0b
JK
1Fri Oct 22 07:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2
835fe6e6
JK
3 Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
4 * dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}:
5 New files.
6 * config/m68k/nm-apollo68b.h: Add more defines.
7 * configure.in: Recognize apollo target, not just host.
8
3b891e0b
JK
9 * configure.in: Add * to end of all OS names.
10
c8bd627f
FF
11Fri Oct 22 06:14:01 1993 Fred Fish (fnf@cygnus.com)
12
13 * Makefile.in (ALLPARAM): Add config/m88k/xm-delta88v4.h
14
c853c90d
JK
15Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
16
976bb0be
JK
17 * Makefile.in (init.c): Generate using the source, not munch. This
18 cleans up all kinds of hassles (which nm to use in munch, etc). The
19 new formatting conventions (mostly already followed) are that
20 the name of the _initialize_* routines must start in column zero,
21 and must not be inside #if.
22 * munch: Removed.
23 * Makefile.in: Remove references to munch.
24 * serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
25 alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
26 procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
27 i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
28 z8k-tdep.c: Make sure the above conventions are followed. Make
29 sure they are all declared as returning void. Clean up
30 miscellaneous comments and such.
31
c853c90d
JK
32 * sh-tdep.c (sim_load): Add function.
33
f7fa951f
DZ
34Thu Oct 21 15:58:48 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
35
36 * remote-mips.c (mips_wait): add pid argument.
37
100f92e2
JK
38Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
39
40 * Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
41 which no longer occur.
42
43 gcc -Wall lint:
44 * findvar.c (symbol_read_needs_frame), corelow.c (ignore),
45 inflow.c (gdb_has_a_terminal): Make sure to return a value.
46 * regex.h: Declare re_set_syntax.
47 * printcmd.c: Include valprint.h.
48 * infcmd.c, exec.c, maint.c, core.c: Include language.h.
49 * maint.c: Include expression.h.
50 * infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
51 * inftarg.c: Include command.h.
52 * coredep.c: Include value.h.
53 * c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
54 * ch-typeprint.c: Include typeprint.h.
55 * ch-valprint.c: Include c-lang.h.
56 * nlmread.c: Include buildsym.h.
57 * environ.c: Include gdbcore.h. Only include defs.h once.
58 (set_in_environ): Cast const char * to char * when passing to
59 set_gnutarget.
c853c90d 60 * Makefile.in: Update dependencies to reflect all these new includes.
100f92e2
JK
61 Remove unused variables:
62 * printcmd.c (printf_command): args_to_vprintf.
63 * coffread.c (coff_symfile_init): strsection.
64 Move variables to within the #ifdefs where they are used:
65 * symtab.c (gdb_mangle_name): opname.
66 * inftarg.c (child_attach): pid and exec_file.
67 * inftarg.c (child_detach): siggnal.
68 * objfiles.c (allocate_objfile): mapto, md, and fd.
69 * objfiles.c (free_objfile): mmfd.
70 * infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
71 * infrun.c (wait_for_inferior): Remove unused same_pid label.
72 * inferior.h: Declare set_sigint_trap and clear_sigint_trap.
73 * parser-defs.h: Declare write_exp_elt_block.
74 * stabsread.h: Declare elfstab_offset_sections and
75 coffstab_build_psymtabs.
76
003ccb90
KR
77Thu Oct 21 12:05:08 1993 Ken Raeburn (raeburn@cygnus.com)
78
79 Patch from Jeff Law:
80 * paread.c: Fix references to "hppa" that should now be "som".
81
ad0a2521
JK
82Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
83
84 * symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
85
cadd2c6f
SG
86Thu Oct 21 02:59:07 1993 Stu Grossman (grossman at cygnus.com)
87
88 * remote-udi.c (udi_store_registers, store_register): Use
89 UDI29KPC address space when modifying PC. It seems that you can't
90 modify the PC directly (at least in the isstip simulator).
91
a087ce71
JK
92Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
93
9c38eb65
JK
94 * target.h: Put remote_debug declaration back here. Add baud_rate.
95 * remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
96 declaring these. Those random externs all over are error prone.
97 * Move "set remotebaud" from remote-utils.c to main.c to it applies
98 to remote.c as well.
99
8f6960c9
JK
100 * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
101 Sort symtabs for this objfile only, not for all objfiles.
102 * symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.
103
a087ce71
JK
104 * mipsread.c (parse_symbol): In third-eye, a function has a block
105 within it which represents the whole function. Create only one
106 GDB block for both.
107
d0d8484a
SG
108Wed Oct 20 17:47:42 1993 Stu Grossman (grossman at cygnus.com)
109
110 * main.c: Make baud_rate and remote_debug be global variables,
111 remove #include "remote-utils.h". This makes it possible to build
112 GDB without remote-utils.c. Also, move setting of remote_debug
113 into main, so that all remote*.c files can use it (not just the
114 serial line ones). And, make baud_rate be an int.
115 * remote-udi.c: Change kiodebug to remote_debug.
116 * remote-utils.c: Move setting of baud rate and debug into main.c.
117 * remote-utils.h: Redefine sr_{get set}_debug and sr_{get set}_baud
118 to use baud_rate and remote_debug globals for compatibility.
119 * remote.c: Use remote_debug and baud_rate globals directly,
120 instead of sr_ functions, so that we don't need to load
121 remote-utils.c.
5f22e4ed
SG
122 * config/a29k/a29k-udi.mt: Define REMOTE_O as null so that we don't
123 get the default remote* modules.
d0d8484a 124
fc81adb8
JK
125Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
126
127 * stabsread.c (define_symbol): When combining a LOC_ARG and a
128 LOC_REGISTER, use the type from the LOC_REGISTER, not from the
129 LOC_ARG.
130
921f2b29
RP
131Wed Oct 20 14:34:38 1993 K. Richard Pixley (rich@sendai.cygnus.com)
132
133 * config/i386/xm-go32.h: define some signals if they aren't
134 already defined.
135
b8c0ec27
JK
136Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
137
138 * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
139 that we use CFLAGS and PROFILE_CFLAGS to link.
140 (gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
141 LDFLAGS and/or GLOBAL_CFLAGS.
142
36b1d528
SG
143Wed Oct 20 09:29:55 1993 Stu Grossman (grossman at cygnus.com)
144
145 * Makefile.in: Add $(srcdir) to all refs to 29k-share
146 directories.
147
ed89c3d9
FF
148Tue Oct 19 17:23:34 1993 Fred Fish (fnf@deneb.cygnus.com)
149
150 * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
151 i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
152 mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
153 * Makefile.in (remote_utils_h): Add remote-sim.h
154 * Makefile.in (NONSRC): Add i386-nlmstub.c
155 * Makefile.in (HFILES): Add coff-solib.h
156
731c7e17
KH
157Tue Oct 19 14:15:40 1993 Kung Hsu (kung@cirdan.cygnus.com)
158
159 * values.c (value_virtual_fn_field): Fix the offset calculation
160 when calling virtual functions. (gdb.t22/virtfunc.exp).
161 * eval.c (evaluate_subexp): same as above.
162
615289ec
JK
163Tue Oct 19 10:43:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
164
165 * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
166
167 * Makefile.in: Define CXXFLAGS.
168
b4aa170e
SG
169Tue Oct 19 09:28:52 1993 Stu Grossman (grossman@cygnus.com)
170
171 * sparclite/Makefile.in: Fixup so that this works with Sun make
172 and VPATH.
173
915e6cd9
JK
174Tue Oct 19 10:43:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
175
2e142fde
JK
176 * breakpoint.h (struct bpstat_what): Don't use bitfields.
177
915e6cd9
JK
178 * typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
179
2be58d45
FF
180Tue Oct 19 06:17:10 1993 Fred Fish (fnf@cirdan.cygnus.com)
181
0ac1a039
FF
182 * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
183 tm-delta88v4.h, xm-dgux.h}.
184 * Makefile.in (ALLCONFIG): Add config/m88k/{delta88v4.mh,
185 delta88v4.mt}.
186
2be58d45
FF
187 * README: Remove comment about SunOS 5.x programs leaving
188 coredumps. Info from Sun is that this was not in customer
189 releases.
190
f91b837d
JK
191Mon Oct 18 10:28:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
192
8c5e0021
JK
193 * hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
194 done stepping the inferior.
195
adee89e8
JK
196 * c-exp.y: Remove never-used (because of shift/reduce conflicts)
197 rules for pointers to members.
198 * Makefile.in: Remove notice about expected shift/reduce conflicts.
199
f91b837d
JK
200 * buildsym.c (finish_block): If we pop the context stack and it is
201 not empty, complain () instead of abort ().
202
203Sun Oct 17 19:42:31 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
204
205 * parse.c, parser-defs.h (follow_types): New function.
206 * c-exp.y (ptype : typebase abs_decl): Use it.
207 * c-exp.y (ptype): Add support for type qualifiers after the
208 typebase. The typebase rule already has support for them before
209 the typebase.
210 * Makefile.in: Change the expected number of shift/reduce
211 conflicts to 6. This is OK--the 2 new conflicts are basically the
212 same as one of the old ones.
213
cf4d8631
FF
214Sun Oct 17 13:04:49 1993 Fred Fish (fnf@cygnus.com)
215
216 * Makefile.in (VERSION): Bump to 4.10.3.
217
218Sun Oct 17 09:18:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
219
220 * infrun.c (wait_for_inferior): Clean up comments which were at
221 the top of the file, making them more concise and moving them with
222 the code (Sorry, Randy, but these stream-of-consciousness comments
223 really have to go). Switch the order of the "&&", which makes
224 things clearer and turns out to be an improvement with respect to
225 side effects and speed.
226
fb63d460
SG
227Sun Oct 17 02:06:01 1993 Stu Grossman (grossman at cygnus.com)
228
229 * procfs.c: Handle process exits more elegantly by trapping on
36b1d528 230 entry to _exit. Also, cleanup procinfo list when process dies of
fb63d460
SG
231 it's own accord (as opposed to being killed).
232
749e538b
JK
233Sat Oct 16 20:47:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
234
df0d53e3
JK
235 * config/m88k/xm-dgux.h: Define NO_PTRACE_H.
236
4cc5b060
JK
237 * corelow.c (add_to_thread_list): Need a cast to go from PTR to
238 asection *.
239
749e538b
JK
240 * infrun.c: Add comment about signals.
241
242 * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
243 Stu reinstated it (accidently I assume).
244
0aede963
SG
245Sat Oct 16 15:27:10 1993 Stu Grossman (grossman at cygnus.com)
246
7c5d526e
SG
247 * procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
248 files. Use PIOCWSTOP instead.
249 * corelow.c (add_to_thread_list): Fix arg to match prototype.
250
0aede963
SG
251 * procfs.c (procfs_set_sproc_trap): Don't use this if sproc
252 isn't available.
253 * (procfs_notice_signals): Fix prototype.
254
de43d7d0
SG
255Fri Oct 15 22:46:07 1993 Stu Grossman (grossman at cygnus.com)
256
257 * breakpoint.c (breakpoint_thread_match break_command_1):
258 Thread-specific breakpoint support.
259 * breakpoint.h (struct breakpoint): Add thread id field.
260 * fork-child.c (fork_inferior): Move call to init_thread_list()
261 back a bit so that init_trace_fun can do thread functions.
262 * hppa-tdep.c (restore_pc_queue): Add pid to call to target_wait.
263 * hppab-nat.c (child_resume): Handle default pid.
264 * hppah-nat.c (child_resume): Handle default pid.
265 * i386lynx-nat.c (child_wait): New arg pid.
266 * inflow.c (kill_command): Reset thread list.
267 * infptrace.c (child_resume): Handle default pid.
268 * infrun.c: Thread-specific breakpoint support.
269 * inftarg.c (child_wait): Add pid arg.
270 * osfsolib.c (solib_create_inferior_hook): Add pid to call to
271 target_resume.
272 * procfs.c: Multi-thread support.
273 * remote-bug.c (bug_wait): Add pid arg.
274 * remote-hms.c (hms_wait): Add pid arg.
275 * remote-mips.c (mips_wait): Add pid arg.
276 * remote-mon.c (monitor_wait): Add pid arg.
277 * remote-nindy.c (nindy_wait): Add pid arg.
278 * remote-sim.c (gdbsim_wait): Add pid arg.
279 * remote-udi.c (udi_wait): Add pid arg.
280 * remote-vx.c (vx_wait): Add pid arg.
281 * remote-z8k.c (sim_wait): Add pid arg.
282 * remote.c (remote_wait): Add pid arg.
283 * solib.c (solib_create_inferior_hook): Add pid to call to
284 target_resume.
285 * target.h (struct target_ops): Add pid arg to to_wait and
286 to_notice_signals.
287 * thread.c (valid_thread_id): New func to validate thread #s.
288 * (pid_to_thread_id): New func to do the obvious.
289 * thread.h: Prototypes for above.
290
291 * coff-solib.c (coff_solib_add): Use nameoffset field to locate
292 filename.
293
88938c54
JK
294Fri Oct 15 21:29:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
295
9bc3153e
JK
296 * h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
297 sim_kill, sim_open, or sim_set_args.
298
921b588b
JK
299 * stack.c (print_stack_frame): Put catch_errors around
300 print_frame_info so (for example) error printing source doesn't
301 cause auto-displays to get skipped in normal_stop.
12e0f766 302
88938c54
JK
303 * findvar.c (value_from_register): When preparing to cast a value
304 from REGISTER_VIRTUAL_TYPE to type, copy the REGISTER_VIRTUAL_SIZE;
305 the old code didn't copy the whole thing.
306 * valops.c (value_assign): Add comment.
307
c0e1076d
PS
308Fri Oct 15 12:57:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
309
310 * mipsread.c (upgrade_type): Replace bitsize sanity checks and
311 complaint by a comment explaining why they were useless.
312
78cab901
JK
313Fri Oct 15 14:30:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
314
315 * Move comments on bypassing call dummy breakpoint from stack.c
316 to breakpoint.h.
317
c540818b
JK
318Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
319
320 * symtab.c (lookup_partial_symtab): If filename is not found and
321 contains no slashes, try again and compare without leading path
322 components.
323 * symtab.c (lookup_symtab_1): Replace open coded version of
324 lookup_partial_symtab with a function call.
325
5d76c8e6
JK
326Thu Oct 14 20:34:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
327
328 * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
329 remote-mon.c (monitor_create_inferior), remote-nindy.c
330 (nindy_create_inferior), remote-st.c (st2000_create_inferior),
331 remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
332 is replaced by init_trace_fun.
333 * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
334 how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
335 port.
336
337 * Makefile.in: Add Mach files to ALLDEPFILES, etc.
338 * m3-nat.c: Clean up more hair--message(), cprocs.
339 * configure.in: Recognize Mach targets and hosts.
340 * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
341 include this file.
342 * Mach headers in config/*/tm-*.h: Fix includes to match correct
343 locations of files.
344
8c4731b5
RS
345Thu Oct 14 21:35:55 1993 Rob Savoye (rob@darkstar.cygnus.com)
346
347 * remote-mon.c (general_open): Set dev_name. Minor tweaking to get
348 it working again.
349 * config/m68k/tm-monitor.h: Remove floating point register names
350 as there aren't any on any of the monitors that use this code.
351
9309b4d9
JK
352Wed Oct 13 11:47:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
353
179cd923
JK
354 * inflow.c: Pass pointer to process group, not process group itself,
355 to TIOCSPGRP ioctl.
356
76e473bb
JK
357 * inflow.c (terminal_ours_1): Don't print warning on failure to
358 set process group.
359
9309b4d9
JK
360 * printcmd.c (printf_command): Instead of using makeva* and
361 calling vprintf, just make the appropriate calls to printf.
362 * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
363 config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
364 traces of makeva*. My apologies to everyone (including me!)
365 who spent so much time getting it to work on various machines,
366 but look at the bright side, at least you won't have to do it
367 again in the future.
368
369 * printcmd.c (printf_command): Make a cleanup for val_args (fixes
370 a memory leak).
371
d62e3f37
JK
372Tue Oct 12 22:54:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
373
374 * config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
375
79f68f0f
DZ
376Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
377
378 * configure.in: only configure gdbserver for native environments
379
9438d642
JK
380Tue Oct 12 08:59:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
381
4fc9d7c7
JK
382 * stabsread.c (read_type): Treat a negative type number at the start
383 of a type as a type reference, not as a definition of a type with
384 "50=" omitted. This makes things work on the RS/6000 again (the
385 14 Sep 1993 change broke it).
386
d76eb5f4
JK
387 * inflow.c: Use 0 (standard input) not scb->fd.
388 (terminal_ours_1): If printing warning, don't claim it happened in
389 terminal_inferior.
390
4161c620
JK
391 * blockframe.c (get_prev_frame_info): Don't error() if there are no
392 frames; just return NULL.
393
95171817
JK
394 * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
395 change which involved structure elements. It was unnecessary and
396 was not consistently done.
397
9438d642
JK
398 * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
399 Move common block handling from dbxread.c to stabsread.c.
400 Use the name from the BCOMM instead of the ECOMM.
401 Allocate things on the symbol_obstack.
402 * xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
403 and C_ECOML. On unrecognized storage classes, go ahead and call
404 define_symbol (after the complaint).
405
406 * dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
407 the text offset.
408
49d607d2
PS
409Tue Oct 12 12:33:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
410
411 * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
412 after shared library symbol reading to get rid of warning from
413 heuristic_proc_start.
414
59c2be48
DZ
415Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
416
417 * remote-sim.c: fix unterminated character string
418
78934ba8
JK
419Tue Oct 12 08:59:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
420
421 * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
422
7da354f4
JK
423Mon Oct 11 14:27:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
424
843cea0d
JK
425 * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
426 various things to try to get this to work.
427
7da354f4
JK
428 * symtab.h: Fix comments re headers, sharing blockvectors, etc.
429
cabb6f59
DZ
430Mon Oct 11 11:46:06 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
431
432 * config/i960/vxworks960.mt (REMOTE_O): add dcache.o and remote-utils.o
433
3e6b0674
PS
434Mon Oct 11 02:48:57 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
435
99a15c64
PS
436 * mipsread.c (parse_partial_symbols): Do not add undefined
437 symbols to the partial symbol table.
3e6b0674
PS
438 * alpha-tdep.c (init_extra_frame_info): Remove kludge for gcc,
439 gcc has to be compatible with the native tools.
440 * alpha-tdep.c (alpha_push_arguments): Rename NUM_ARG_REGS to
441 ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
442 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Change it to the
443 way the native tools define it, update comment.
444
a71c0593
FF
445Fri Oct 8 15:54:06 1993 Fred Fish (fnf@deneb.cygnus.com)
446
447 * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
448 xcoffsolib.h: Use 'abfd' for bfd variables instead of 'bfd'.
449 Sun cc doesn't like variable names that match their typedef'd type.
450
443abae1
JK
451Fri Oct 8 14:56:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
452
c18b613a 453 * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
a14a8fad
JK
454
455 * inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
c18b613a
JK
456 terminal.h, fork-child.c, main.c, utils.c: Move all the process
457 group stuff back to inflow.c and terminal.h; that's a better place
458 for it and fixes problems with trying to get/set the process group
459 of a tty we're doing remote debugging on.
460 * terminal.h: Skip the redefines and includes if HAVE_TERMIOS.
a14a8fad 461
443abae1
JK
462 * findvar.c, value.h (symbol_read_needs_frame): New function.
463 * c-exp.y, m2-exp.y: Call it instead of having our own switch on
464 the symbol's class.
465 * valops.c (value_of_variable): Use symbol_read_needs_frame to
466 decide whether we care about finding a frame.
467
747a6329
PS
468Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
469
470 * blockframe.c (get_frame_block): Do not adjust pc if the frame
471 function was interrupted by a signal.
472
f1e7bafc
JK
473Thu Oct 7 19:20:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
474
475 * config/h8300/tm-h8300.h: Don't define sr_get_debug.
476 * remote-sim.c: Include remote-utils.h.
477 * target.h: Add comment about target_has_execution.
478
3f0184ac
SC
479Thu Oct 7 16:14:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
480
481 * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
482 New functions.
483 * infrun.c (normal_stop): Don't try and set the pc in the current
484 frame coredump if there isn't one.
485 * remote-sim.c (gdbsim_store_register): Don't
486 SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
487 (gdbsim_wait): Set status with WSETSTOP.
488 * config/h8300/tm-h8300.h (sr_get_debug): Define
489
2f1c7c3f
JK
490Thu Oct 7 12:56:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
491
c2d751d5
JK
492 New Mach stuff:
493 * config/i386/i386mach.c: Explain this is for the old (probably
494 non-functional and/or obsolete) Mach stuff.
495 * m3-nat.c, config/nm-m3.h,
496 i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
497 config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
498 config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
499 config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
500 config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
501 New files.
502
2f1c7c3f
JK
503 * blockframe.c (find_pc_partial_function): If we call
504 PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
505 This is needed now that wait_for_inferior passes in endaddr.
506 * infrun.c: Move call to target_terminal_inferior from proceed
507 to resume.
508
981a3309
SG
509Thu Oct 7 09:22:04 1993 Stu Grossman (grossman at cygnus.com)
510
511 * blockframe.c (find_pc_partial_function): Fix handling for PCs
512 beyond the end of the last function in an objfile.
513 * coff-solib.c (coff_solib_add): Use BFD to get fields from .lib
514 section.
515 * infrun.c (wait_for_inferior): Modify test for subroutine entry
516 to include pc out of bounds of the previous function.
517 * remote.c (remote_wait): Use strtoul for parsing 'N' message.
518 Add code to relocate symfile_objfile->sections.
519
50a54039
JK
520Thu Oct 7 06:22:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
521
522 * config/sparc/sun4os4.mh: Add comment saying why we don't use
523 -lresolv.
524
747a6329 525Thu Oct 7 09:29:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
cf3e377e
JK
526
527 * breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
528 that clears the `inserted' flag for all breakpoints and deletes
529 any breakpoints which should go away between runs of programs.
530 * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
531 remote-es.c (es1800_load), comments in exec.c and corelow.c:
532 Use it instead of mark_breakpoints_out.
533 * breakpoint.c (mark_breakpoints_out): Update comment, tm-rs6000.h
534 uses it in a completely different context.
535 * breakpoint.c (breakpoint_re_set_one): Add bp_call_dummy case.
536
747a6329 537Thu Oct 7 09:29:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
f5ebb9ea
JK
538
539 * Makefile.in (REGEX, REGEX1): Always use our own version of
540 regex.c to be consistent across hosts.
541 * source.c (_initialize_source): Initialize regex to use grep
542 style syntax as an approximation to POSIX basic regex syntax.
543
8966221d
JK
544Wed Oct 6 12:43:47 1993 Jeffrey A Law (law@snake.cs.utah.edu)
545 Jim Kingdon (kingdon@lioth.cygnus.com)
546
547 * hppa-tdep.c (frame_chain): Rework so that it correctly
548 handles boundaries where code with a frame pointer calls code
549 without a frame pointer.
550 (dig_fp_from_stack): New function.
551
b4fd641f
JK
552Wed Oct 6 12:43:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
553
ebad9e90
JK
554 * breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
555
b4fd641f
JK
556 * README: Add Alpha notes from Schauer.
557
ebccb10b
JK
558Tue Oct 5 15:26:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
559
cfeed64e
JK
560 * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
561 understand what it is trying to do, but I suspect it's not doing
562 it.
563
564 * config/ns32k/merlin.mh: Add comment about M_INSTALL.
565 * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
566 M_UNINSTALL; it tries to install a non-existent file gdb.z.
567 * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
568
ebccb10b
JK
569 * stabsread.c (read_range_type): Remove comment which recommends
570 distinguishing float from complex by the name.
571
cef4c2e7
PS
572Tue Oct 5 12:17:40 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
573 Jim Kingdon (kingdon@cygnus.com)
574 Stu Grossman (grossman@cygnus.com)
575
576 Changes to support alpha OSF/1 in native mode.
577 * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
578 config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
579 New files.
580 * Makefile.in: Add new files and dependencies.
581 * configure.in: Add alpha target.
582 * config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
583 * config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
584 shared libraries now.
585 * config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
586
587 * defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
588 provide `unsigned int' default.
589 * breakpoint.c (breakpoint_auto_delete): Delete only if we really
590 stopped for the breakpoint.
591 * stabsread.c, stabsread.h (define_symbol): Change valu parameter
592 to a CORE_ADDR.
593 * stabsread.c (read_range_type): Handle the case where the lower
594 bound overflows and the upper doesn't and the range is legal.
595 * infrun.c (resume): Do not step a breakpoint instruction if
596 CANNOT_STEP_BREAKPOINT is defined.
597
598 * inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
599 Now that we have the bp_call_dummy breakpoint the call dummy code
600 is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
601 FIX_CALL_DUMMY can be used to set up everything for the dummy.
602 The breakpoint for the dummy is set at the entry point and thats it.
603 * blockframe.c (inside_entry_file, inside_entry_func): Do not stop
604 backtraces if pc is in the call dummy at the entry point.
605 * infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
606 the expected breakpoint pc when setting up the frame for
607 set_momentary_breakpoint.
608 * symfile.c (entry_point_address): New function for AT_ENTRY_POINT
609 support.
610 * valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
611
e8e13040
JK
612Tue Oct 5 11:37:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
613
614 * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
615 Change other hppa host entries to use -*- not -hp-.
616
617Mon Oct 4 19:16:14 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
618
619 * i386-nlmstub.c: New file; debugging stub for i386 NetWare. Must
620 be compiled with NetWare header files and turned into an NLM with
621 nlmconv.
622
4abc83b9
JK
623Mon Oct 4 11:02:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
624
291b84ff
JK
625 * minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
626
7db8914c
JK
627 * dbxread.c (process_one_symbol): Make n_opt_found static.
628
c458501e
JK
629 * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
630 * Makefile.in, config/i386/i386lynx.mt: Change accordingly.
631
4abc83b9
JK
632 * values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
633 to not_lval.
634
965a5c32
SS
635Sun Oct 3 15:54:51 1993 Stan Shebs (shebs@rtl.cygnus.com)
636
4abc83b9 637 * objfiles.h (objfile): New slot sym_stab_info, use by most
965a5c32
SS
638 stab-reading formats.
639 * gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
640 sym_private.
641 * coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
642 * dbxread.c, elfread.c, paread.c: Change sym_private references to
643 sym_stab_info references.
644
bde18e3e
JK
645Sat Oct 2 19:28:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
646
77fe3f84
JK
647 * mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
648 4.02 lacks void *.
649 * elfread.c: Use void * not PTR inside PARAMS.
650
bde18e3e
JK
651 * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
652 * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
653 * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
654
ead291d4
SG
655Sat Oct 2 16:05:22 1993 Stu Grossman (grossman at cygnus.com)
656
657 * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
658 tm-i386lynx.h: Add support for SVR3 COFF shared libraries.
659
e05fe481
JK
660Sat Oct 2 15:50:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
661
422a1955
JK
662 * m88k-nat.c (store_inferior_registers): When writing all registers,
663 don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
664 case, and they cause trouble).
665
e05fe481
JK
666 * TODO: Don't suggest doing fast watchpoints by stepping a line
667 at a time. That would be really hairy and still not fast enough.
668 Do suggest debug registers and page table diddling.
669
f73b07c9
JK
670Fri Oct 1 14:54:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
671
672 * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
673 depend on builtin_type_*. Instead, it is always 2, 4, and 8 bytes
674 like the documentation says.
675 * printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
676 synonym for 'g'. This was never documented, it shouldn't depend on
677 CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
678
6cb30309
KH
679Fri Oct 1 10:06:35 1993 Kung Hsu (kung@cirdan.cygnus.com)
680
681 * symtab.c: fix a bug in testsuite (virtfunc.exp)
682
01dfd415
JK
683Thu Sep 30 11:30:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
684
3d8536f3
JK
685 * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
686
687 * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
688 If demangled name lacks a colon, don't dump core.
689
dfbf0208
JK
690 * blockframe.c (find_pc_partial_function): If pst->readin is
691 set, don't try to get symbols from pst.
692
2289e1c3
JK
693 * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
694 instead of doing it ourself.
695 * blockframe.c (reinit_frame_cache): Use code which was in
696 generic_mourn_inferior so we can use this function even when
697 we have switched targets.
c5198d93
JK
698 * corelow.c (core_detach): Call reinit_frame_cache.
699 * target.c (target_detach): Don't call generic_mourn_inferior
700 (revert yesterday's change, now handled by core_detach).
701 * objfiles.c (free_objfile): Detach any core file if we call
702 SOLIB_CLEAR. #include target.h.
703
01dfd415
JK
704 * fork-child.c (fork_inferior): Don't call target_terminal_init
705 and target_terminal_inferior until we are sure that the inferior
706 has called gdb_setpgid. This fixes PR 2900 (Schauer tracked it
707 down and was able to reliably reproduce it by putting a sleep()
708 before the gdb_setpgid()).
709
8d658c08
PS
710Thu Sep 30 12:00:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
711
712 * c-exp.y, m2-exp.y: Change type of address for msymbol to
713 builtin_type_long.
714 * infptrace.c (fetch_register, store_inferior_register,
715 child_xfer_memory): Use PTRACE_XFER_TYPE for the type of ptrace
716 transfers. Provide an `int' default for PTRACE_XFER_TYPE.
717
8f341c15
JK
718Thu Sep 30 11:30:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
719
185d20fc
JK
720 * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
721 picking defaults.
722
8f341c15
JK
723 * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
724
725Thu Sep 30 11:25:55 1993 Kung Hsu (kung@cygnus.com)
726
727 * cp-valprint.c (cp_is_vtbl_ptr_type):
36b1d528 728 change vtable field name to __vtbl (pr2695).
8f341c15
JK
729
730 * symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
731
9040a00b
SG
732Wed Sep 29 18:34:22 1993 Stu Grossman (grossman at cygnus.com)
733
734 * Makefile.in: Add deps for i386lynx-nat.o and i386lynx-tdep.o to
735 keep non-gnu makes happy.
736
33f00b44
JK
737Wed Sep 29 10:52:19 1993 Kung Hsu (kung@cygnus.com)
738
739 * c-valprint.c: to fix virtual table print bug (pr2695).
740
49781499
JK
741Wed Sep 29 10:52:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
742
743 * target.c (target_detach): Call generic_mourn_inferior.
744 * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
745
0ccbaadc
JK
746Tue Sep 28 23:08:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
747
898140fe 748 * dbxread.c, coffread.c, elfread.c: A few changes to comments.
0ccbaadc 749
b5b186a2
SS
750Tue Sep 28 18:39:37 1993 Stan Shebs (shebs@rtl.cygnus.com)
751
752 * configure.in: Rename ...-lynx* to ...-lynxos*.
753 Add m68*-*-lynxos* configuration.
754 * dbxread.c (coffstab_build_psymtabs): New function,
755 interfaces coffread.c to dbxread functions.
756 * coffread.c (coff_symfile_info): Expand to include
757 dbx_symfile_info slots.
758 (coff_symfile_init): Init coff_symfile_info struct.
759 (coff_locate_sections): New functions, finds the stab and stabstr
760 sections.
761 (coff_symfile_read): Call coffstab_build_psymtabs if a stab
762 section is present.
763 (coff_section_offsets): Replace fake version with real offsets.
764
f1ca2bdf
JK
765Tue Sep 28 18:00:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
766
767 * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
768 breakpoint.
769
01f5ed6d
ILT
770Tue Sep 28 17:53:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
771
772 * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
773 * config/tm-sysv4.h: Don't include solib.h.
774 * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
775 * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
776 * config/i386/i386v4.mh (NATDEPFILES): ...to here.
777 * config/i386/nm-i386v4.h: Include nm-sysv4.h.
b5b186a2 778 * config/m68k/amix.mt (TDEPFILES): Move solib.o from here...
01f5ed6d
ILT
779 * config/m68k/amix.mh (NATDEPFILES): ...to here.
780
5573d7d4
JK
781Tue Sep 28 09:45:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
782
783 * symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
784
785 Clean up problems with targets and hosts that have 64 bit longs
786 and pointers and 32 bit ints.
787 * breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
788 ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
789 expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
790 m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
791 printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
792 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
793 Change all printf formats from %x to %lx if outputting an address.
794 Change la_*_format to use long format.
795 local_hex_string, local_hex_string_custom now take an unsigned long
796 argument, change all callers.
797 * coffread.c (read_coff_symtab): Remove superfluous cast for
798 complaint output.
799 * dbxread.c (end_psymtab): Cast MSYMBOL_INFO to long, not int.
c9e92abd 800 * findvar.c, value.h (write_register): Change val to LONGEST.
5573d7d4
JK
801 * gdbtypes.h (struct type): Change `bitsize' to long as
802 TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
803 * inferior.h (struct inferior_status): Change type of stop_pc to
804 CORE_ADDR.
805 * language.h (local_octal_string, local_octal_string_custom):
806 Remove prototype, the functions are neither defined nor used.
807 * mipsread.c (parse_symbol): Use temporary variable for bitsize as
808 f->bitsize is a long now.
809 * objfiles.c (add_to_objfile_sections, build_objfile_section_table):
810 Use unsigned long casts instead of int for abusing sections_end
811 pointer as integer.
812 * stack.c (parse_frame_specification): Change type of `args' to
813 CORE_ADDR for SETUP_ARBITRARY_FRAME.
814
815 * printcmd.c (make_vasize): Allow redefinition via MAKEVA_SIZE.
816 * mipsread.c (parse_type): Alpha cc now supports the t->continued
817 bit, update algorithm to match the way the compiler uses it.
818
aca4585c
JK
819Tue Sep 28 12:05:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
820
821 * utils.c (fprintfi_filtered): Fix comments.
822
f0fcf00a
SG
823Mon Sep 27 18:10:08 1993 Stu Grossman (grossman at cygnus.com)
824
825 * coffread.c (read_coff_symtab): Don't call getfilename if there
826 are no auxents.
827
7fc6a6b5
JK
828Mon Sep 27 10:22:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
829
01d3fdba
JK
830 * symtab.c (find_pc_line): Fix comments.
831
7fc6a6b5
JK
832 * remote-udi.c (udi_mourn): Don't pop target.
833
d113e6b2
SG
834Fri Sep 24 17:25:41 1993 Stu Grossman (grossman at cygnus.com)
835
836 * corelow.c: Add multi thread/process support for core files with
837 .reg/XXX pseudo-sections.
838 * i386lynx-nat.c thread.h thread.c: Remove unnecessary core file
839 support.
840
114221b5
JK
841Thu Sep 23 10:49:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
842
d113e6b2
SG
843 * remote-udi.c (download): Skip zero length sections.
844
d4778d0f
JK
845 * valops.c (search_struct_method, value_struct_elt):
846 Use (value)-1, not -1, for error.
847
114221b5
JK
848 * infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
849 about SHIFT_INST_REGS.
850
851 * exec.c (exec_file_command): Set text_end based on all code readonly
852 sections, not just ".text".
853
854 * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h,
855 config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
856 z8k-tdep.c: Remove all references to ADDR_BITS_SET.
857 * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC.
858
abef03ce 859 * config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.
114221b5 860
8b52d486
PS
861Thu Sep 23 00:13:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
862
863 * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as
864 the pushing of the struct return address is already handled in
865 mips_push_arguments.
866 * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype
867 declaration.
868 * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more
869 sanity checks for corrupt symbol entries to avoid core dumps
870 reported by benson@odi.com. Obviously Ultrix 4.3A cc now has
871 the same problems as the OSF/1 alpha cc.
872 * mipsread.c (parse_lines): Iterate over the range of the compressed
873 line number entries, the old iteration sometimes failed to stop
874 and wrote past the end of the LINETABLE. Add sanity check to avoid
875 the same problem in case the line number info is corrupt.
876 * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp.
877 * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil
878 symbols that are produced for statics in .o files and stLocal symbols
879 that are produced for every section in OSF/1 dynamically linked
880 executables.
881 * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols'
882 warning only under `verbose on' as there are many undefined symbols
883 in a dynamically linked executable.
884
6deb63ab
JK
885Wed Sep 22 10:28:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
886
a9b35c67
JK
887 * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O was
888 intended only for VxWorks. Remove dcache.o from TDEPFILES now
889 that we pick it up from the default REMOTE_O.
890
bdef72d2
JK
891 * breakpoint.c (bpstat_what): Initialize retval.call_dummy and
892 retval.step_resume.
893
e797b4bc 894 * mips-tdep.c (mips_frame_chain): If frame size zero, return zero.
3f528883 895 * rs6000-tdep.c: Add comment about framelessness.
bdef72d2 896
6deb63ab
JK
897 * remote-nindy.c: Declare ninMemGet and ninMemPut.
898
b1eaba9a
SG
899Wed Sep 22 08:02:57 1993 Stu Grossman (grossman at cygnus.com)
900
901 * Makefile.in: Add i386lynx-tdep to the right places.
902 (TARDIRS): Add gdbserver.
903
904 * exec.c (print_section_info): Print entry point.
905 * i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into
906 i386lynx-tdep.c. Add core file support.
907 * i386lynx-tdep.c: New module for Lynx/386 target dependant code.
908 * maint.c: Add `maint info sections' command to print info about all
909 sections that BFD knows about for exec and core files.
910 * sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer
911 before putting frame on the stack. Consolidate writes to reduce
912 traffic for remote debugging.
913 * config/i386/i386lynx.mh (NATDEPFILES): Remove exec.o.
914 * config/i386/i386lynx.mt (TDEPFILES): Add exec.o, i386lynx-tdep.o.
915 * config/i386/nm-i386lynx.h: Add target_pid_to_str().
916 * config/i386/tm-i386lynx.h: Remove target_pid_to_str().
917 * sparclite/Makefile.in: Add deps to keep Sun make happy.
918
cb6b0202
JK
919Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
920
921 * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
922 not_a_breakpoint.
923 * infrun.c (wait_for_inferior): Pass it. Also consolidate the
924 test of whether we are stepping into a CURRENTLY_STEPPING macro.
925
817ac7f8
RP
926Tue Sep 21 17:22:34 1993 K. Richard Pixley (rich@sendai.cygnus.com)
927
928 * breakpoint.c (bpstat_stop_status),
929 infcmd.c (step_1),
cb6b0202
JK
930 infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
931 and insert macro.
817ac7f8
RP
932
933 * m88k-tdep.c: include ieee-float.h. new global target_is_m88110.
934 new const struct ext_format_m88110 for float format.
935 (pic_prologue_code): add braces.
936 (next_insn): remove unused variable buf.
937 (frame_find_saved_regs): remove unused variables next_addr,
938 saved_regs, regnum.
939 (frame_locals_address): remove unused variables frame, ap.
940 (frame_args_address): remove unused variables frame, ap.
941 (push_parameters): add some breaks and a default case.
942
943 * remote-bug.c: remove redundant includes of value.h, target.h,
944 serial.h.
945 (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
946 (bug_fetch_register): special case sfip register for m88110.
947 remove flag bit masking of pc registers. This should be handled
948 by the ADDR_BITS_* macros.
949 (bug_store_register): special case sfip register for m88110.
950 Corrected sprint format for extended registers.
951
952 * config/m88k/tm-m88k.h: white space and comment changes. include
953 ieee-float.h. expanded to cope with m88110 extended registers.
954 (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
955 (SHIFT_INST_REGS): becomes a real macro.
956
bb7b3800
JK
957Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
958
959 * breakpoint.c (breakpoint_1): Support bp_call_dummy.
960
610a7e74
ILT
961Tue Sep 21 17:06:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
962
963 * elfread.c (record_minimal_symbol_and_info): Guess the section to
964 use from the type.
965 * objfiles.c: Include gdb-stabs.h for SECT_* macros.
966 (objfile_relocate): Relocate textlow and texthigh in psymtabs.
967 Relocate partial symbols. Check that minimal SYMBOL_SECTION is
968 nonnegative before using it.
969 * symtab.h: Adjust section field comment.
970
971 * remote.c (interrupt_query): New function.
972 (remote_interrupt_twice): Call interrupt_query.
973 (putpkt, getpkt): If quit_flag is set, call interrupt_query.
974 (remote_wait): Don't bother with objfile_relocate if the addresses
975 haven't changed.
976 (remote_fetch_registers): If we see a packet that doesn't start
977 with a hex character, fetch a new one.
978
8b05f64a
JK
979Tue Sep 21 11:44:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
980
e15f2a54
JK
981 * remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
982
4ef6b451
JK
983 * printcmd.c (print_scalar_formatted): When truncating value we are
984 going to print as unsigned, handle it generally for any length
985 less than sizeof (LONGEST), rather than special-casing sizeof (char),
986 sizeof (short), and sizeof (long). Clarify comment on what this
987 is for.
988
8b05f64a
JK
989 * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
990 * buildsym.c (start_subfile): Use deduce_language_from_filename
991 rather than checking for .C or .cc ourself.
992
424ab390
JK
993Mon Sep 20 14:53:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
994
1bef45ea
JK
995 * defs.h: Declare argument of re_comp as const char *.
996
66a48870
JK
997 * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
998
424ab390
JK
999 * README: Say using bfd from another release doesn't generally work.
1000
84d59861
JK
1001Sat Sep 18 10:13:18 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
1002
1fdbc4d1
JK
1003 * mipsread.c (parse_type): Don't complain() if we guessed struct
1004 and it was a union, or vice versa.
1005
84d59861
JK
1006 * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
1007
1008 Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
1009 * breakpoint.h (enum bptype): Add bp_call_dummy.
1010 (struct bpstat_what): Add call_dummy field.
1011 * infrun.c (wait_for_inferior): Deal with it.
1012 * breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
1013 * infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
1014 * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
40b92220
JK
1015
1016 * remote-sim.h: New file.
1017 * remote-sim.c: Add remote debug feature. Rename stuff to distinguish
1018 interface to simulator from gdb-specific stuff. Other changes.
1019start-sanitize-v9
1020 * remote-sp64sim.c: Renamed to remote-sim.c.
1021 Use sr_get_debug instead of our own sim_verbose/simif_snoop.
1022 Use gnutarget in call to bfd_openr.
1023 Rename simif_* to gdbsim_*.
1024 * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
1025end-sanitize-v9
1026
30d20d15
PS
1027Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1028
1029 * findvar.c (extract_signed_integer): Cast *p to LONGEST before doing
1030 the xor and subtract. Otherwise it will not sign extend if the type
1031 of LONGEST is larger than int.
1032 * cp-valprint.c (cp_print_class_method): Inhibit core dump if
1033 domain is an undefined cross reference.
1034 * valops.c (call_function_by_hand): Set real_pc to correct
1035 value if CALL_DUMMY_LOCATION != ON_STACK.
1036
f8efbf22
JK
1037Thu Sep 16 20:37:06 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1038
1039 * config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
1040
c9de302b
SG
1041Thu Sep 16 13:16:22 1993 Stu Grossman (grossman at cygnus.com)
1042
1043 * infrun.c (wait_for_inferior): Allow user to single step within
1044 a stack dummy.
1045
2670a1dd
JK
1046Thu Sep 16 12:34:01 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1047
1048 * dbxread.c (copy_pending): Deal with END NULL.
1049 (process_one_symbol): Add comments about what common_block NULL means.
1050
ca0622e7
JK
1051Wed Sep 15 14:50:26 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1052
1053 * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
1054 to tm-a29k.h and a29k-tdep.c and make it an enum.
1055 * a29k-tdep.c (a29k_get_processor_type): New function. Fix many
1056 aspects of how we detected the processor type.
1057 * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
1058 rather than figuring out the type ourselves.
1059
f2e21136
SG
1060Thu Sep 16 12:12:59 1993 Stu Grossman (grossman at cygnus.com)
1061
1062 * sparc-stub.c (_trap_low): Do restore/save sequence after
1063 setting sp to ensure that we load the previous window from the
1064 right place on the stack.
1065
85999c05
PS
1066Thu Sep 16 00:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1067
1068 * mipsread.c: Many changes for alpha ecoff format:
1069 Correct sizeof(int) == sizeof(long) assumptions.
1070 Replace stParsed hack by putting the parsed types on the pending chain.
1071 Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
1072 provide default for cross debugging.
1073 Swapping the symbol back is no longer needed as the symbol is not
1074 modified anymore.
1075 Add new alpha basic types, handle btTypedef, handle stStaticProc
1076 external symbols .
1077 Update and clean up cross_ref for alpha cc cross ref variations.
1078 Allocate types on the type_obstack to inhibit storage leaks.
1079 * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
1080 * gdbtypes.c (recursive_dump_type): Dump TYPE_TAG_NAME if it is set.
1081
5ed0ccaf
JK
1082Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1083
1084 * stabsread.c (read_type): Process "s" (size) type attribute.
1085 If type is defined to another type, copy the type.
1086
aa8fe907
ILT
1087Tue Sep 14 18:37:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1088
1089 * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
1090 * config/i386/i386v4.mt (TDEPFILES): ...to here.
1091
a94abe5b
RP
1092Tue Sep 14 12:21:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1093
b70b042d
RP
1094 * Makefile.in (remote_utils_h): add serial.h and target.h.
1095 (main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
1096 (already in remote_utils_h).
1097 (remote-utils.o): new rule.
1098
1099 * remote-utils.h: include serial.h.
1100
1101 * serial.h: ifdef protect from multiple inclusion.
1102
a94abe5b
RP
1103 * remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
1104 remote-utils.h.
1105
1106 * remote.c (remote_open), remote-nindy.c (nindy_open,
1107 nindy_files_info), remote-mon.c (general_open), remote-es.c
1108 (es1800_open): use remote-utils facilities for baud rate.
1109
899931b6
JK
1110Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1111
5ed0ccaf 1112 * paread.c, coffread.c, elfread.c, dwarfread.c:
ddf5d7e8 1113 Include <time.h> and <sys/types.h> before libbfd.h.
1225fcbd
JK
1114
1115 * paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
1116
899931b6
JK
1117 * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
1118 * config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
1119 if this is a transparent procedure.
1120
55fea07b
JK
1121Mon Sep 13 16:06:43 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1122
1123 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
1124 hack so this file compiles again.
1125
1126 * remote-utils.c (gr_multi_scan): Cast return value from alloca.
1127 (gr_multi_scan): #if 0 never-reached return(-1).
1128
1129 * remote-udi.c (udi_wait): Return inferior_pid not 0.
1130
c6f494e8
RP
1131Mon Sep 13 14:14:35 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1132
1133 Collect some remote things into remote-utils.
1134 * remote-utils.[ch]: new files of functions collected from several
1135 different remote targets.
1136 * Makefile.in (REMOTE_O): add remote-utils.o.
1137 (dcache_h, remote_utils_h): new macros.
1138 (HFILES): add $(remote_utils_h).
1139 (ALLDEPFILES): add $(remote_utils_h).
1140 (dcache.o): new rule.
1141 (main.o, remote-bug.o): also depend on $(remote_utils_h).
1142 * target.h (remote_debug): extern moved to remote-utils.h.
1143 * target.c (find_default_run_target, find_core_target): initialize
1144 runable.
1145 (remote_debug): moved to remote-utils.c.
1146 (_initialize_targets): move declaration of user variable
1147 remotedebug to remote-utils.c.
1148 * remote-bug.c: include remote-utils.h rather than dcache.h.
1149 (bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
1150 dev_name, check_open, is_open, readchar, readchar_nofail,
1151 pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
1152 get_hex_word, bug_kill, bug_detach, bug_create_inferior,
1153 multi-scan, bug_prepare_to_store, bug_fetch_word,
1154 bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
1155 bug_speed): removed and replaced with facilities from
1156 remote-utils.[ch].
1157 (bug_read_inferior_memory): renamed to bug_read_memory.
1158 (bug_write_inferior_memory): renamed to bug_write_memory.
1159 (bug_xfer_inferior_memory): renamed to bug_xfer_memory.
1160 (get_word): comment out this unused function for now.
1161 (bug_settings, cpu_check_strings): new statics.
1162 (bug_open): rewritten to use gr_open.
1163 (_initialize_remote_bug): remove declarations of commands bug,
1164 device, speed.
1165 * main.c: include remote-utils.h.
1166 (baud_rate): removed to remote-utils.c.
1167 (main): handle baud rate settings using new facilities from
1168 remote-utils.
1169 * defs.h (baud_rate): removed extern.
1170
1171 m88110 support via bug-197 monitor.
1172 * remote-bug.c (get_reg_name, bug_fetch_register,
1173 bug_store_register): added m88110 extended register support.
1174 (wait_strings): added bug-197 prompt.
1175 (bug_wait): cope with bug-197 prompt.
1176 (start_load): cope with either bug-197 or bug-187 prompt.
1177
e3c16900
JK
1178Mon Sep 13 12:53:09 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1179
37c99ddb
JK
1180 * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
1181 pc_changed. If it was ever set to a non-zero value, it was before
1182 GDB 2.8. It doesn't seem to have any useful function.
1183
e3c16900
JK
1184 * defs.h: Don't define NORETURN (see comment).
1185
1186Sat Sep 11 10:46:09 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
1187
1188 * m88k-nat.c (fill_gregset): Set r31 and sfip.
1189
f46ffb9e
JK
1190Thu Sep 9 10:18:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1191
1192 * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
1193 getchar() (terminated only on '\n') instead of scanf. Send the
1194 '\n' which terminates it to the remote system.
1195
1196 More gcc lint:
1197 * exec.c (ignore): Return 0.
1198 * stack.c (return_command): Fetch lazy value directly, not via
1199 VALUE_CONTENTS, to avoid "value computed is not used".
1200 * inflow.c (new_tty): Move osigttou inside #if.
1201
1202 * remote.c (remote_fetch_registers): If remote reply is short, just
1203 note that fact and keep going (reading extra registers as all bits 0).
1204 (remote_store_registers): Send number of registers that were found
1205 by remote_fetch_registers.
1206 * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
1207 HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write
1208 floating registers.
1209 * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
1210 Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
1211 * Makefile.in, configure.in: Change accordingly.
1212
da398610
PS
1213Thu Sep 9 04:59:03 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1214
1215 * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
1216 reference targets.
f46ffb9e 1217 * symmisc.c (print_symbol): Use TYPE_TAG_NAME not TYPE_NAME to avoid
da398610
PS
1218 printing of identities.
1219
93bb0afa
JK
1220Wed Sep 8 19:18:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1221
1222 * breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
1223
46c28185
RP
1224Wed Sep 8 13:01:10 1993 K. Richard Pixley (rich@cygnus.com)
1225
1226 Gcc lint.
89812a0e
RP
1227 * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
1228 * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
fee933f1
RP
1229 * blockframe.c (get_prev_frame_info): initialize address.
1230 * breakpoint.c (bpstat_copy): initialize retval.
1231 (bpstat_stop_status): initialize value_is_zero.
1232 (bpstat_what): initialize bs_class.
1233 (breakpoint_1, mention): add do-nothing case for bp_step_resume.
1234 (break_command_1): initialize cond_end, addr_end, &
1235 canonical_strings_chain.
1236 (enable_breakpoint): initialize save_selected_frame.
1237 * buildsym.c (end_symtab): initialize symtab & linetablesize.
72cd0384
RP
1238 * c-exp.y (parse_number): initialize i.
1239 * c-typeprint.c (c_type_print_varspec_prefix): include
1240 TYPE_CODE_BITSTRING in switch statements and do nothing.
1241 * c-valprint.c (c_val_print): removed unused variable c.
1242 * ch-valprint.c (chill_val_print): removed unused variable eltlen.
1243 * cp-valprint.c (cp_print_class_method): initialize f & j.
1244 * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
1245 * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
6406a867
RP
1246 * findvar.c (value_from_register): initialize first_addr.
1247 * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
1248 variable typename.
1249 * infcmd.c (run_stack_dummy): return zero rather than simple
1250 return.
e7bf1152
RP
1251 * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
1252 remove symtab, appears unused.
1253 (restore_selected_frame): return 1.
1254 * mipsread.c (psymtab_to_symtab_1): initialize first_off.
1255 (fixup_sigtramp): initialize b0.
0ac0a9f6
RP
1256 * printcmd.c (do_examine): initialize val_type.
1257 (print_frame_args): initialize b.
1258 * ser-tcp.c (tcp_restore): comment out declaration. Appears
1259 unused.
1260 * ser-unix.c (hardwire_restore): comment out declaration. Appears
1261 unused.
1262 (hardwire_send_break): moved variable status into ifdef
1263 HAVE_SGTTY.
1264 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
1265 * serial.h: comment change only.
1266 * stabsread.c (rs6000_builtin_type): initialize rettype.
1267 (read_range_type): initialize nbits.
46c28185
RP
1268 * stack.c (print_frame_info): remove unused variable numargs.
1269 (parse_frame_specification): remove unused variables arg1, arg2,
1270 arg3.
1271 (return_command): initialize return_value.
1272 * symfile.c (cashier_psymtab): initialize pprev.
1273 * symtab.c (find_pc_psymbol): initialize best.
1274 (lookup_symbol): initialize s.
1275 (make_symbol_completion_list): initialize quote_pos.
1276 * thread.c: include command.h.
1277 (thread_info): static declaration removed; unused.
1278 (info_threads_command): fix == vs = typo.
1279 * typeprint.c (whatis_exp): initialize old_chain.
1280 * valprint.c (val_print_string): remove unused variable
1281 first_addr_err. Initialize old_chain.
1282 (_initialize_valprint): white space comment change.
1283 * values.c (show_values): rewrite if statement to avoid empty
1284 body.
1285 (vb_match): remove unused variable fieldtype_target_type.
1286
bf660885
JK
1287Wed Sep 8 10:21:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1288
1289 * Makefile.in (mipsread.o): Depend on $(bfd_h).
1290
ed1a07ad
JK
1291Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1292
8467b446
JK
1293 * gdbserver/Makefile.in (TAGS): config files are in
1294 $(srcdir)/../config, not $(srcdir)/config.
1295
ed1a07ad 1296 * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
bf660885 1297 (STORE_RETURN_VALUE): Pass the correct offset of the return
ed1a07ad
JK
1298 register to write_register_bytes.
1299 * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
1300
4a87a64a
ILT
1301Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1302
4f8a48e5
ILT
1303 * remote.c (remote_wait): Don't call error. Instead, call warning
1304 inside a loop. User can ^C to get out.
1305
4a87a64a
ILT
1306 * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
1307 routine to match BFD name change.
1308 * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
1309
538b2068
JW
1310Mon Sep 6 15:01:57 1993 Jeffrey Wheat (cassidy@cygnus.com)
1311
1312 * elfread.c: change elf32_symbol_type to elf_symbol_type
1313
758aeb93
ILT
1314Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1315
1316 * remote.c (remote_wait): Added 'W' and 'N' responses.
1317
ac7a377f
JK
1318Fri Sep 3 08:57:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1319
9e19dee1
JK
1320 * main.c, utils.c: Add comments about immediate_quit.
1321
5ec3ba25
JK
1322 * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
1323 to minimal symbols.
1324
38c5f504
JK
1325 * target.c (pop_target): Don't try to deal with the stack becoming
1326 empty. Shouldn't happen and the code that tried was broken.
1327
ac7a377f
JK
1328 * dcache.c: Cast return value from xmalloc.
1329
1330 * remote.c: Move setting of immediate_quit from remote_open to
1331 remote_start_dummy and set it back to zero when done.
1332
22202966
JK
1333Thu Sep 2 00:07:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1334
eba94f7d
JK
1335 * m88k-tdep.c: Remove a bunch of unused #includes.
1336
a3178c64
JK
1337 * language.h: Add comment about current_language.
1338
fb27a962
JK
1339 * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
1340 from var_uinteger to var_zinteger.
1341
f9440640
JK
1342 * configure.in: Fix typo (delta88r4 -> delta88v4).
1343
1344 * config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was
1345 to make this work on SVR4 before SVR4 had its own configuration,
1346 and it breaks SVR3.
1347
1348 * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
1349
7f5a51a4
JK
1350 * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
1351
22202966 1352 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
d9a23ef7 1353 * config/m88k/m88k.mh: Use xm-dgux.h.
22202966
JK
1354 * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
1355 MAKEVA_END and MAKEVA_ARG.
1356 * config/m88k/xm-*.h: Include m88k/xm-m88k.h.
1357 * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1358
996ccb30
JK
1359Wed Sep 1 19:31:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1360
a80193ba
JK
1361 * remote-udi.c (udi_wait): Call `warning' not `error'.
1362
67a64bec
JK
1363 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
1364 demangling, don't put the mangled form in the completion list.
1365
996ccb30
JK
1366 * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
1367 symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
1368 partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put
1369 inside #if) unused variables and labels. Fix unclosed comment.
1370 Deal with enumeration values unhandled in switch statements. Make
1371 sure non-void functions return values. Include appropriate
1372 headers.
1373 * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
1374 value < 0.
1375
c398de0c
RP
1376Wed Sep 1 14:36:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1377
1378 * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
1379 index -> strchr.
1380
98105ba2
JK
1381Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1382
1383 * remote.c: Add comment explaining why dcache is disabled.
1384 (remote_fetch_word, remote_store_word): Make static and #if 0.
1385 They are not called from anywhere.
1386
1387Wed Sep 1 14:41:28 1993 K. Richard Pixley (rich@sendai.cygnus.com)
4ed97c9a
RP
1388
1389 * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
1390 h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
1391 infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
1392 rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
1393 config/arm/tm-arm.h, config/convex/tm-convex.h,
1394 config/gould/tm-np1.h, config/gould/tm-pn.h,
1395 config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
1396 config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
1397 config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
1398 config/vax/tm-vax.h: bzero -> memset.
9823e3f4
RP
1399
1400 * regex.c: bcmp -> memcmp.
1401
c438b3af
JK
1402Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1403
98105ba2
JK
1404 * symtab.c (find_pc_line, find_line_common),
1405 symtab.h (struct linetable), xcoffread.c (arrange_linetable):
c438b3af
JK
1406 Revise comments re linetable sorting.
1407 * buildsym.c (compare_line_numbers): Sort by pc, not by line.
1408 * coffread.c: Tell end_symtab to sort the line table.
1409
1410 * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
1411 in buildsym.c. This includes coff_finish_block, coff_context_stack,
1412 coff_local_symbols, coff_file_symbols, coff_global_symbols,
1413 coff_end_symtab and coff_add_symbol_to_list.
1414 (read_enum_type): Deal with it now that we have a "struct pending"
1415 not a "struct coff_pending".
1416
1417 * buildsym.c (end_symtab): Don't realloc subfile->linetable.
1418
ade40d31
RP
1419Wed Sep 1 13:12:43 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1420
1421 * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
1422 findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
1423 irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
1424 remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
1425 sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
1426 umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
1427 29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
1428 config/convex/tm-convex.h, config/gould/tm-np1.h,
1429 config/gould/tm-pn.h, config/h8300/tm-h8300.h,
1430 config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
1431 config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
1432 config/i960/tm-i960.h, config/m68k/tm-news.h,
1433 config/m88k/tm-m88k.h, config/mips/tm-mips.h,
1434 config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
1435 config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
1436 config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
1437 config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
4ed97c9a 1438 config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
ade40d31 1439
e7e02420
PS
1440Wed Sep 1 05:05:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1441
1442 * mipsread.c (parse_partial_symbols): Use language from FDR if it
1443 is unambigous. Patch from ptf@delcam.co.uk (Paul Flinders).
1444 * mipsread.c (ecoff_symfile_info): New struct to hold the global
1445 pending_list.
1446 * mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
1447 Allocate the global pending list and link it to the objfile.
1448 * mipsread.c (is_pending_symbol, add_pending): Use global pending
1449 list from objfile. Allocate pending list entries from the
1450 psymbol_obstack.
1451 * mipsread.c (free_pending): Remove. The pending list is now
1452 freed when the psymbol_obstack is freed.
1453 * mipsread.c (psymtab_to_symtab1): Remove pending list allocation,
1454 the global pending list is used now.
1455 * mipsread.c (parse_partial_symbols): Skip only the first
1456 file indirect entry when building the dependency list.
1457
755892d6
RP
1458Tue Aug 31 15:01:27 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1459
d538b510
RP
1460 Break dcache code out of remote.c.
1461 * dcache.h: white space changes only.
1462 * dcache.c: add user settable variable to set whether data caching
1463 is in use.
1464 * remote.c: include dcache.h. removed data caching code which is
1465 now in dcache.c. Compile in data caching again. (data caching
1466 is currently off by default.)
1467 (remote_read_bytes, remote_write_bytes): change second arg to
1468 unsigned char.
1469 (remote_dcache): new static variable.
1470 * Makefile.in (REMOTE_O): add dcache.o.
1471 * config/m88k/m88k.mt (TDEPFILES): removed dcache.o.
1472
5a0a463f
RP
1473 Break dcache code out of remote-nindy.c.
1474 * remote-nindy.c: removed dcache code. Changed callers to use new
1475 conventions. include dcache.h.
1476 (nindy_dcache): new static variable.
1477 * config/i960/nindy960.mt (TDEPFILES): added dcache.o.
1478
755892d6
RP
1479 Break dcache code out of remote-bug.c into dcache.[hc].
1480 * Makefile.in (dcache_h): new macro.
1481 (HFILES): added $(dcache_h).
1482 (ALLDEPFILES): added dcache.c.
1483 (dcache.o): new rule.
1484 (remote-bug.o): now depends on $(dcache_h).
1485 * remote-bug.c: include dcache.h. remove externs for insque and
1486 remque, add extern for bcopy. Prototype bug_close,
1487 bug_clear_breakpoints, bug_write_cr. dcache code moved to
1488 dcache.[hc]. Changed dcache calling convention to include an
1489 initial DCACHE argument.
1490 (bug_dcache): new static variable.
1491 (bug_read_inferior_memory): change second arg to
1492 unsigned char.
1493 * dcache.[ch]: new files.
1494 * config/m88k/m88k.mt (TDEPFILES): add dcache.o.
1495
875fc229
JK
1496Tue Aug 31 10:33:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1497
1498 * c-typeprint.c (c_print_type_base): Treat show = 0 just like
1499 show < 0. The only case where we had been distinguishing is that
1500 show = 0 used to print "struct " or "enum " instead of
1501 "struct {...}" or "enum {...}" which seems clearly wrong.
1502
df429798
RP
1503Mon Aug 30 17:51:32 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1504
1505 * configure.in: recognize m88110 as an m88k.
1506
b556573d
JK
1507Mon Aug 30 16:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1508
1509 * valops.c (call_function_by_hand): If we discard cleanups, call
1510 bpstat_clear (&inf_status.stop_bpstat).
1511
cbba020f
PS
1512Mon Aug 30 12:47:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1513
1514 * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
1515 was empty and thrown away.
1516 * mipsread.c (parse_partial_symbols): Do not add empty psymtabs to
1517 dependency list, skip self dependencies.
1518 * mipsread.c (parse_fdr): Removed, obsolete.
1519 * mipsread.c (parse_lines): Check for cbLine being zero, not
1520 cbLineOffset.
1521 * mipsread.c (struct symloc): Add pst_language.
b556573d
JK
1522 * mipsread.c (parse_partial_symbols): Set up proper language for
1523 header files, save it in pst_language for psymtab_to_symtab_1.
cbba020f
PS
1524 * mipsread.c (psymtab_to_symtab_1): Use pst_language.
1525
d86a7c57
JK
1526Mon Aug 30 10:48:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1527
1528 * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
1529
61a29659
KR
1530Fri Aug 27 17:09:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1531
1532 * paread.c: Include som.h instead of libhppa.h. (From Utah.)
1533
c033ec17
JK
1534Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1535
13bd9622
JK
1536 * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
1537 Change calling sequence of print_symbol to fit catch_errors.
1538
427fec5d
JK
1539 * mips-tdep.c: Call reinit_frame_cache every time the user does
1540 "set heuristic-fence-post".
1541
20bee06d
JK
1542 * gdbserver/low-sun3.c: New file.
1543 * gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.
1544
c033ec17
JK
1545 * Rename files for 14-character limits:
1546 gdbserver/remote-gutils.c -> gdbserver/utils.c
1547 gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
1548 gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
1549 gdbserver/remote-server.c -> gdbserver/server.c
1550 remote-monitor.c -> remote-mon.c
f1538274
JK
1551 * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
1552 config/m68k/monitor.mt, config/i386/i386lynx.mh,
1553 config/sparc/sun4os4.mh: Change accordingly.
c033ec17
JK
1554 * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
1555
eb03abe8
JK
1556Thu Aug 26 14:32:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1557
860a1754
JK
1558 * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
1559 besides the dummy, return 1 rather than calling error().
1560 Let caller print the error message. Remove name argument.
1561 * valops.c (call_function_by_hand): Deal with changes to calling
1562 sequence of run_stack_dummy. Discard restore_inferior_status cleanup
1563 if run_stack_dummy returns 1.
1564
1565 * Version 4.10.2.
1566
1567 * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
1568 Get struct return address from v0, not a0.
1569
eb03abe8
JK
1570 * infrun.c (restore_inferior_status): Use catch_errors when
1571 restoring selected frame.
1572
1573Wed Aug 25 21:52:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1574
1575 * infrun.c (save_inferior_status, restore_inferior_status):
1576 Save and restore the registers too.
1577 * inferior.h (struct inferior_status): Add "registers".
1578
41a6194d
JK
1579Tue Aug 24 00:36:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1580
fb2fc3b6
JK
1581 * dbxread.c (end_psymtab): Clean up comment.
1582
1583 * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
1584 support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
a1c8d76e 1585 * dwarfread.c: Use LOC_BASEREG where appropriate.
fb2fc3b6
JK
1586 * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
1587
9c75ce9f
JK
1588 * coffread.c (init_lineno, init_stringtab): Don't check whether
1589 xmalloc returned NULL.
1590
0e646bd5
JK
1591 * config/vax/xm-vaxult.h: Define NO_PTRACE_H.
1592
41a6194d
JK
1593 * target.c, target.h: Add "set remotedebug" command.
1594 * remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
1595 "set m88ksnoop" options and use generic "set remotedebug" instead.
1596 * NEWS: Describe this change.
1597
2731625a
JK
1598Mon Aug 23 20:26:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1599
1600 * buildsym.h: Remove declaration of dbxread.c functions.
1601 * stabsread.h: Group together dbxread.c functions.
1602 Move elfstab_build_psymtabs here from symfile.h.
1603 Declare pastab_build_psymtabs.
1604 * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
1605 declaration, etc).
1606
e0508fdc
RP
1607Mon Aug 23 17:16:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1608
16f6ab6b
RP
1609 * remote-bug.c: rename quiet to bug88k_snoop.
1610 (double_scan, multi_scan): generalize double_scan into a scan
1611 for multiple patterns. Rename to multi_scan.
1612 (bug_wait, bug_write_inferior_memory): adapt to use the new
1613 multi_scan in order to catch and represent target bus errors.
1614 (bug_scan): currently unused, so comment out.
1615 (bug_quiet): removed. Replaced with a standard user settable boolean.
1616
e0508fdc
RP
1617 * m88k-tdep.c: remove include of sys/dir.h. Appears unnecessary
1618 and isn't available on solaris.
1619
304977ab
JK
1620Mon Aug 23 14:56:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1621
1622 * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
1623 * config/m88k/delta88.mh: Fix comment.
1624 * config/m88k/tm-delta88.h: Remove unused BCS define.
1625 * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
1626 New files.
1627 * configure.in: Recognize m88*-motorola-sysv4*.
1628 * m88k-nat.c: Always include sys/types.h; don't depend on USG.
1629
f5d6b0c5
PS
1630Mon Aug 23 12:57:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1631
304977ab
JK
1632 * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of
1633 symbol as an argument and use it in complaints.
f5d6b0c5
PS
1634 * symmisc.c (dump_psymtab): Dump filenames of dependencies.
1635
a6565079
JK
1636Mon Aug 23 1993 Sean Fagan (sef@cygnus.com)
1637 and Jim Kingdon (kingdon@cygnus.com)
1638
1639 Add NetBSD support:
1640 * configure.in: Recognize netbsd.
1641
313dd520
JK
1642Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1643
6ecb870e
JK
1644 * remote-nindy.c: Remove unused include of sys/ioctl.h.
1645
313dd520
JK
1646 * frame.h, symtab.h: Revise comments regarding baseregs.
1647
018ab14f
PS
1648Fri Aug 20 15:07:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1649
1650 * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
1651 Set language for psymtab and symtab.
1652 * mipsread.c (new_symbol): Set language and initialize demangled
1653 name for symbol.
1654 * symmisc.c (print_symbol): Use SYMBOL_SOURCE_NAME when printing
1655 the symbol type.
1656 * symtab.c (decode_line_1): Inhibit coredumps with cfront executables.
1657
8af0de91
JK
1658Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1659
0ca9bd12
JK
1660 * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
1661 it conditionalized on 4.3 vs. 4.4.
1662 * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
1663 4.4 sections; it was identical and now works for 4.4.
1664
b33e0e0b
JK
1665 * mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
1666
8af0de91
JK
1667 * printcmd.c (MAKEVA_END): Update this version to use "aligner".
1668
6ac14d25
PS
1669Thu Aug 19 22:08:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1670
1671 * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
1672 * mipsread.c (parse_symbol, parse_type, cross_ref): Handle corrupt
1673 file indirect entries with complaints instead of core dumps. Remove
1674 complaint for stTypedef within aggregates.
1675
522b9962
JK
1676Thu Aug 19 17:58:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1677
e09c5e26
JK
1678 * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
1679
1680 * coffread.c (coff_read_enum_type): #if 0 out code which changes
1681 enum {FALSE, TRUE} into boolean.
1682
522b9962
JK
1683 * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
1684 non-existent files nm-delta.h, etc.
1685 * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
1686 * delta68-nat.c: Add "[0]" in offsetof argument.
1687 * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
1688 nl with initializer, just assign to it. Check n_scnum field on
1689 return.
1690
e56ac0ba
JK
1691Wed Aug 18 12:03:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1692
b2ccb6a4
JK
1693 * printcmd.c (print_address), values.c (value_as_pointer): Don't
1694 use ADDR_BITS_REMOVE.
d3fa810c 1695 * defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
b2ccb6a4 1696
479fdd26
JK
1697 * blockframe.c (block_innermost_frame): Uncomment.
1698 Return NULL if passed NULL.
1699 * frame.h: Declare it.
1700 * expression.h (union exp_element): Add field block.
1701 * parse.c (write_exp_elt_block): New function.
1702 * expression.h (OP_VAR_VALUE): Now takes additional struct block *.
1703 * *-exp.y: Write block for OP_VAR_VALUE.
1704 * eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
1705 * valops.c, value.h (value_of_variable), callers:
1706 Add second argument, for block.
1707
e56ac0ba
JK
1708 * main.c (gdb_readline): If we read some characters followed by EOF,
1709 return them rather than returning NULL.
1710
48be4c35
JK
1711Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1712
1713 * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
1714
2f03f9a6
RP
1715Tue Aug 17 15:10:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1716
637603f9
RP
1717 * config/m88k/tm-m88k.h: Fix typo in comment.
1718 (FP_REGNUM): define in terms of SP_REGNUM
1719 rather than by absolute number. Also clearly comment that this
1720 is a convenient lie in order to decrease future confusion.
1721 (ACTUAL_FP_REGNUM): new macro for FP.
1722 (FRAME_CHAIN_VALID): removed. Standard default works fine.
1723 * m88k-tdep.c (frame_chain_valid): redundant, so removed.
1724 (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
1725 callers.
1726 (read_next_frame_reg): declare static.
1727 (examine_prologue): removed unused variabel insn2, rename insn1
1728 to insn, rewrote comment about finding fp, sp, etc. set frame_fp
1729 based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
1730 actually a scammed alias for SP_REGNUM on m88k.
1731
2f03f9a6
RP
1732 * frame.h: fixed typo in comment.
1733
4f1afa16
JK
1734Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1735
b80bd1e0
JK
1736 * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
1737
4f1afa16
JK
1738 * complaints.c (complain): fflush (stdout) after output.
1739
d541211d
PS
1740Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1741
1742 * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
1743 the saved pc from sigcontext on the stack for BSD signal handling.
1744 * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
1745 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
1746 Define to make backtracing through sigtramp work.
1747 * config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
1748 FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET): Ditto.
1749
1109373a
JK
1750Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1751
4f1afa16
JK
1752 * main.c (cd_command): If current_directory on entry is "/", then
1753 don't append an extra slash.
c307bb11 1754 Don't assume that /../.. means /.
4f1afa16 1755
d541211d
PS
1756 * target.c (target_xfer_memory): Clear errno before calling
1757 to_xfer_memory.
1758
1109373a
JK
1759 * stack.c (frame_info, print_frame_info): Add comment about using
1760 the starting source line number on a line boundary if backtracing
1761 through sigtramp.
1762
4fd0b84e
PS
1763Mon Aug 16 02:56:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1764
1765 * blockframe.c (create_new_frame, get_prev_frame_info):
1766 Use the function name when calling IN_SIGTRAMP.
1767 * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
36b1d528 1768 Define for correct handling of bachtraces through _sigtramp.
4fd0b84e
PS
1769 * m68k-tdep.c (m68k_find_saved_regs): Adjust saved sp for fake
1770 sigtramp frames.
1771 * mipsread.c (parse_type): Handle corrupt TIR info with complaint
1772 instead of core dump.
1773 * mipsread.c (parse_partial_symbols): Put static symbols into the
1774 mimimal symbol table, use proper mst_types for all minimal symbols.
1775 * stack.c (frame_info, print_frame_info): Use the starting source
1776 line number on a line boundary if backtracing through sigtramp.
1777
f2f848b8
RP
1778Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1779
4fd0b84e
PS
1780 * remote-bug.c: include gdbcmd.h.
1781 (sleep, remque, insque): forward decls added.
1782 (bug_fetch_registers, bug_store_registers): forward decls
1783 removed.
1784 (bug_read_inferior_memory, bug_write_inferior_memory): forward
1785 decls added.
1786 (srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
1787 srec_sleep, srec_noise): new static variables for user settable
1788 options. Mostly these are for debugging and tuning. I don't
1789 expect them to stay user settable options for long.
1790 (timeout): change default to 4 seconds.
1791 (check_open): declare funtion static, force return value.
1792 (readchar_nofail): if timeout, then say so if not being quiet.
1793 (pollchar, double_scan, bug_scan, bug_srec_write_cr,
1794 start_load): new functions.
1795 (bug_wait): rewritten to use double scan.
1796 (expect): while (1) -> for (;;)
1797 (get_hex_digit): rewrite if condition to avoid gcc complaints.
1798 (bug_load, bug_create_inferior, bug_open, bug_store_register):
1799 removed unused variables.
1800 (bug_load): replaced DELTA macro with user settable srec_frame
1801 variable. Other minor lint.
1802 (find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
1803 gethex, timed_read, translate_addr, bug_before_main_loop):
1804 unsused and removed.
1805 (bug_resume): add missing first arg, pid.
1806 (get_reg_name): use ip rather than cr04.
1807 (bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
1808 declare type, args, and explicitly return.
1809 (bug_store_register): straighten out the ip vs cr04 confusion.
1810 (bug_write_inferior_memory): rewrite to cope with errors while
1811 downloading s-records.
1812 (bug_read_inferior_memory): declare static.
1813 (bug_clear_breakpoints): expect nobr before prompt.
1814 (_initialize_remote_bug): add initializations for srec-bytes,
1815 srec-max-retries, srec-frame, srec-noise, srec-sleep,
1816 srec-echo-pace.
1817
4f4649a7
RP
1818 * Makefile.in (remote-bug.o): new rule.
1819 (ALLDEPFILES): added remote-bug.c
1820
e93790f0
RP
1821 * remote-hms.c (hms_wait): use -1 for timeout's which means block
1822 forever rather than 99999.
1823
057c2f47
RP
1824 * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
1825 simply save encode this fact as the process group and return
1826 success rather than an error.
1827 (set_tty_state): if process group is -1, do not reset the
1828 process group.
1829 (hardwire_reachar): comment change.
1830
0e5f1b37
RP
1831 * serial.h: comment change.
1832
f2f848b8
RP
1833 * config/m88k/tm-m88k.h: comment change to remove embedded
1834 comment.
1835 (SKIP_PROLOGUE): skip_prologue returns a value which is expected
1836 to reset the pc argument. So reset it.
1837
5069d770
FF
1838Fri Aug 13 10:15:24 1993 Fred Fish (fnf@deneb.cygnus.com)
1839
1840 * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
1841 tagging.
1842
ff1cdb40
JK
1843Thu Aug 12 20:40:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1844
1845 * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
1846 GDBSERVER_DEPFILES. Also remove much (but not all that could be
1847 removed) crud inherited from gdb Makefile.in.
1848 * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
1849 * gdbserver/README: Say it works on Sun and change configuration
1850 instructions slightly.
1851
1852Wed Aug 11 18:56:59 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
1853
1854 * config/i386/i386v4.mh: use -lsocket and -lnsl, for remote
1855 targets that use BSD style network connections
1856
ae87844d
JK
1857Wed Aug 11 17:54:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1858
1859 * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
1860 of statics doesn't work with SunOS4 /bin/cc).
1861 Rename the occurrence in remote-monitor.c to monitor_bug_ops.
1862
523ef121
JK
1863Tue Aug 10 13:07:14 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1864
1865 * blockframe.c (find_pc_partial_function),
1866 mips-tdep.c (find_proc_desc): Deal with "pathological" case.
1867
0f1b1bcc
JK
1868Tue Aug 10 14:50:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1869
523ef121
JK
1870 * utils.c (wrap_here): Allow indent to be NULL.
1871 (fputs_filtered): Don't check for null wrap_indent (wrap_here now
1872 guarantees that it isn't, and anyway we were only checking one out
1873 of the two places we dereferenced it).
1874
0f1b1bcc
JK
1875 * objfiles.h (struct objfile): Clean up comments for
1876 {obj,sym}_private to clarify what they are private to.
1877
48f075eb
SS
1878Mon Aug 9 16:45:00 1993 Stan Shebs (shebs@rtl.cygnus.com)
1879
1880 * stabsread.c, buildsym.c (hashname): Moved function to
1881 buildsym.c, as suggested in the sources.
1882
0685d95f
JK
1883Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1884
525390a2
JK
1885 * remote-udi.c: Make udi_ops extern rather than trying forward
1886 declaration of a static variable.
1887
8a99c712
JK
1888 * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
1889 there, rather than using an ANSI C specific macro.
1890
a2fbd4c8
JK
1891 * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
1892 sys/types.h near the top (just on general principles).
1893
b992d16b
JK
1894 * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
1895 no longer used.
1896
0685d95f
JK
1897 * gdbcore.h: New variable gnutarget.
1898 * core.c: Add commands to set and show it.
1899 * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
1900 * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
1901 putenv.
1902
1903 * symtab.c (decode_line_1): Give error on unmatched single quote.
1904
3da5198c
JK
1905Sun Aug 8 13:59:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1906
95a98b5e
JK
1907 * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
1908
3da5198c
JK
1909 * remote.c: Add comments about 'd', 'r', and unrecognized requests.
1910
1911 * inflow.c (terminal_init_inferior): Don't muck with tty state if
1912 gdb_has_a_terminal() is false.
1913
f645e835
FF
1914Sun Aug 8 10:07:47 1993 Fred Fish (fnf@cygnus.com)
1915
1916 * dwarfread.c (record_minimal_symbol): Remove prototype and
1917 function.
1918 * dwarfread.c (add_partial_symbol): Remove code to add minimal
1919 symbols and remove comment about limitations. Experiments show
1920 that now that gdb handles the ELF symtab better for creating
1921 minimal symbols, that no additional information is added by
1922 examining the DWARF information, and in fact, given the
1923 limitations, the DWARF code was actually making things worse.
1924
379dd965
FF
1925Sat Aug 7 10:59:03 1993 Fred Fish (fnf@deneb.cygnus.com)
1926
1927 * elfread.c (elf_symtab_read): Properly sort out the bss symbols
1928 from the data symbols and give them the correct minimal_symbol_type.
1929 Add file static symbols to the minimal symbol table, not just
36b1d528 1930 global symbols. Add absolute symbols as well (like _edata, _end).
6c8f91a1
FF
1931 Redo stabs-in-elf special symbol handling now that file static
1932 symbols are entered into the into the minimal symbol table.
379dd965
FF
1933 * dwarfread.c (add_partial_symbol): Add comment about limitations
1934 of DWARF symbols for distinquishing data from bss when adding
1935 minimal symbols. Add file local symbols to minimal symbols.
1936
8d9ec7b6
JK
1937Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1938
80b4aa1c 1939 * ser-go32.c: Define job_control variable.
e917bef3 1940
80b4aa1c
JK
1941Thu Aug 5 15:56:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
1942
1943 * configure.in: z8k-coff is the same as z8k-sim
1944
1945Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
80b4aa1c 1946
038de493
JK
1947 * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
1948
a824e46e
JK
1949 * config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
1950
d625b398
JK
1951 * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
1952
8d9ec7b6
JK
1953 * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
1954
a88797b5
FF
1955Wed Aug 4 18:32:12 1993 Fred Fish (fnf@cygnus.com)
1956
1957 * inflow.c (pass_signal): Signal handlers take one int arg;
1958 supply an unused one to make it type compatible as an arg to
1959 signal().
1960
05e9e188
ILT
1961Tue Aug 3 18:34:14 1993 Ian Lance Taylor (ian@cygnus.com)
1962
1963 * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
1964
8e92ade7
FF
1965Tue Aug 3 15:34:57 1993 Fred Fish (fnf@cygnus.com)
1966
1967 * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
1968 config/m68k/delta68.mh, config/m68k/delta68.mt,
1969 config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
1970 config/mips/news-mips.mh.
1971 * Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
1972 config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
1973 config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
1974 config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
1975 config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
1976 * Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
1977
e906e7fa
ILT
1978Tue Aug 3 12:02:09 1993 Ian Lance Taylor (ian@cygnus.com)
1979
1980 * mipsread.c: Updated for BFD ECOFF changes. Now gets the
1981 swapping routines and external structure sizes via the
1982 ecoff_backend information. No longer includes coff/mips.h.
1983
511e0322
FF
1984Tue Aug 3 10:58:04 1993 Fred Fish (fnf@cygnus.com)
1985
1986 * Makefile.in (SFILES): Add thread.c
1987
6eb0b283
DE
1988start-sanitize-v9
1989Tue Aug 3 10:21:58 1993 Doug Evans (dje@canuck.cygnus.com)
1990
1991 * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
1992 sim_set_args return code.
1993end-sanitize-v9
1994
90fcdfbf
RP
1995Mon Aug 2 16:35:31 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1996
1997 * Makefile.in (VERSION): bumped to 4.9.4.
1998
1999 * remote-monitor.c: updated copyright.
2000 (bug_ops, monitor_desc): now static.
2001 (monitor_desc): in several places, check and/or set to NULL.
2002
2003 * remote-hms.c (hms_files_info): Add the appropriate items where
2004 missing in the printf call.
2005
2006 * remote-bug.c: new file for m88k bug support.
2007
2008 * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
2009
a3059251
SC
2010Mon Aug 2 14:22:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2011
2012 * h8300-tdep.c: Use new variable h8300hmode.
2013
ac88287f
JK
2014Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2015
802d6308
JK
2016 * valops.c (typecmp): If we are passing a non-reference to a function
2017 which takes a reference, pass the address.
2018 (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
2019 references here.
2020
3082244d
JK
2021 * thread.c (thread_switch): Define as static.
2022 (add_thread): Cast return value from xmalloc.
2023
ac88287f
JK
2024 * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
2025 * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
2026
c178776d
FF
2027Mon Aug 2 11:58:52 1993 Fred Fish (fnf@deneb.cygnus.com)
2028
2029 * README: Elaborate on gdb C++ support and cfront support.
2030
da0baf42
SG
2031Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
2032
2033 * i386lynx-nat.c, thread.c, thread.h: Update copyrights.
2034
afa2499d
JK
2035Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2036
2037 * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
2038
db691e4b
SG
2039Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
2040
2041 * gdbserver/remote-inflow.c (create_inferior): Fix comments, and
2042 error msg. Setup seperate process group for child.
2043 * (write_inferior_memory): Sleep for 1 second and retry on ptrace
2044 failure.
2045
25286543
SG
2046Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
2047
884914bf
SG
2048 * config/i386/i386lynx.mh (NATDEPFILES): Drop coredep (for now).
2049 * config/i386/nm-i386bsd.h: Protect from multiple inclusion.
2050 * config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
2051 * config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
2052 target_pid_to_str.
2053
25286543
SG
2054 * Makefile.in (CLIBS): Reorder to make Lynx ld happy.
2055 * (HFILES): New file thread.h.
2056 * (OBS): New file thread.c.
2057 * configure.in: Host config for Lynx/386.
2058 * fork-child.c (fork_inferior): Call init_thread_list().
2059 * infrun.c (resume): Add pid to invocation of target_resume().
2060 * (wait_for_inferior): Pay attention to pid from target_wait().
2061 Multi-threading code now uses this to determine what to do.
2062 * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
2063 Use target_pid_to_str() macro throughout when printing pid.
2064 * inferior.h (child_resume): Add pid to prototype.
2065 * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
2066 argument, instead of using inferior_pid.
2067 * procfs.c (procfs_resume): Pass in pid as argument. Ignored for
2068 now. Use target_pid_to_str() macro throughout for printing process id.
2069 * remote-adapt.c (adapt_resume): Pass in pid as argument.
2070 * remote-eb.c (eb_resume): Pass in pid as argument.
2071 * remote-es.c (es1800_resume): Pass in pid as argument.
2072 * remote-hms.c (hms_resume): Pass in pid as argument.
2073 * remote-mips.c (mips_resume): Pass in pid as argument.
2074 * remote-mm.c (mm_resume): Pass in pid as argument.
2075 * remote-monitor.c (monitor_resume): Pass in pid as argument.
2076 * remote-nindy.c (nindy_resume): Pass in pid as argument.
2077 * remote-sa.sparc.c (remote_resume): Pass in pid as argument.
2078 * remote-sim.c (rem_resume): Pass in pid as argument.
38867a45 2079 start-sanitize-v9
25286543 2080 * remote-sp64sim.c (simif_resume): Pass in pid as argument.
38867a45 2081 end-sanitize-v9
25286543
SG
2082 * remote-st.c (st2000_resume): Pass in pid as argument.
2083 * remote-udi.c (udi_resume): Pass in pid as argument.
2084 * remote-vx.c (vx_resume): Pass in pid as argument.
2085 * remote-z8k.c (rem_resume): Pass in pid as argument.
2086 * remote.c (remote_resume): Pass in pid as argument.
2087 * solib.c (solid_create_inferior_hook): Pass inferior_pid to
2088 target_resume().
2089 * target.c (normal_pid_to_str): New routine to print out process
2090 ID normally.
2091 * target.h (struct target_ops): Add pid to prototype at
2092 to_resume(). (target_resume): Add pid argument.
2093 * (target_pid_to_str): Default definition for normal type pids.
38867a45 2094 * thread.h, thread.c: New modules for multi thread/process control.
25286543 2095
804d23f3
JG
2096Sun Aug 1 13:02:42 1993 John Gilmore (gnu@cygnus.com)
2097
2098 * README: Say that bug-gdb is also the place to send requests
2099 for help with GDB.
2100
d1445327
FF
2101Sun Aug 1 09:42:13 1993 Fred Fish (fnf@cygnus.com)
2102
84b5df32 2103 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
d1445327
FF
2104 * h8500-tdep.c: Add parens around a few macro args.
2105
eec03ebb
JK
2106Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2107
77eb2e8f
JK
2108 * TODO: Remove items about unix-to-unix/rapp debugging (now we
2109 have gdbserver), moving xm files to subdirectory, ptype yylval,
2110 and file-local symbols.
2111
eec03ebb
JK
2112 * gdbtypes.h: Improve comments about C++ methods.
2113
bcca9a08
FF
2114Fri Jul 30 14:16:32 1993 Fred Fish (fnf@deneb.cygnus.com)
2115
2116 * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
2117 NULL in all other calls to correct pointer types.
2118
6cfec929
JK
2119Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2120
2121 From Jeffrey Law:
2122 * tm-hppa.h (TARGET_WRITE_PC): Define.
2123 * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
2124 then return the address of the dummy itself rather than
2125 the address of $$dyncall.
2126 (target_write_pc): New function to store a new PC.
2127
f5a197a2
PS
2128Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2129 and Jim Kingdon (kingdon@cygnus.com)
2130
2131 * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
2132 conditions, they might contain symbol table references.
2133
2134Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2135
2136 * mipsread.c (parse_symbol): Handle opaque struct definitions and
2137 type naming for stTypedef symbols.
2138
96c68efa
JK
2139Fri Jul 30 14:44:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2140
2141 * c-exp.y (yylex): Detect C++ nested types.
2142
38cbb25c
DE
2143start-sanitize-v9
2144Fri Jul 30 11:07:37 1993 Doug Evans (dje@canuck.cygnus.com)
2145
2146 * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
2147 (dump_ccreg, sparc_print_register_hook): New fns.
2148 * remote-sim.h: New file.
2149 * remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
2150
2151 * config/sparc/sp64.mt: New file.
2152 * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
2153 (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
2154end-sanitize-v9
2155
6879f0db
FF
2156Fri Jul 30 10:15:01 1993 Fred Fish (fnf@deneb.cygnus.com)
2157
2158 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
2159
ca33fca1
JK
2160Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2161
d3862cae
JK
2162 From J. Law:
2163 * infcmd.c (read_pc): Remove PA specific code.
2164 * tm-hppa.h (TARGET_READ_PC): Define.
2165 * hppa-tdep.c (target_read_pc): New function.
2166
ca33fca1
JK
2167 * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
2168
598db9ee
FF
2169Fri Jul 30 07:36:53 1993 Fred Fish (fnf@deneb.cygnus.com)
2170
ebb962cd 2171 * NEWS: Add note that DEC alpha support is host only, not native.
598db9ee
FF
2172 * README: Emphasize that C++ support works best with GNU C++ and
2173 stabs debugging format.
2174 * delta68-nat.c: Add missing FSF copyright.
2175
f1a67de8
JK
2176Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2177
2178 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
247145e6
JK
2179 * hppa-tdep.c (frame_chain_valid): Check that our function has the
2180 same address as _start, not that it must be the same symbol.
f1a67de8 2181
68f49dae
FF
2182Fri Jul 30 00:18:40 1993 Fred Fish (fnf@deneb.cygnus.com)
2183
2184 * Makefile.in (ALLDEPFILES): Add delta68-nat.c
2185 * Makefile.in (delta68-nat.o): Add dependency.
2186
54a11a1d
JK
2187Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2188
5d38a0a8
JK
2189 * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
2190 was adequate in gdb 3.5 but not now.
2191
2192 * valops.c (typecmp): An array in t2 matches a pointer in t1.
2193
2194 * valops.c (typecmp): When comparing type1& to type2, compare
2195 type1 and type2 as leniently as if we were comparing type1 to
2196 type2.
2197
1410f5f1
JK
2198 * cp-valprint.c (cplus_print_value): Don't dump core if the
2199 baseclass doesn't have a name.
2200 * values.c (vb_match): New function, which finds the virtual
2201 base class pointer even if the types are nameless.
2202 (baseclass_{addr,offset}): Use it.
2203
63757ecd
JK
2204 * hppa-tdep.c: Make "maintenance print unwind" command from old
2205 "unwind" command.
2206
54a11a1d
JK
2207 * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
2208 obsolete junk which apparently had been copied from the
2209 pre-serial.h remote.c, but which is no longer used.
2210
9b311b22
FF
2211Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com)
2212
2213 * Makefile.in (NONSRC): Need 29k-share/README, not
2214 29k-share/udi/README.
2215
6e35b037
JK
2216Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2217
93af329a
JK
2218 * paread.c (pa_symfile_init): If error reading string table, don't
2219 use errno in cases where it hasn't been set.
2220
d4c22c52
JK
2221 * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
2222
60a60032
JK
2223 * remote-monitor.c (_initialize_monitor): Comment out use of
2224 connect_command, since connect_command itself is commented out.
2225
2226 * remote-monitor.c (generic_open): Parse arguments the same way
2227 as remote.c.
2228
6e35b037
JK
2229 * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
2230
c4ed7353
JK
2231Wed Jul 28 13:19:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2232
6e35b037
JK
2233 * config/mips/xm-mips.h: Define HAVE_TERMIOS.
2234
c4ed7353
JK
2235 * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
2236 __gnu_compiled* symbols into the minimal symbols.
2237
0907dc09
ILT
2238Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com)
2239
2240 * remote-mips.c (_initialize_remote_mips): Added "timeout" and
2241 "retransmit-timeout" variables to set mips_receive_wait and
2242 mips_retransmit_wait, respectively.
2243
ffff16b3
PS
2244Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de)
2245
2246 * symmisc.c (dump_msymbols): Handle new mst_file_* types.
2247
7706616f
JK
2248Tue Jul 27 12:07:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2249
157ea89d
JK
2250 * remote-udi.c: Remove old comment about download not implemented.
2251
704deef2
JK
2252 * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
2253 * nindy-share/*, remote-nindy.c: Extensive hacking to make it
2254 conform to GDB conventions like using memcpy not bcopy, serial.h,
2255 etc. This is to make it host on Solaris, AIX, etc.
2256 * Makefile.in: Reflect removed nindy-share files.
8805c1ee 2257 * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
157ea89d 2258
efdd6b64
JK
2259 * stack.c (print_frame_info): Revise comment about `pathological'
2260 case (there was a wrong FIXME about text labels; also asm() can
2261 trigger this as well as versions of ar which truncate .o names).
2262
56ad756a
JK
2263 * buildsym.c (start_subfile): If a .c file includes a .C file, set
2264 the language of both of them to C++.
2265
7706616f
JK
2266 * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
2267 <memory.h>.
2268 Include <malloc.h> rather than declaring malloc functions ourself.
2269
2270 * ser-unix.c (set_tty_state): Don't ignore errors setting process
2271 group.
2272 * inflow.c (terminal_inferior): If attach_flag set, ignore errors
2273 from set_tty_state.
2274
2275 * fork-child.c (fork_inferior): Only quote exec file if needed.
2276
2277 * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
2278 stTypedef inside an stBlock.
2279
0eb22669
PS
2280Tue Jul 27 12:36:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2281
2282 * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
2283 we have breakpoints or watchpoints as we might have to ignore internal
2284 breakpoints.
2285
2286 Fix gdb core dumps after `file newfile' commands.
2287 * symtab.h, symfile.c (clear_symtab_users): New routine which
2288 unconditionally clears symtab users. clear_symtab_users_once
2289 commented out as it was a noop anyway.
2290 * objfiles.c (free_objfile): Don't call clear_symtab_users_once.
2291 * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
2292 xcoffexec.c (exec_close): Call clear_symtab_users if necessary.
2293 * symfile.c (syms_from_objfile): Install cleanups for errors during
2294 symbol reading.
2295 * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
2296 Lint cleanup code, call do_cleanups explicitly.
2297 * symfile.c (symbol_file_add): Call new_symfile_objfile and
36b1d528 2298 reinit_frame_cache _after_ the new symbols are read in.
0eb22669 2299
b31ca3de
PS
2300Tue Jul 27 01:57:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2301
2302 * mipsread.c (parse_type): Do not set tag name for compiler
2303 generated fake tag names.
2304
333355f3
RP
2305Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2306
2307 * config/m88k/m88k.mt (TDEPFILES): add exec.o.
2308
91ab5674
JK
2309Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2310
b8ec9a79
JK
2311 * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
2312 command. Now we use unwind info by default if we can find it.
2313
2314 * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
2315 to tm-sparc.h so they are shared between Solaris and SunOS4.
2316 * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
2317 N_GSYM functions.
2318
41c86b69
JK
2319 * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
2320 for floating point registers.
2321
1c8961dd
JK
2322 * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
2323 symbols as mst_file_text.
2324
08ecd8f3
JK
2325 * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
2326
230a3ab0
JK
2327 * stabsread.c (rs6000_builtin_type): Make logical types be
2328 TYPE_CODE_BOOL.
91ab5674 2329
d889f6b7
JK
2330Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2331
2332 * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
2333 source_file field.
2334
9aa3aa8c
JK
2335Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2336
d889f6b7
JK
2337 * remote.c: Don't error() on errors xferring memory.
2338 * target.h: Clean up comments about *xfer_memory.
2339
f47e56c9
JK
2340 * exec.c, corelow.c (target_ops struct): Don't allow
2341 {insert,remove}_breakpoints to be defaulted to
2342 memory_{insert_remove}_breakpoint.
2343
9aa3aa8c
JK
2344 * demangle.c: Make it so `help set dem' tells you how to get the
2345 list of demangling styles.
2346
f261333b
JK
2347Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2348
2349 * Makefile.in: Use REMOTE_O macro not remote.o.
2350 * config/i960/{nindy960,vxworks960}: Don't use remote.o.
2351
073c6b2b
ILT
2352Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com)
2353
2354 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
2355 (can't include it in nm-*.h file because it causes conflicts with
2356 a.out symbol definitions).
2357 * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
2358 * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
2359 corelow.o.
2360 * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
2361 (REGISTER_U_ADDR): Defined.
2362 * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
2363 HAVE_TERMIO.
2364 * config/pa/xm-hppah.h: Likewise.
2365
22b4b223
JK
2366Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2367
70c7ec2e
JK
2368 * mipsread.c (parse_symbol): when stTypedef and friends occur within
2369 an stBlock, skip over the fields of the inner one.
2370
2371 * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
2372 heuristic_proc_desc rather than just assuming registers not saved.
2373
51b4195f
JK
2374 * Makefile.in (regex.o): Add dependency.
2375
72943ad0
JK
2376 * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
2377
22b4b223
JK
2378 * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
2379
66fe7416
PS
2380Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2381
2382 * config/mips/xm-makeva.h: New file implements va_list alignment
2383 restrictions for mips hosts.
2384 * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
2385 Use it.
2386
579f0258
PS
2387Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2388
66fe7416
PS
2389 * mips-tdep.c (init_extra_frame_info): Do not check for
2390 mips_in_lenient_prologue if it is a dummy frame.
579f0258
PS
2391 * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
2392 mips_in_lenient_prologue.
2393
f29b5686
JK
2394Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2395
23d35572
JK
2396 * mips-tdep.c (heuristic_proc_start): First time we print the
2397 warning, elaborate.
2398 (_initialize_mips_tdep): Improve docstring for `set heur'.
2399
726d33a4
JK
2400 * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
2401
f29b5686
JK
2402 * symtab.c (find_line_symtab): New function, to deal with multiple
2403 symtabs with the same name.
2404 (find_line_pc{,_range}): Use it.
2405 (find_pc_symtab): Add comment about overlapping symtabs.
2406
db85f523
FF
2407Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
2408
2409 * Makefile.in (SFILES): Add nlmread.c.
2410 * Makefile.in (OBS): Add nlmread.o.
2411 * Makefile.in (nlmread.o): Add new target.
2412 * configure.in (i[34]86-*-netware): New configuration.
2413 * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
2414 for NLM/NetWare support.
2415
dc34b11d
JK
2416Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2417
164207ca
JK
2418 * symtab.h (enum minimal_symbol_type): Add mst_file_*.
2419 * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
2420 * dbxread.c (record_minimal_symbol): Deal with statics.
2421 * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
2422
3d7d2980
JK
2423 * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
2424
1cd080b5
JK
2425 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
2426 arg_bytes field of makeva_list is always aligned.
2427 * config/pa/xm-pa.h: Make arglist_address a char *.
2428
dc34b11d
JK
2429 * ser-unix.c: Don't try to use job control with termio.
2430
6f87ec4a
PS
2431Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2432 and Jim Kingdon (kingdon@cygnus.com)
2433
2434 Make breakpoint_re_set_one work with overloaded member functions,
2435 `b 123' and `b foo' if foo is a static function.
2436 * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
2437 to return canonical line specs if requested by the caller.
2438 * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
2439 callers accordingly.
2440 * symtab.c (build_canonical_line_spec): New helper function which
2441 constructs the canonical line spec.
2442 * breakpoint.c (break_command_1): Use canonical line spec instead
2443 of command string as addr_string if necessary.
2444 * source.c (line_info): Fix storage leak.
2445
fc39be58
JK
2446Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2447
56eec3c7
JK
2448 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
2449 but not the others.
2450 * symm-tdep.c: Remove exec_file_command.
2451 [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
2452 A few miscellaneous cleanups.
2453 * symm-nat.c: Renamed from symm-xdep.c.
29b8ed0a 2454 * All symmetry dependent files: Many changes.
56eec3c7 2455
ee5fb959
JK
2456 * mips-tdep.c (mips_skip_prologue): New argument lenient.
2457 Use read_memory_nobpt.
2458 (is_delayed, mips_in_lenient_prologue): New functions.
2459 (init_extra_frame_info): If in the prologue, don't use saved registers.
2460 * config/mips/tm-mips.h: Declare mips_skip_prologue.
2461
fc39be58
JK
2462 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
2463 passing it to END_PSYMTAB.
2464
ac82e9a5
JK
2465Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2466
2467 * symtab.c (find_pc_symtab): Call warning, not printf directly.
2468
2469 * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
2470
2e9e6869
ILT
2471Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
2472
2473 * mipsread.c: No longer need to undefine ZMAGIC.
2474
f75906eb
ILT
2475Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2476
2477 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
2478 (print_insn): Now just calls print_insn_m88k.
2479
ccdc578f
DE
2480Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
2481
2482 * h8300-tdep.c (examine_prologue): Make prototype match definition.
2483
f09aae84
JK
2484Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2485
5b336d29
JK
2486 * NEWS: Mention that remote.c now has a `load' operation.
2487
5ac7f56e
JK
2488 * hppa-tdep.c (pc_in_linker_stub): New function.
2489 (find_proc_framesize): Return 0 for linker stubs.
2490 (rp_saved): Tell the caller where rp is saved.
2491 (frame_chain_valid): Return 1 for linker stubs.
2492 (frame_saved_pc): Use return value from rp_saved.
2493
f09aae84
JK
2494 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
2495 pass the sp relative to the frame in question, not the sp in the
2496 innermost frame.
2497
1ab786f4
JK
2498Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2499
b5d4d6d7
JK
2500 * mipsread.c (parse_procedure): Take as argument the symtab to look
2501 the name up in. Look it up with mylookup_symbol, not lookup_symbol.
2502 (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
9adb88b7
JK
2503
2504 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
2505 already checked the first characters.
2506
1ab786f4
JK
2507 Changes from Jeffrey Law:
2508 * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
2509 machine dependent fields in the makeva_list structure.
2510 (makeva_size): Allocate extra space to handle gaps made by
2511 alignment restrictions.
19318471 2512 * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
1ab786f4
JK
2513 (MAKEVA_START): Initialize arglist_address field.
2514 (MAKEVA_ARG): Always store arguments on natural alignment
2515 boundaries. Set arglist_address to the address right after
2516 the args.
2517 (MAKEVA_END): Simply return the value stored in arglist_address.
2518
968dca8d
JK
2519Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2520
bf5b632d
JK
2521 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
2522 address, not addr.
2523
2524 * hppah-nat.c (store_inferior_registers): Don't print i in cases
2525 where we aren't using it.
2526
968dca8d
JK
2527 * a29k-tdep.c (get_saved_register): Fix typo.
2528
bd96254f
DE
2529Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
2530
2531 * configure.in: Recognize h8300h (variant of h8300).
2532
2533start-sanitize-v9
2534Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
2535
2536 * configure.in: Recognize sparc64-*-*.
2537end-sanitize-v9
2538
5af4f5f6
JK
2539Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2540
2541 * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
2542 returning foo' as well as `pointer to foo'.
2543
2544 * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
2545 * config/m68k/tm-m68k.h: Define it.
2546 * mem-break.c, breakpoint.c: Improve comments.
2547
2548Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
2549
2550 * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
2551 * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
2552
524895ab
DE
2553Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
2554
2555 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
2556 Make prototype match definition.
2557
98d82489
FF
2558Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
2559
8bdc1fd0
FF
2560 * elfread.c: Remove notice about file still being under
2561 construction.
98d82489
FF
2562 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
2563
85494909
JK
2564Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2565
2566 * a29k-tdep.c (read_register_stack): Make val static.
2567
e1f63216
DE
2568Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
2569
2570 * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
2571 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
2572 usual spot.
2573
eabbe766
JK
2574Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2575
1326dace
JK
2576 * c-valprint.c (c_val_print): Fix thinko with unspecified length
2577 arrays.
2578
eabbe766
JK
2579 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
2580 use it.
2581
f6365bd6
JK
2582Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2583
f1ed4330
JK
2584 * symtab.c (decode_line_1): Use end of block to figure out whether
2585 val.end is in the same function, not minimal symbols.
2586
2587 * source.c (line_info): Add a few more wrap_here's.
2588
2589 * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
2590 don't make assumptions about sizes of host data types.
2591
2592 * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
2593 * infrun.c, breakpoint.c, printcmd.c: Change callers.
2594 * printcmd.c (containing_function_bounds): Remove.
2595 * printcmd.c (disassemble_command): Use find_pc_partial_function,
2596 not containing_function_bounds.
2597 * infcmd.c (step_1): Use find_pc_partial_function rather than
2598 trying to roll our own. Move check for a pc between SIGTRAMP_START and
2599 SIGTRAMP_END in find_pc_partial_function, not step_1.
2600
f6365bd6
JK
2601 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
2602 Keep unswapped value in array of char, not REGISTER_TYPE.
2603 Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
2604 (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
2605 sizeof (CORE_ADDR).
2606
0a8f1742
JK
2607Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
2608
2609 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
2610 * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
2611 * config/m68k/dpx2.m{h,t}: New files.
2612
53adb297
DE
2613Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
2614
2615 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
2616 more parens around macro arg.
2617
fee44494
JK
2618Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2619
fe675038
JK
2620 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
2621 step_resume_break_address with step_resume_breakpoint (now local
2622 to wait_for_inferior).
2623 ({insert,remove}_step_breakpoint): Remove.
2624 (wait_for_inferior): Set step resume break with
2625 set_momentary_breakpoint. Test hitting it with bpstat_stop_status
2626 and bpstat_what (stop_step_resume_break removed).
2627 * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
2628 which includes previous return value as main_action, and a step_resume
2629 bit.
2630 * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
2631 there is another breakpoint there, insert it.
2632 * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
2633 a few more gotos.
2634 Various: Clean up and add comments.
2635
fee44494
JK
2636 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
2637 for Wed Nov 13 16:45:13 1991).
2638
4d50f90a
JK
2639Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2640
58e49e21
JK
2641 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
2642
2643 * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
2644 not short *.
2645
34df79fc
JK
2646 * findvar.c, defs.h
2647 ({extract,store}_{signed_integer,unsigned_integer,address}):
2648 New routines to replace SWAP_TARGET_AND_HOST.
2649 All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
2650
271d7387
JK
2651 * config/sparc/tm-sparc.h: Add comment suggesting that removing
2652 ins and locals from the registers array might clean things up.
2653
19bdd57f
JK
2654 * utils.c: Clean up comments about wrap buffer and wrap_here.
2655 * printcmd.c (printf_command): Call wrap_here before vprintf.
2656
28d14fd8
JK
2657 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
2658 Patch from ptf@delcam.co.uk (Paul Flinders).
2659
4d50f90a
JK
2660 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
2661
2fcdae93
PS
2662Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2663
2664 * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
2665 * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
2666 is at the start of the dummy code.
2667
47976ba7
JK
2668Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2669
dd99f8e4
JK
2670 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
2671 stuff, just write the sp and fp.
2672 (sparc_pop_frame): Skip the do_restore_insn; we already restore
2673 the sp with the other out registers.
2674
558f4183
JK
2675 * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
2676 arguments.
2677
36b1d528 2678 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
47976ba7 2679
9fc8002c
DE
2680start-sanitize-v9
2681Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
2682
2683 * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
2684 != sizeof (REGISTER_TYPE).
2685 (frame_saved_pc): Ditto.
2686end-sanitize-v9
2687
be474657
DE
2688Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
2689
6de931d2 2690 * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
bc4937f3
DE
2691 (REGISTER_RAW_SIZE): Ditto.
2692 (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
2693 on the h8/300h (ints may still be 16 bits).
2694 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
2695 EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
2696 thought needed here.
2697
d0414a11
DE
2698 * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
2699 (examine_prologue): reg_save_depth is 4 if h8/300h.
2700
be474657
DE
2701 * findvar.c (read_register): Provide some support for 64 bit regs.
2702 (write_register): Ditto.
2703
23a8e291
JK
2704Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2705
3206db62
JK
2706 * config/mips/nm-riscos.h: machine/machparam.h is always the right
2707 place to look for BSD43_NBPG, not machine/vmparam.h
2708
54023465
JK
2709 * infcmd.c (run_stack_dummy): New argument name.
2710 Change error message in (another) attempt to make it comprehensible.
2711 * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
2712 * symtab.h: Declare demangle and asm_demangle since macros use them.
2713
e860d210
JK
2714 * eval.c (evaluate_subexp): Add comment about calling a member
2715 function of a variable in a register.
2716
d3dd6800
JK
2717 * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
2718
23a8e291
JK
2719 * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
2720 inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
2721 frame tops and bottoms.
2722
2723 * frame.h, blockframe.c, stack.c, a29k-tdep.c,
2724 config/gould/tmp-{pn,np1}.h,
2725 config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
2726 next_frame from struct frame_info. It has no purpose beyond
2727 ->next->frame and is an artifact from GDB 2.8.
2728
de6a2704
JK
2729Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2730
c2153bf2
JK
2731 * Makefile.in: Remove gdb before creating a new one.
2732 Update init.c atomically.
2733
de6a2704
JK
2734 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
2735 (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
2736
2737 * infcmd.c (_initialize_infcmd): In docstring for "continue",
2738 describe argument as setting ignore count.
2739
b1d0b161
DE
2740Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
2741
2742 * h8300-tdep.c (examine_prologue): Fix call to
2743 read_memory_unsigned_integer.
2744
fdf138bb
JK
2745Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2746
0c5af733
JK
2747 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
2748 rather than including xm-bigmips.h.
2749
1500864f
JK
2750 * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
2751 default cases.
2752
fdf138bb
JK
2753 * Makefile.in (distclean): Remove y.tab.h.
2754
fdf138bb
JK
2755Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2756
2757 * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
2758 file updates properly now.
2759 * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
2760 addresses if switching to a new symbol file.
2761 * dbxread.c (process_one_symbol): Avoid dereferencing NULL
2762 symbols that might be returned from define_symbol.
2763
85e07872
SC
2764Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2765
2766 New target macros for getting at the pc, sp and fp.
2767 * infcmd.c (read_pc, write_pc): Modify to use new macros.
2768 (read_sp, write_sp, read_fp, write_fp): New functions.
1500864f
JK
2769 * blockframe.c (reinit_frame_cache, get_prev_frame_info):
2770 Use new functions.
85e07872
SC
2771 * breakpoint.c (bpstat_alloc): ditto.
2772 * infrun.c (wait_for_inferior): ditto.
2773 * stack.c (print_frame_info): ditto.
2774 * valops (call_function_by_hand): ditto.
2775 * corelow.c (core_open): ditto.
2776 * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
2777 target_write_pc, target_read_fp, target_write_fp): New functions.
2778 * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
2779
2780 * config/alpha/xm-alpha.h: Add MAKEVA_END.
2781 * config/h8500/tm-h8500.h: Define new macros.
2782
d8a80e6d
ILT
2783Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
2784
2785 * configure.in (mipos-*-riscos*): New host and target; use riscos.
2786 * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
2787 vmparam.h, include machparam.h.
2788 (KERNEL_U_ADDR): Define to be BSD43_UADDR.
2789
75fa3e0f
JK
2790Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2791
c0bca41c
JK
2792 * c-exp.y (yylex): Give error if unmatched single quote.
2793
2794 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
2795
75fa3e0f
JK
2796 * Remove unused STACK_END_ADDR in the following files (in other
2797 files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
2798 tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
2799 tm-hp300hpux.h, tm-isi.h.
2800
a77a5278
JK
2801Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
2802
75fa3e0f
JK
2803 * config/mips/nm-riscos.h: Define NBPG and UPAGES.
2804 config/mips/xm-riscos.h: Include <sys/types.h>.
2805
2806 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
2807 not an initializer, to copy the structure.
2808
2809 * gdbtypes.h (struct type): Add field tag_name.
2810 * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
2811 Use it.
2812 * {coff,dwarf,mips,stabs}read.c: Set it.
2813
1f72a94a
JK
2814 * xm-sysv4.h: Undefine HAVE_TERMIO.
2815
0abbc771
JK
2816 * config/mips/nm-riscos.h: Remove unmatched #endif.
2817 Define FETCH_INFERIOR_REGISTERS.
2818 * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
2819 Fix misspelling of NAT_FILE.
3762d624
JK
2820 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
2821 we can still process "modern" core files.
0abbc771 2822
a77a5278
JK
2823 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
2824 print c_line.
2825 (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
2826 is defined; don't care what it is defined to.
2827
95f2d253
JK
2828Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2829
2830 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
2831
c2e247c4
JK
2832Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2833
2834 * inftarg.c: Remove unused include of terminal.h.
2835 * signals.h: Don't undefine signals anymore.
2836 * main.c: Use job_control from serial.h.
2837 * fork-child.c (fork_inferior): Use gdb_setpgid.
2838 * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
2839 * utils.c (quit): Use current_target->to_terminal_ours to figure
36b1d528 2840 out whether we care about lack of job control, rather than __GO32__.
c2e247c4
JK
2841 * utils.c: Include serial.h not terminal.h
2842 (quit): Use job_control not TIOCGPGRP.
2843 * terminal.h: Don't undefine TIOCGPGRP.
2844 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
2845 * utils.c (quit): Use it.
2846 * serial.h: Add SERIAL_UN_FDOPEN.
2847 * utils.c (quit): Use it.
2848 * ser-unix.c: Add process group to ttystate.
2849 [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
2850 * inflow.c: Include serial.h not terminal.h.
2851 Use serial.h stuff to replace most of the maze of #ifdef's.
2852 * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
2853 * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
2854 * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
2855 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
2856 Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
2857 SERIAL_SET_PROCESS_GROUP.
2858 * inflow.c: Use them.
2859 * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
2860 Define HAVE_TERMIOS.
2861 * Various: Remove all use of TIOC*_BROKEN.
2862
eed6de01
PS
2863Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2864
2865 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
2866
2867Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2868
2869 * target.h (target_detach): Turn macro into function.
2870 * target.c (target_detach): Define it, do deferred register stores
2871 before calling the real target function.
2872
76a1bd4c
PS
2873Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2874 and Jim Kingdon (kingdon@cygnus.com)
2875
2876 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
2877 a function to avoid printing of function arguments in wrong order
2878 due to sorting.
2879 * symfile.c (compare_symbols): Remove code for sorting arguments
2880 as blocks containing arguments are no longer sorted.
2881 * symtab.c (lookup_block_symbol): Update comment accordingly.
2882
a8c25621
JK
2883Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2884
64b09778
JK
2885 * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
2886 (REG_STRUCT_HAS_ADDR): Add comment.
2887
a8c25621
JK
2888 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
2889 to check whether there is line number information.
2890
77641260
DZ
2891Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2892
fe76016a
DZ
2893 * remote-udi.c: Fix docstring so that it compiles.
2894
a8c25621
JK
2895 * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
2896 (for file_ptr).
77641260 2897
d63aae7f
JK
2898Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2899
fd09c963
JK
2900 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
2901 don't expect it, change it to LOC_STATIC so at least we don't coredump.
2902
2903 * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
2904
a8c25621 2905 * symtab.h: Add comments about line numbers.
d63aae7f
JK
2906 * source.c (identify_source_line): Fix off by one bug with line.
2907
6b9561a4
JK
2908Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2909
c702007b
JK
2910 * printcmd.c (makeva*): New interface, for making a va_list.
2911 (printf_command): Use it.
2912 * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
2913 * config/pa/xm-pa.h: New file.
2914 * config/pa/xm-hppa{b,h}.h: Include it.
2915
6b9561a4
JK
2916 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
2917
be2860fb
PS
2918Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2919
2920 * valprint.c (val_print_type_code_int): Fix off by one error with
2921 eliminating leading zeroes for large little endian integers.
2922
ee0d1b65
JK
2923Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2924
42280556
JK
2925 * config/mips/riscos.mh (CC): Use -systype sysv.
2926
68d2db62
JK
2927 * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
2928
ee0d1b65
JK
2929 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
2930
751b4006
JK
2931Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2932
2933 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
2934 CALL_DUMMY between different 68k machines.
2935
ea7f0a9f
SG
2936Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
2937
2938 * gdbserver/Makefile.in: Add dependancies on server.h.
2939 * gdbserver/remote-gutils.c: Remove lots of unused functions and
2940 variables.
2941 * gdbserver/remote-inflow.c: Remove lots of unused variables and
2942 #includes. Also, use PTRACE_* symbols instead of constants.
2943 (mywait): Surround calls to wait() with enable/disable_async_io()
2944 so that we can be interrupted from GDB while waiting for the
2945 child. Also, handle child exit more gracefully.
2946 * gdbserver/remote-server.c: Remove lots of unused variables.
2947 Move all extern defs into server.h. Redo main loop so that
2948 failure from getpkt() causes communications to be re-established.
2949 Fix 'k' command so that it restarts the child.
2950 * gdbserver/remote-utils.c: Remove lots of unloved vars and
2951 subrs. Move many extern decls into server.h. (remote_open): For
2952 tcp, seperate usage of proto fd from connected fd. Close proto
2953 fd after getting connection. (putpkt/getpkt): Pay attention to
2954 errors when reading/writing. Report these to the caller. New
2955 routines input_interrupt/enable_async_io/disable_async_io to make
2956 it possible to get an I/O interrupt when data arrives from the
2957 comm link.
2958 * serial.h: New file to contain common defs for all remote files.
2959
a037b21e
SG
2960Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
2961
2962 * remote.c: Add arg names to prototypes, in a modest effort at
2963 clarification. Also add prototypes for some new functions.
2964 * (remote_wait): Better error reporting for 'T' responses.
2965 * ser-go32.c (strncasecmp): Make str1 & str2 be const.
2966 * (dos_async_init): Make usage message reflect requested port #.
2967 * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
2968 random hostname lookup failures. Add nicer message for unknown
2969 host error. (wait_for): Wake up in case of exceptions. Also,
2970 restart select() if we got EINTR.
2971 * ser-unix.c (wait_for): Restart select() if we got EINTR.
2972 * serial.c: (serial_close): Clean up code.
2973
ea7f0a9f
SG
2974Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2975
2976 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
2977 CALL_DUMMY between different 68k machines.
2978
a38b1233
JK
2979Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2980
f3fe62b1
JK
2981 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
2982 Make comment explaining this comprehensible.
2983 (TAGFILES): Include ALLDEPFILES.
2984 (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
2985 29k-share/udi/udi.
2986 (update-alldeps): Remove; obsolete.
2987
e50ebec8
JK
2988 * remote.c: Move comments regarding packets to top of file with the
2989 rest of the protocol comments.
2990 Fix incorrect description of 'T' response.
2991
3576a412
JK
2992 * README (Reporting Bugs): Refer people to the GDB manual.
2993
7e71985c
JK
2994 * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
2995 * stabsread.c: Type -16 is 4 bytes.
2996
a38b1233
JK
2997 * remote-udi.c: Improve docstring.
2998
872dd3fe
FF
2999Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
3000
a38b1233
JK
3001 * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
3002 bfd_elf32_find_section, to track bfd changes.
872dd3fe 3003
f75ad5da
JK
3004Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3005
3006 * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
ef3986bb 3007 * config/mips/xm-riscos.h: Define USG.
f75ad5da 3008
a32ebcfd
JK
3009Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3010
3011 * main.c (filename_completer): Don't complete to files ending in ~.
3012
3013 * NEWS: Mention filename completion and "info line" enhancements.
3014
3015 * main.c (symbol_completion_function): On "info t foo", return NULL,
3016 don't error().
3017
3018 * main.c (symbol_completion_function): Don't use readline word
3019 breaking. Use new calling convention for c->completer and
3020 complete_on_cmdlist.
3021 * command.h (struct command): Change arguments; now the text passed
3022 to completer does not have any word breaking done. New arg word.
3023 * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
3024 word argument.
3025 * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
3026 * command.{c,h} (complete_on_cmdlist): Take word argument.
3027
3028 * command.c (lookup_cmd_1): Doc fix.
3029
b8774958
RP
3030Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3031
3032 * Makefile.in (OP_INCLUDE): define.
3033 (OPCODE_CFLAGS): use OP_INCLUDE.
3034
3035 * config/i386/ncr3000.mh, config/i386/i386v4.mh,
3036 config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
3037 config/m68k/amix.mh, config/mips/irix[34].mh,
3038 config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
3039 ALLOCA1): macros removed.
3040
3041 * config/mips/decstation.mh, config/rs6000/rs6000.mh
3042 (MMALLOC_LIB): renamed to MMALLOC.
3043
4ae030b9
JK
3044Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3045
3046 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
3047 * dbxread.c: Change comment regarding acc.
3048
c2df19bd
RP
3049Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3050
7ae7b919
RP
3051 Makefile overhaul dropping autodepend features.
3052 * Makefile.in: many comment changes. forced consistent use of $()
3053 for makefile variables references. dropped leading ./ in file
3054 references. Drop $(srcdir)/ prefix on all dependencies.
3055 Inserted contents of alldeps.mak and depend.
b8774958 3056 (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
7ae7b919
RP
3057 include directory into the compilation line.
3058 (GDB_CFLAGS): new macro to take up the semantic previously held
3059 by INCLUDE_CFLAGS.
3060 (LIBIBERTY): dropped ancient subdir macro. I last removed this
3061 macro in feb of '92. How does it keep coming back?
3062 (MMALLOC_LIB): renamed to MMALLOC.
3063 (BFD_SRC_DIR): renamed to BFD_SRC.
3064 (BFD_OBJ_DIR): renamed to BFD_DIR.
3065 (BFD_LIB): renamed to BFD.
3066 (BFD_INCLUDES): renamed to BFD_CFLAGS.
3067 (READLINE_DIR): now represents object directory.
3068 (RL_LIB): renamed to READLINE.
3069 (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
3070 macros.
3071 (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
3072 READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
3073 (LDFLAGS): removed default assignment.
3074 (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
3075 READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
3076 (ALLOCA1, ALLOCA): removed all references. alloca is now in
3077 libiberty.
3078 (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
3079 (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
3080 removed all $(srcdir) prefixes.
3081 (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
3082 for potential dependencies. commented out by default.
3083 (readline_headers, udiheaders): convenient abbreviations.
3084 (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
3085 value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
3086 new macros used for header file dependencies.
3087 (install-info, clean-info): collapse into the info rule.
3088 (install): now depends on all.
3089 (install-only): new target for installing without depending on
3090 all.
3091 (uninstall): new target.
3092 (config-check, config-check-hosts, config-check-targets): added
3093 fixme comments.
3094 (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
3095 order to force parallel makes into keeping these rules separate.
3096 * configure.in: omit cat'ing depend file onto generated Makefile.
3097 * alldeps.mak, depend: removed.
3098
baa38372
RP
3099 * inferior.h: remove redundant include of symtab.h which is
3100 included in value.h via breakpoint.h.
3101
fbca7519
RP
3102 * alloca.c: removed. alloca is now in libiberty.
3103
88607839
RP
3104 * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
3105 new macro to undo what M_INSTALL does.
c2df19bd 3106
29f3879c
JK
3107Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3108
4ae030b9
JK
3109 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
3110 of gdb-sh.
6ffbfcc2 3111
ec06a3cb
JK
3112 * dbxread.c (copy_pending): Change name and function of begi argument
3113 to endi, since that is what the caller needs.
3114
853a233b
JK
3115 * Makefile.in (TAGFILES): Don't include YYFILES.
3116
3117 * Makefile.in (HFILES): Include monitor.h.
3118
3119 * Makefile.in: Include text that used to be in alldeps.mak.
3120 Remove config/mips/{bigmips.mh,xm-bigmips} from it.
3121 * Makefile.in, configure.in: Remove all traces of alldeps.mak.
3122
29f3879c
JK
3123 * main.c (main): Print help message on stdout not stderr
3124 per standards.texi.
3125 New option --version per standards.texi.
3126 In help message, show long options with "--" not "-".
3127 Don't try to print help message or version until after we have
3128 called initialize_all_files.
3129
9ddfb9eb
JK
3130Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3131
15d4eb21
JK
3132 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
3133 (solib_add): Call special_symbol_handling once, not once per library.
3134
59ba57da
JK
3135 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
3136 is SIG_DFL.
3137
3138 * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
3139 systems, not just Solaris.
3140
9ddfb9eb
JK
3141 * stabsread.c: Include <ctype.h>.
3142
3768398d
JK
3143Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
3144
3145 * fork-child.c (fork_inferior): Quote exec_file so it can contain
3146 funky characters.
3147
68eabdd3
FF
3148Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
3149
3150 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
3151 bfd.h is included by target.h, which most of gdb includes.
3152 * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
3153 it's in INCLUDE_CFLAGS.
3154
c96d68c2
JK
3155Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
3156
2c7ab4ca
JK
3157 * config/i386/*aix*, i386aix-nat.c: New files.
3158 * configure.in: Use them.
c96d68c2 3159 * alldeps.mak: List them.
2c7ab4ca
JK
3160 * coffread.c (decode_base_type): Deal with anonymous enum type.
3161 * i387-tdep.c (print_387_status_word): Add comment re "top".
3162 * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
3163 * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
3164 only if not defined by a header file.
3165 * mipsread.c: Don't define L_SET or L_INCR.
c96d68c2 3166
200a3470
FF
3167Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
3168
3169 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
3170 * depend: Hand updated to match.
3171
089dc220
JK
3172Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
3173
3174 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
3175 (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
3176 we don't recognize the abbrev.
3177
2a4e8cc3
JK
3178Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3179
3180 * solib.c (solib_add_common_symbols): Add comment about performance.
3181
e64ec645
JK
3182Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3183
ee06f230
JK
3184 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
3185 * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
3186
b487ba2e
JK
3187 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
3188 * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
3189 * configure.in (mips-sony-*): Use news-mips for host.
3190
e64ec645
JK
3191 * buildsym.h: Doc fix for processing_acc_compilation.
3192
8715a9f3
JK
3193Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3194
3195 * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
3196
fc61e9ee
JK
3197Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
3198
3199 * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
3200 ${srcdir}/../include.
3201
3202 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
3203 with system headers.
3204 * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
3205 Use VPRINTF macro if defined.
3206 * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
3207 Define TIOC{GETC,GLTC}_BROKEN.
3208 * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
3209 * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
3210 make things easier on munch (apparently this matters on
3211 the delta88 with svr3).
3212
c8fee4a5
DZ
3213Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
3214
3215 * Makefile.in: canonicalize install.sh; for use within
3216 this directory (and subdirs)
3217
3218Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3219
3220 * Makefile.in: remove parentdir support; use INSTALL_XFORM
3221
7ccb1e44
SC
3222Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3223
3224 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
3225 host.
3226 * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
3227 wired (and wrong) constant.
3228 * values.c (unpack_long): Add case to unpack when target object is
3229 sizeof(int).
3230 * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
3231 simulator defines.
3232
1c5d6049
RP
3233Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3234
21cc14d8
RP
3235 * NEWS: tracking user visible changes starting with
3236 vxworks-timeout.
3237
1c5d6049
RP
3238 * remote-vx.c (_initialize_vx): rename user settable option from
3239 rpcTimeout to vxworks-timeout.
3240
3ef6f604
FF
3241Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
3242
53f0969b
FF
3243 * Makefile.in (depend): More makefile diddling.
3244 * alldeps.mak, depend: Update to latest automatically built
3245 versions.
3246
3ef6f604
FF
3247 * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
3248 * alldeps.mak, depend: Update to latest automatically built
3249 versions.
3250
56894788
RP
3251Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3252
3253 * remote-vx.c: include gdbcmd.h for setlist.
3254 (_initialize_vx): make rpcTimeout user settable.
3255
3a6249b1
JK
3256Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
3257
bd50d1b0 3258 * main.c, gdbcmd.h: Add function filename_completer.
df0f0dcc
JK
3259 * main.c, symfile.c, source.c, exec.c, core.c: Use it for
3260 "directory", "source", "cd", "symbol-file" "add-symbol-file",
3261 "load", "file", "exec-file", "core-file" commands.
3262 (But '/' is a word break, limiting usefulness; see comments).
bd50d1b0
JK
3263
3264 * source.c (mod_path): Warning not error if can't find directory.
3265
3a6249b1
JK
3266 * isi-xdep.c: New file.
3267 * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
3268
9748446f
JK
3269Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
3270
f92d5249
JK
3271 * config/m68k/xm-news.h: Include <sys/param.h>.
3272
dbbf9508
JK
3273 * m88k-tdep.c (IEEE_isNAN): Remove.
3274 config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
3275 broken isNAN as on the mips.
3276
198133b9
JK
3277 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
3278 c->function.
3279
a5e6391b
JK
3280 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
3281 defined, don't worry about Sun's silly LBRAC bug.
3282 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
3283
3284 * dbxread.c (process_one_symbol): If there's a symbol before an
3285 N_SO, don't error().
3286 (case N_BCOMM): complain () not error ().
3287
9748446f
JK
3288 * defs.h, main.c (catch_errors): Add return_mask arg.
3289 stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
3290 other callers: Pass RETURN_MASK_ALL.
3291 (return_to_top_level), callers: Add return_reason arg.
3292 * utils.c (quit):
3293 Use return_to_top_level (RETURN_QUIT) instead of error ().
3294 * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
3295 Use SET_TOP_LEVEL not setjmp (to_top_level).
3296 * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
3297
6e6656cc
JK
3298Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
3299
ff56144e
JK
3300 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
3301 Don't try to get the debug base yet.
3302
8357834f
JK
3303 * dbxread.c (process_one_symbol): Set n_opt_found based on whether
3304 a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
3305 which returns 0 or 1 to say whether to do it.
3306 * config/sparc/sun4{sol2,os4}.h
3307 (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
3308 the right thing happens for both acc and SunOS4 /bin/cc.
3309
3310 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
3311 * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
3312
6e6656cc
JK
3313 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
3314 probably contained byte-order sins too.
3315 config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
3316 The IEEE_FLOAT code in print_floating takes care of it.
3317
ce13daa7
FF
3318Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
3319
3320 * Makefile.in (VERSION): Bump to 4.9.2.
3321 * c-valprint.c (c_val_print): For array of chars printed with
3322 string syntax, don't print the address of the array. From
3323 bothner@cygnus.com.
3324 * c-exp.y (yylex): Recognize '.' as indicating a floating point
3325 number regardless of the radix. From wilson@cygnus.com.
3326 * valprint.c (set_input_radix_1, set_output_radix_1): New
3327 prototypes and functions that do the actual radix setting work.
3328 * valprint.c (set_radix, set_output_radix, set_input_radix):
3329 Rewrite to use set_input_radix_1 and set_output_radix_1.
3330 * valprint.c (initialize_valprint): Enable commands to
3331 independently set and show input and output radices.
3332 * valprint.c (show_radix): New prototype and function that
3333 handles separate input and output radices.
3334
112087ed
KR
3335Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
3336
3337 Patches from Jeff Law, law@cs.utah.edu:
3338 * hppa-pinsn.c: Now uses disassembler from opcode library,
3339 this contains only the stub function print_insn.
3340
57cb418a
RP
3341Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
3342
3343 * main.c (main): back to two periods for elipse.
3344 (print_gdb_version): revised format for configuration info.
3345
ce13daa7
FF
3346Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
3347
3348 * defs.h (INT_MAX): Cast unsigned shift result to int.
3349
574dac8e
JK
3350Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
3351
3352 * dbxread.c (process_one_symbol): Rather than having
3353 BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
3354 is true if we are doing stabs-in-elf, false otherwise.
3355 config/sparc/tm-sun4sol2.h: Don't define it.
3356
f63f30e2
ILT
3357Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
3358
3359 * remote-mips.c (mips_send_packet): Don't print garbage character
3360 in debugging info.
3361 (mips_request): Don't check that remote pid is 0, because
3362 sometimes it isn't.
83909c43
ILT
3363 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
3364 not an integer.
f63f30e2 3365
91c87211
JK
3366Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
3367
c94e7e75
JK
3368 * stack.c (print_frame_info): Use catch_errors around print_frame_args.
3369
702c0ff7
JK
3370 * Makefile.in (install): Don't depend on gdb.
3371
91c87211
JK
3372 * Rename remote-es1800.c to remote-es.c
3373 and remote-st2000.c to remote-st.c for 14-char filenames.
3374 config/m68k/{es1800,st2000}: Use the new names.
3375
3376 * mips-tdep.c (isa_NAN): Don't return true on -0.
3377
dd577ca5
FF
3378Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
3379
3380 * defs.h (INT_MAX): Cast unsigned shift result to int.
3381
a608f919
FF
3382Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
3383
3384 * elfread.c (elf_symtab_read): Add bfd section address to bfd
3385 symbols, now that they are section relative.
3386 * solib.c (bfd_lookup_symbol): Ditto.
3387
3388Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
3389
3390 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
3391 depend: Updated accordingly.
3392
39d4639b
JK
3393Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
3394
3395 * Makefile.in (*.tab.c): Use mv for atomic update.
3396
3397 * Makefile.in ({dist,real}clean): Also remove nm.h.
3398 (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
3399 (distclean): Don't rebuild *.tab.c or TAGS.
3400
fa48972a
RP
3401Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
3402
90494078
RP
3403 * Makefile.in (version.c): add host and target names to version.c.
3404 * main.c (main): print three periods for the elipse.
3405 (print_gdb_version): also print configuration.
3406
a29be236
RP
3407 * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
3408 udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
3409 udi/udr.c: Change AMD copyrights to FSF copyleft '93.
3410
3411 * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
3412 (get_hex_regs, adapt_fetch_registers): cast args to
3413 supply_register to avoid gcc warning.
3414
0b3556fe
RP
3415 * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
3416 doesn't compile on solaris and is now obsolete.
3417
fa48972a
RP
3418 * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
3419 breaks stock sunos installations.
3420
b01c21d0
JK
3421Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
3422
4640902b
JK
3423 * m68k-stub.c: Add comment about frame cache.
3424
b01c21d0
JK
3425 * target.h (target_store_registers): Doc fix re error handling.
3426
3427 * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
3428 of register_valid[regno].
3429
9745ba07
JK
3430Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3431
3432 * symtab.h, dwarfread.c: Doc fix re dependencies.
3433
f7630ec9
RS
3434Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
3435
3436 * serial.c (serial_close): If scb is NULL, don't try to close
3437 it.
1f72a94a 3438 * configure.in: Add support for rom68k and bug boot monitors.
f7630ec9 3439
df14b38b
SC
3440Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3441
3442 * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
3443 * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
3444 * findvar.c (read_register, write_register): Fix thinko where
3445 sizeof(host long) != sizeof(target int).
3446 * h8300-tdep.c: Use new read_memory_unsigned_integer call.
3447 * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
3448
e7ac0161
JK
3449Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3450
3451 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
3452 m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
3453 68881 and non-68881 cases. Check for a pair of movel instructions.
d9e5694c 3454
75c319ff
RP
3455Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3456
54d44c8c
RP
3457 First cut at sparc-vxworks targetting.
3458 * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
3459 * configure.in: sparc-vxworks gdb_target now vxsparc.
3460
45d8db87 3461 * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
75c319ff 3462
683bf9b5
JK
3463Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3464
3465 * config/m68k/xm-news.h: add "extern int errno".
3466
35799202
RP
3467Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3468
3469 * remove-vx.c (vx_read_register, vx_write_register): collapse
3470 ifdef I80960 else (assumes) m68k into parameterizable macros
3471 VX_NUM_REGS and VX_SIZE_FPREGS.
3472 * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
3473 VX_SIZE_FPREGS): new definitions.
3474
6b27ebe8
JK
3475Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
3476
3477 * symfile.{c,h} (generic_load): New function.
3478 remote{,-nindy,-eb,-mips}.c: Use it.
3479
a5d61570
SG
3480Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
3481
3482 * Makefile.in (depend): More sed gubbish to deal with
3483 ../bfd/bfd.h being generated during the build.
3484 * depend: Re-done with corrected makefile.
3485
6f4a4fbb
FF
3486Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
3487
3488 * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
3489 * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
3490 directory to find automatically generated header files and library.
3491 * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
3492 * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
3493 * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
3494 * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
3495 * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
3496 * depend, alldeps.mak: Rebuild after Makefile.in changes.
3497
3498Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3499
3500 * configure.in: change lynx support to CPU-*-lynxos*
3501
3502 * Makefile.in (subdir_do): change test from existence of directory
3503 to existence of Makefile (the directory may exist but not be configured)
3504
3505Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3506
3507 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
3508
761d5a4b
ILT
3509Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
3510
3511 * configure.in (mips-idt-ecoffl*): New target; use idtl.
3512 (mips-idt-ecoff*): Added trailing '*'.
3513 * config/mips/idtl.mt: New file; like idt.mt, but little endian.
3514
452b4b00
SG
3515Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
3516
3517 * ser-go32.c: Clean up lots of compilation nits.
3518
e835b5e7
SG
3519Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
3520
3521 * Patches from Jeffrey Law <law@cs.utah.edu>.
3522 * hppab-nat.c: Eliminate unnecessary ifdefs for
3523 FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
3524 CANNOT_STORE_REGISTER.
3525 (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
3526 * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
3527 templates for 1.1 FP computational instructions.
3528
3af7fb94
SG
3529Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
3530
bd91ddd1
SG
3531 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
3532 * alldeps.mak, depend: Rebuild to account for ser-tcp.
3533 * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
3534 * gdbserver/Makefile.in (gdbserver): Use -lbsd.
3535 * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
3536 shell when running the child, as args have been expanded by the
3537 time we get here. Simplify calling convention.
3538 * gdbserver/remote-server.c (main): Use new calling convention
3539 for create_inferior, remove defunct code for coalescing argv.
3540 Remove extra calls to mywait(), as we no longer have to wade
3541 through a shell.
3542
3af7fb94
SG
3543 * target.c (target_read_memory_partial): Don't deref errnoptr
3544 when checking for null pointer.
3545
2b577349
JG
3546Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
3547
3548 * remote-es1800.c: Fix typo.
3549
68feeeed
FF
3550Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
3551
3552 * target.c (target_read_memory_partial): Like target_read_memory,
3553 but does partial reads, such as reads that bump into the end of
3554 the address space.
3555 * target.h (target_read_memory_partial): Add prototype.
3556 * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
3557 * valprint.c (val_print_string): Complete rewrite to fix bug with
3558 bumping into end of memory, avoiding unnecessarily long reads, and
3559 fixing bug when print_max is set to 0 (unlimited print length).
3560 * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
3561 initialize print_max.
3562
c1128340
RS
3563Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
3564
3565 * configure.in: Add support for rom68k and bug boot monitors.
3566
574a2a49
JK
3567Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
3568
6119aeeb
JK
3569 * printcmd.c (print_scalar_formatted): Print integers bigger than
3570 LONGEST in hex no matter how big, and no matter what the format
3571 and size.
3572
3573 * stabsread.c (read_type): Skip type attributes if present.
36bcda79 3574
574a2a49
JK
3575 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
3576 of number, just through '0' + radix - 1.
3577
2707b48a
FF
3578Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
3579
8f1cc6c6
FF
3580 * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
3581
c701c14c
FF
3582 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
3583 single parameter, the pointer to the partial symtab, rather than
3584 a bunch of args that are derived from the partial symtab. Change
3585 prototypes and callers to match.
3586
2707b48a
FF
3587 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
3588 set demangling style automatically.
3589 * defs.h (CPLUS_MARKER): Clarify comment that this is only for
3590 GNU C++, not C++ in general.
3591 * symtab.h (general_symbol_info): Simplify by eliminating one
3592 structure level for the language dependent info.
3593
86e3a5e4
FF
3594Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
3595
3596 * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
3597 names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
3598 TYPE_CODE_ENUM was already testing for this.
3599
38dc5e12
SG
3600Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
3601
3602 * Makefile.in: Add new file ser-tcp.c.
3603 * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
3604 * findvar.c (write_register): See if we are writing back the same
3605 value that's already in the register. If so, don't bother.
3606 * remote.c (putpkt, getpkt): Improve handling of communication
3607 problems.
3608 * ser-go32.c: Prototype it to death. Update serial_ops and add
3609 dummy routines where appropriate.
3610 * ser-tcp.c: New module to implement serial I/O via TCP
3611 connections.
3612 * ser-unix.c: Clean up getting/setting of tty state. Get rid of
3613 SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
3614 * serial.c: Add start of support for connect command.
3615 (serial_open): Distinguish between tcp and local devices.
3616 * serial.h (struct serial_ops): Get rid of restore, add
3617 get_tty_state and set_tty_state. Define protoypes and macros for
3618 this mess.
3619 * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
3620 some real buffering. Handle error conditions gracefully.
3621 * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
3622 (Lynx), remove lots of cruft.
3623
633c8b0a
DZ
3624Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3625
3626 * printcmd.c (print_address_symbolic): turn this into an assigment
3627 instead of an initialization (many compilers don't accept
3628 structure initialization).
3629
860b4da3
JK
3630Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3631
3632 * xcoffread.c (read_xcoff_symtab): If several program csects in one
3633 source file, give them all the name of the source file, rather than
3634 the 2nd and subsequent ones having NULL names.
3635
b7ccd8e0
PS
3636Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3637
3638 * printcmd.c (print_address_symbolic): Append source filename and
3639 linenumber of the symbol if print symbol-filename is on.
3640 (initialize_printcmd): `set print symbol-filename'.
3641
185a1705
SG
3642Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
3643
5fa46c42
SG
3644 * configure.in: Add config for Lynx target. Configure gdbserver
3645 only for Lynx. Re-do selective configuration of sparclite.
3646
185a1705
SG
3647 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
3648 configure.in remote-inflow.c remote-utils.c}: New files to
3649 support GDB remote server. Currently only works for Lynx.
3650
3a594d72
JK
3651Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3652
59d69506
JK
3653 * stabsread.c (define_symbol, case 't'): Only set the name if it
3654 is not a pointer type.
3655
3656 * stabsread.c (define_symbol): Clean up logic; move the read_type
3657 calls to inside the switch statement (this improves the error
3658 handling).
3659
3a594d72
JK
3660 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
3661 common blocks.
3662
b9298844
JK
3663Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3664
43795ece
JK
3665 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
3666
3667 * source.c (line_info): Change "pc" to "address" in messages and
3668 use print_address for addresses.
3669
2f2a70e5
JK
3670 * source.c (line_info): If we don't find a symtab, print more useful
3671 output, including the symbolic address.
3672
b9298844
JK
3673 * source.c (line_info): If --fullname, display the source.
3674 (identify_source_line), callers: Take pc as argument, rather than
3675 assuming innermost frame (emacs doesn't use this, so no one ever
3676 noticed).
3677 * symtab.h: Declare frame_file_full_name.
3678 * main.c: Don't.
3679
aea2312b
BK
3680Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
3681
3682 * breakpoint.c (catch_command_1): Fix typo in error msg.
3683
6b346f51
KR
3684Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3685
3686 * elfread.c (elf_symfile_read): Update ELF structure and routine
3687 names to specify 32-bit versions.
3688 (elf_symtab_read): Retrieve size field directly from symbol,
3689 instead of using old kludge.
3690
3691 * mips-pinsn.c (print_insn): Cast address to bfd_vma before
3692 calling opcodes library.
3693 * z8k-tdep.c (print_insn): Likewise.
3694
ea753d03
JK
3695Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3696
3697 * stabsread.c: Remove all uses of error(). Make error_type and
3698 read_type_number static.
3699 (define_symbol): Don't try to deal with a missing symbol
3700 descriptor which isn't followed by digit, '(', or '-'.
3701 * stabsread.h: Don't declare read_type_number here.
3702 * gdbtypes.h: Don't declare error_type here.
3703 * xcoffread.c: Remove NO_TYPEDEFS code.
3704
619ccb24
ILT
3705Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
3706
3707 * mips-tdep.c: Removed #include of many header files, and #define
3708 of MIPSMAGIC; no longer used.
3709
30ffb593
JK
3710Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3711
6fe90fc8
JK
3712 * Many places: replace "the inferior" in messages with "the program"
3713 or "the program being debugged".
ea753d03 3714 * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
6fe90fc8
JK
3715 and I'm getting sick of maintaining it.
3716
30ffb593
JK
3717 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
3718 support it.
3719
3720 * config/i386/go32.mh: Define SER_HARDWIRE.
3721 * Makefile.in: Define SER_HARDWIRE.
3722 (DEPFILES): Use it.
3723 (alldeps.mak): Add SER_HARDWIRE.
3724 Remove all references to ser-hardwire.{c,o}.
3725 * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
3726
1b71de8e
PS
3727Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3728
3729 * sparc-nat.c (store_inferior_registers): Fill in all members of
3730 inferior_fp_registers by reading them from the inferior before
3731 modifying and writing them back.
3732 Fixes unexplainable inferior FP exceptions after calls to the inferior
3733 or setting of floating point registers.
3734 * mips-tdep.c (mips_skip_prologue): Skip move of argument register
3735 to register which is generated by gcc-2.4.
3736
3b17ee1b
KR
3737Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
3738
3739 * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
3740
3741Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
3742
3743 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
3744 xm-i386lynx.h}: New configuration for Lynx.
3745
8789d972
JK
3746Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3747
87c942a8
JK
3748 * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
3749 * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
3750
8789d972
JK
3751 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
3752 as struct, union, or enum tags.
3753
8537c754
PS
3754Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3755
3756 * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
3757 executable.
3758
f52bde21
JK
3759Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3760
2632d6df
JK
3761 * infrun.c (wait_for_inferior),
3762 infcmd.c (program_info, signal_command): Use symbolic signal names.
3763
6b82a761
JK
3764 * inftarg.c (child_wait): Deal with EINTR and include message from
3765 strerror if printing an error message.
3766
3767 * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
3768
f52bde21
JK
3769 * stabsread.c: Remove most uses of lookup_fundamental_type.
3770 (define_symbol): Use read_type for type of enum constant,
3771 not just read_type_number. Also don't call error().
3772 (define_symbol): For unrecognized constant type, one complaint (the
3773 one from error_type) is enough. Don't make our own in addition.
3774 (define_symbol): Don't treat an N_FUN 'R' as a prototype.
3775 * gdbtypes.h: Doc fixes.
3776
7cf92dd2
PS
3777Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3778
36b1d528 3779 Fix stack unwinding through _sigtramp on Irix. These patches are from
7cf92dd2 3780 Paul Flinders <ptf@delcam.co.uk>.
36b1d528 3781 * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
7cf92dd2
PS
3782 executable uses sigvec.
3783 * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
3784 sigcontext offsets.
3785 * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
3786
101b7f9c
PS
3787Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3788
3789 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
3790 be passed to the inferior to make "handle <signal> nopass nostop" work.
3791
ac8cf67d
PS
3792Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3793
3794 * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
3795 the necessary bits.
3796 * findvar.c (value_from_register): Fix uninitialized first_addr
3797 which caused problems with assignment of doubles to register variables
3798 on some targets.
3799 * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
3800 missing mips definitions if necessary.
3801
3802 Fix handling of double register variables for mips targets and big
3803 endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
3804 * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
3805 8 bytes for doubles.
3806 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
3807 conversion of type held in multiple registers to host format.
3808 * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
3809 companion to REGISTER_CONVERT_TO_TYPE.
3810 * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
3811 Convert to function calls.
3812 * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
3813 mips targets.
3814 * mips-tdep.c (mips_print_register): Raw buffer now needs just
3815 MAX_REGISTER_RAW_SIZE bytes.
3816 * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
3817 (if defined) for doubles.
3818 * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
3819 New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
3820 * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
3821 defined.
3822 * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
3823 defined.
3824
73262420
JK
3825Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3826
e23a6896
JK
3827 * configure.in: Add i[34]86-*-isc*.
3828
5e27c054 3829 * stabsread.c: Make sure all complain() pass the address of the struct.
b646b438
JK
3830
3831 * xcoffread.c: Make sure all struct complaints are static not auto.
3832
3833 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
3834
73262420
JK
3835 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
3836
2c6af8c0
JK
3837Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3838
3839 * config/i386/linux.mh: Re-enable coredumps now that they should work.
3840
ee3d350d
RP
3841Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
3842
3843 * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
3844
f3fe87c7
SG
3845Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
3846
3847 * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
3848
5b40415c
JK
3849Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3850
3851 * Makefile.in (INSTALLED_LIBS): New variable.
3852
31d16514
JK
3853Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3854
94d50340
JK
3855 * main.c (quit_command): In the "quit anyway?" message, tell the user
3856 whether we are planning to detach or kill the program.
3857
cdaa7905
JK
3858 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
3859 * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
3860
15f78602
JK
3861 * infcmd.c (read_pc): Doc fix.
3862
511933e7
JK
3863 * printcmd.c (print_address_symbolic): Use %u not %d for offset.
3864
993583e5
JK
3865 * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
3866 signal_handler_caller.
3867 * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
3868 * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
3869 * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
3870 Use SIGTRAMP_START if defined.
3871 * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
3872 * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
3873
7f8253c7
JK
3874 * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
3875
b1b4a89e
JK
3876 * infcmd.c (step_1): Fix poorly worded error message.
3877
865e574b
JK
3878 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
3879 Comment out corelow.c because core dumps are broken on these machines.
3880
31d16514
JK
3881 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
3882 if srcdir is not ".".
3883 Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
3884 (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
3885 * depend: Update to latest automatically built version.
3886
6e50aeb4
FF
3887Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
3888
3889 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
3890 * Makefile.in (NONSRC): Add ChangeLog-92
3891
3892Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
f49cf589
JK
3893
3894 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
3895 not typo RAW_REGISTER_SIZE.
3896
3897 * frame.h, inferior.h: Doc fixes.
3898
35247ccd
SG
3899Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
3900
3901 * findvar.c (write_register): Add sanity check for register size.
3902 (read_register): Fixup sanity check for register size to be
3903 consistent with write_register().
3904
3905Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
3906
3907 * sparclite/Makefile.in: Add dummy info, install and install-info
3908 targets.
3909
d968d5b4
RP
3910Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
3911
3912 * remote-nindy.c: Removed declaration of coffstrip.
3913 * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
3914
377f53d2
FF
3915Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
3916
3917 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
3918 tagging.
3919
3920 * Makefile.in (VERSION): GDB 4.9 release.
3921
965a33af
FF
3922Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
3923
3924 * README: Update known bugs to include the Solaris bug that
3925 leaves core dumps in the current directory when restarting the
3926 inferior with "run". Expand on the testsuite information.
3927
3928 * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
3929 be the last 4.9 prerelease test archive.
3930
d2712f02
JK
3931Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
3932
3933 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
3934 redefined warnings.
3935
0a4a0f09
FF
3936Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
3937
3938 * README, NEWS: Update for gdb 4.9 release.
3939
57ffffe3
JG
3940Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
3941
3942 * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
3943 * target.c (MIN): #undef before defining.
3944
4a2383c1
JK
3945Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
3946
3947 Patch from Jeffrey Law:
3948 * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
3949
1edc5cd2
ILT
3950Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
3951
3952 * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
3953 memory.
3954
f39a2631
FF
3955Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
3956
3957 * ch-exp.y (start): Apply work-around to avoid bison warning.
3958
67d2bd1a
FF
3959Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
3960
0b81fc43
FF
3961 * Makefile.in (BISON): Remove double quotes around BISON
3962 definition when bison is used.
3963
8f59e92b
FF
3964 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
3965 * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
3966 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
3967 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
3968 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
3969 * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
3970 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
3971 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
3972
67d2bd1a
FF
3973 * Makefile.in (VERSION): Bump to 4.8.6.
3974
64c5ac4f
FF
3975Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
3976
3977 * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
3978 include declarations for malloc/realloc/free. Both malloc and
3979 realloc return 'void *' for non-ANSI compilations.
3980
1adf2ba9
PS
3981Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
3982
3983 * coffread.c (read_coff_symtab): Don't fclose stream as it is no
3984 longer opened twice.
3985
7a758f71
JK
3986Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
3987
3988 * solib.c (clear_solib): Don't close bfd if it is NULL.
3989
34b70237
FF
3990Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
3991
3992 * core.c (dis_asm_read_memory): Cast second arg of
3993 target_read_memory to "char *".
3994 * breakpoint.c (watchpoint_check): Change arg type from PTR to
3995 "char *", to match other functions called by catch_errors().
3996
2c298c09
SG
3997Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
3998
3999 * More patches from Jeffrey Law (law@cs.utah.edu).
35247ccd 4000 * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
2c298c09
SG
4001 * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
4002 Delete unnecessary declarations.
4003
9e15da4a
SG
4004Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
4005
4006 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
4007 poll() for termio{s}.
4008
dfa592fb
JK
4009Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
4010
4011 * i386-tdep.c (i386_frame_num_args): Always return -1.
4012
d83a6710
SG
4013Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
4014
a34d4bc1 4015 * Patches from Jeffrey Law <law@cs.utah.edu>.
8fa74880
SG
4016 * gdb/hppa-tdep.c: Declare frame_saved_pc.
4017 (frameless_function_invocation): New function.
4018 (frame_saved_pc, init_extra_frame_info): Use
4019 frameless_function_invocation.
f45e781f 4020 * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
8fa74880
SG
4021 call instead of just grabbing the value currently in %r2.
4022 (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
f45e781f 4023 * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
8fa74880 4024 definition and use the common one in tm-hppa.h.
4b01383b
SG
4025 * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
4026 use unwind descriptors to determine if the frame chain is valid.
b227992a
SG
4027 * gdb/hppa-tdep.c (find_dummy_frame_regs): Rework so that
4028 it does not assume %r4 is the frame pointer.
68c8d698
SG
4029 * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
4030 and ssm instructions.
4031 * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
4032 helper functions for print_insn.
a34d4bc1 4033 * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
d83a6710 4034 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
a34d4bc1 4035 which nullifies the following instruction.
d83a6710 4036
a7edcb25
JK
4037Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4038
d83a6710
SG
4039 * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
4040 pass the 5th arg there, rather than using an ANSI C-specific macro.
4041
a7edcb25
JK
4042 * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
4043
d39fbfe3
FF
4044Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
4045
4046 * Makefile.in (VERSION): Bump to 4.8.5
4047 * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
4048 directories to include search path.
4049 * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
4050 whitespace.
4051 * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
4052 * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
4053 elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
4054 xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
4055 udr.o, udip2soc.o): Remove explicit rules, use the ones that
4056 are automatically generated in "depend".
4057 * Makefile.in (paread.o): Document why a dependency doesn't get
4058 automatically generated in "depend" and leave this explicit rule
4059 in for now (FIXME).
4060 * depend: Update to latest automatically generated version.
4061
5b8462fa
JK
4062Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4063
67240bb8
JK
4064 * xcoffread.c: Doc fix.
4065
5b8462fa
JK
4066 * Makefile.in (depend): Include $(CC) command in generated output.
4067
5287eacd
FF
4068Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
4069
4070 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
4071 * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
4072 * depend: Update to latest automatically built version.
4073
9775789d
SG
4074Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
4075
f202f778
SG
4076 * sparclite/Makefile.in: Create default target that does nothing
4077 in order to force user to build by hand.
4078
1e8005d0
SG
4079 * sparclite/Makefile: Remove. It's not necessary anymore.
4080
9775789d
SG
4081 * ser-unix.c (wait_for): New routine to handle read timeouts,
4082 etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
4083
588cca90
ILT
4084Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
4085
4086 * mips-pinsn.c (print_insn): Return value.
4087
ebd99d54
FF
4088Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
4089
588cca90
ILT
4090 * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
4091 at configuration time and doesn't belong in the distribution archive.
4092
d8aaff82
FF
4093 * Makefile.in (NONSRC): Add 29k-share/README.
4094 * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
4095
ebd99d54
FF
4096 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
4097 constants with slightly more portable definitions (still depends
4098 on 2's complement arithmetic though).
4099 * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
4100 * i386v-nat.c (sys/reg.h): Conditionalize include on
4101 NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
4102 * ser-unix.c (termio.h): Include <termio.h> like other files that
4103 include termio.h, not <sys/termio.h> which may not exist (on
4104 linux for example).
4105
9b25bb09
FF
4106Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
4107
4108 * valprint.c (print_longest): Change format parameter from a
4109 'char' to an 'int'. We can't have 'char' parameters with the
4110 current coding style, where we mix prototypes with pre-ANSI
4111 style declarations.
4112 * value.h (print_longest): Change format parameter in prototype
4113 from a 'char' to an 'int'.
4114
dea149ce
PS
4115Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4116
23654371 4117 * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
dea149ce 4118 definition.
23654371 4119 * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
dea149ce
PS
4120 * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
4121
2f1c04d1
SG
4122Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
4123
4124 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
4125 * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
4126 * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
4127 * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
4128 ptrace needs 5 arguments, #define ptrace to always
4129 pass zero as the 5th argument.
4130
c7cb9064
SC
4131Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4132
4133 * configure.in: Match z8k-*-sim for z8000.
4134 * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
4135 * remote-hms.c: Update to use new serial protocol.
4136
5385e525
RP
4137Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4138
5084717f
RP
4139 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
4140 necessary and Solaris doesn't have it.
4141
0139c441
RP
4142 * Makefile.in (clean-info, install, install-info, info, dvi,
4143 check, all): do not echo recursion lines.
4144
5084717f 4145 * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
8317b39f 4146
13b464b2
RP
4147 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
4148 required target ports which use sockets (like a29k-udi).
4149
2f1c04d1 4150 * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
5385e525 4151
8d57a263
JK
4152Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
4153
eca29634
JK
4154 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
4155 systems lacking select().
4156
db7c818b 4157 * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
8d57a263 4158
496ca67c
FF
4159Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
4160
4161 * alldeps.mak, depend: Update with latest automatically built
4162 versions.
4163
3717e95b
FF
4164Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
4165
d5f608a4
FF
4166 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
4167
97e72c06
FF
4168 * Makefile.in (make-proto-testsuite.dir): New target to make
4169 prototype testsuite tree.
97e72c06 4170
3717e95b
FF
4171 * Makefile.in (VERSION): Bump to 4.8.4.
4172
ff580c7b
JK
4173Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
4174
4175 * stabsread.c (define_symbol): If unrecognized constant type,
4176 complain() not error().
4177
7efb57c3
FF
4178Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
4179
f43aec2e
FF
4180 * infptrace.c: Add missing close paren to test for
4181 FIVE_ARG_PTRACE defined.
4182
7efb57c3
FF
4183 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
4184 when compiling with gcc, but disable it for now. See comment.
4185 * defs.h (LONGEST): Define as either "long" or "long long"
4186 based on CC_HAS_LONG_LONG.
4187 * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
4188 how longest_to_int is defined.
4189 * c-valprint.c (c_val_print): Call print_longest.
4190 * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
4191 instead of LONG_LONG.
4192 * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
4193 CC_HAS_LONG_LONG.
4194 * printcmd.c (print_scalar_formatted): Call print_longest
4195 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
4196 * typeprint.c (print_type_scalar): Call print_longest and let
4197 it figure out what to do for PRINTF_HAS_LONG_LONG.
4198 * valprint.c (val_print_type_code_int): Call print_longest
4199 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
4200 * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
4201 * value.h (struct value): Replace usage of LONG_LONG with
4202 CC_HAS_LONG_LONG.
4203 * value.h (print_longest): Add prototype.
4204 * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
4205 * values.c (unpack_double): Collapse code that was unnecessarily
4206 dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
4207 * values.c (value_from_longest): Remove dependency on
4208 CC_HAS_LONG_LONG and just use LONGEST.
4209 * solib.c (solib_map_sections): Use bfd_get_filename
4210 to access filename field.
4211 * solib.c (clear_solib): Save filename and free it later, after
4212 bfd_close, since bfd_close may reference it. Use bfd_get_filename
4213 to access the field.
4214 * config/convex/xm-convex.h (LONG_LONG): Replace with
4215 CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
4216 * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
4217 Add PRINTF_HAS_LONG_LONG references.
4218
0626f40d
JK
4219Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4220
31b56726
JK
4221 * inflow.c (kill_command), infcmd.c (attach_command),
4222 remote.c (remote_interrupt_twice): In messages for the user, call it
4223 "the program" or "the program being debugged" not "the inferior".
4224
0626f40d
JK
4225 * hp300ux-nat.c: Cast second arg to supply_register calls.
4226 (_initialize_kernel_u_addr, getpagesize): New functions.
4227 (store_inferior_register_1): Change arg name from value to val.
4228 (fetch_core_registers): Make arg core_reg_size unsigned.
4229 Pass 5 args to ptrace.
4230 * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
4231 Remove KERNEL_U_ADDR stuff.
4232 * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
4233 * config/m68k/hp300hpux.m{t,h}:
4234 Move exec.o from NATDEPFILES to TDEPFILES
4235 * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
4236 hp-include stuff. Add m68k-tdep.o to TDEPFILES.
4237
d8f23320
PS
4238Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4239
4240 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
4241
08bb2617
JK
4242Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4243
4244 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
4245
caa53d6d
RP
4246Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
4247
4248 * doc/gdb.texinfo: make node "Shell Commands" unconditional;
4249 describe `set demangle-style arm' (not cfront);
4250 mention can type `q' to discard output, when gdb pages
4251
212e10cf
PS
4252Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4253
4254 * valops.c (search_struct_field): Fix gdb core dump with incomplete
4255 stabs info.
4256
ebdb9ade
JK
4257Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4258
4259 * remote.c: Change timeout to 2.
4260 (remote_open): Use unpush_target not remote_close.
4261 (remote_resume): If siggnal != 0, give warning not error().
4262 (remote_wait, remote_interrupt, remote_interrupt_twice):
4263 If we get two interrupts, let the user get out if they want.
4264 (remote_{kill,mourn}): New functions.
4265 i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
4266
c0f2f39c
ILT
4267Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
4268
4269 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
4270
609e1c57
JK
4271Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
4272
71607f9d
JK
4273 * Remote targets (mourn): Call unpush_target.
4274
e82980e4
JK
4275 * config/sparc/xm-sun4os4.h: Declare free() to return int.
4276 Remove twisted use of PARAMS.
4277
609e1c57
JK
4278 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
4279 that ansidecl.h assumes ANSI on AIX.
4280
ab425a9b
JK
4281Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
4282
4283 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
4284 (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
4285
f661c4ca
PS
4286Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4287
4288 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
4289
ebe8362f
JK
4290Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
4291
4292 * remote-vx.c (net_connect): Allow numeric IP address for host.
4293
9faacb92
SC
4294Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4295
4296 * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
4297
9aa31e91
JK
4298Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
4299
4300 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
4301
4302 * symtab.h, xcoffread.c: Revise linetable sorting comments.
4303
24d45a63
PS
4304Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4305
4306 * valops.c (value_cast): A cast might also change the object
4307 representation in C++.
4308 * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
4309 to get the proper read_symtab function when called from mipsread.c.
4310 * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
4311 Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
4312 for dummy psymtabs, inhibit processing of dummy psymtabs.
4313
8cba9703
JK
4314Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
4315
87237c52
JK
4316 * Changes from (or inspired by) AMD:
4317 * remote-udi.c (udi_attach): Assignments to Space and Offset were
4318 switched, fix it.
4319 (udi_wait): Make error message (UDIGetStdout) match error.
4320 (udi_wait): Handle UDIStdinNeeded.
4321 * command.c [CANT_FORK]: Use system().
4322 * utils.c (prompt_for_continue): Allow quit with 'q'.
4323
8cba9703
JK
4324 * solib.c (solib_add): Don't call special_symbol_handling if there
4325 were errors in symbol_add_stub. Also set so->from_tty before
4326 calling symbol_add_stub.
4327
66a1aa07
SG
4328Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
4329
4330 * Merge in HPPA/BSD patches from Utah:
4331 * defs.h: Add const to 2nd arg of psignal prototype.
4332 * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
4333 BSD now.
4334 * hppab-core.c: Deleted. No longer useful.
4335 * hppab-nat.c: #include more files. Use PT_WUREGS, not
4336 PT_WRITE_U.
4337 * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
4338 * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
4339 * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
4340 * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
4341 * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
4342
b5728692
SG
4343Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
4344
4345 * Fix two bugs found by deja-gnu. One is the incorrect reporting
4346 of the PC being in a stack dummy when looking at a core file
4347 without symbols. The other is the incorrect passing of char
4348 arguments during expression evaluation (ie: p foo('a','b') would
4349 mess up the passing of it's args because it wasn't coercing the
4350 char's to ints).
4351 * hppah-tdep.c: Rename global functions to have consistent hppa_
4352 prefix. Make more functions static. Drop hp_ prefix from static
4353 functions. (hppa_push_arguments): Call value_arg_coerce to cast
4354 char to int args if necessary. (hppa_fix_call_dummy): Create
4355 this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
4356 * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
4357 valid (ie: != 0) before doing comparison against PC.
4358 * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
4359 to reflect new arguments.
4360 * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
4361 prefix for func name. (FIX_CALL_DUMMY): Move code into
4362 hppah-tdep.c.
4363
4364 * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
4365 to malloc() so that we can test GDB eval of dynamically created
4366 arrays (like char strings in `print "foo"').
4367
7586127f
PS
4368Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4369
4370 * printcmd.c (print_address_symbolic): Search symtabs as well as the
4371 minimal symbols for a nearby symbol.
4372
158a0711
JG
4373Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
4374
4375 * coffread.c: Comment changes around minimal symbol recording.
4376
3127785a
RP
4377Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4378
158a0711 4379 * command.c: comment changes only.
f936e20d 4380
3127785a
RP
4381 * mips-tdep.c (heuristic_fence_post): new static variable.
4382 (heuristic_proc_start): use heuristic_fence_post, print better
4383 warnings, but only if not stop_soon_quietly.
4384 (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
4385
5afa2040
JK
4386Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
4387
4388 * symtab.h: Fix LOC_REF_ARG comment.
4389
4390Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4391 and Jim Kingdon (kingdon@cygnus.com)
4392
4393 * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
4394 LOC_REGPARM symbol.
4395 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
4396 symfile.c (compare_symbols): Don't check first character; STRCMP
4397 does that.
4398
4399 * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
4400 structures that are passed by address in a register.
4401 * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
4402 * findvar.c (read_var_value),
4403 printcmd.c (address_info, print_frame_args),
4404 stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
4405 * symtab.c (lookup_block_symbol): Deal with it.
4406
fce30fa1
JK
4407Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
4408
4365c36c
JK
4409 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
4410 Add objfile field.
4411 * objfiles.c (find_pc_section): Return a struct obj_section *.
4412 * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
4413 * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
4414 Don't use obj_section hack.
4415 * xcoffexec (vmap_symtab): Relocate obj_sections.
4416 * printcmd.c (containing_function_bounds): Use find_pc_section.
4417
fce30fa1
JK
4418 * symtab.h: Clean up SYMBOL_VALUE comments.
4419
f2c365f5
JK
4420Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
4421
31258e4f
JK
4422 * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
4423 Expand comments about LOC_ARG/LOC_LOCAL pairs.
4424
f2c365f5
JK
4425 * coffread.c (read_coff_symtab): Use rewind before fseek.
4426
32d8a6d3
PB
4427Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
4428
4429 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
4430 * Makefile.in: Add $(YFLAGS) when using $(YACC).
4431 * Makefile.in: Remove message to expect conflicts and unused
4432 rules in ch-exp.y, since there no longer are any such.
4433
1b5c6c05
DZ
4434Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4435
4436 * stabs.texinfo: fixed bad xrefs (un-initialized statics)
4437
cee86be3
JK
4438Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
4439
4cdcf3b9
JK
4440 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
4441 rather than dumping core.
4442
24c2857c 4443 * Makefile.in: Add ${srcdir}/ to all source files.
4cdcf3b9 4444 (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
24c2857c
JK
4445 (TAGS): Deal with srcdir and new config directory scheme.
4446 createtags: Remove.
4447 Makefile.in (NONSRC): Remove createtags.
4448 alldeps.mak: Updated.
4449
cee86be3
JK
4450 * rs6000-tdep.c: Delete unused function print_frame.
4451
4452 * frame.h (struct frame_info): Doc fix for next_frame.
4453 New field signal_handler_caller.
4454 blockframe.c (create_new_frame, get_prev_frame_info),
4455 config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
4456 INIT_FRAME_PC_FIRST).
4457 stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
4458 Check it.
4459
9583b295
SG
4460Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
4461
4462 * irix4-nat.c (fetch_core_registers): Special version of this for
4463 Irix 4.x, which stores regs a bit differently from other /proc
4464 based systems.
4465 * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
4466 to new file core-svr4.c.
4467 * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
4468 config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
4469 to NATDEPFILES.
4470 * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
4471
3f06498a
JK
4472Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
4473
4474 * i387-tdep.c: Remove unused #includes.
4475
4476 * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
4477
4478 * config/i386/nm-i386v.h: Define NO_PTRACE_H.
4479
058eb766
JK
4480Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
4481
4482 * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
4483
4484 * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
4485 xcoffread.c (process_xcoff_symbol, case C_RPSYM):
4486 Don't muck with SYMBOL_CLASS.
4487
04c6a64f
SG
4488Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
4489
4490 * munch: Don't use head command. It doesn't exist everywhere.
4491
9c225659
FF
4492Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
4493
4494 * inflow.c (new_tty): Remove spurious 'o' character at end
4495 of #endif line.
4496
e157305c
PS
4497Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4498
4499 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
4500 instructions and nothing more.
4501 * mipsread.c (add_line): Add comment why we have to combine line number
4502 entries for the same line number.
4503
0b28c260
JK
4504Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
4505
4506 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
4507 in gdb 2.8!).
4508
dd052d9a
FF
4509Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
4510
4511 * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
4512
9fa59efd
JK
4513Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
4514
4515 * source.c (select_source_symtab): Clean up comment. Also, if
4516 we have a current_source_symtab, and s is NULL, return without
4517 doing anything.
4518 xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
4519 breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
4520
65ce5df4
JG
4521Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
4522
4523 * dbxread.c (unknown_symchar_complaint): Add new complaint.
6f49b01e 4524 * stabsread.h: Declare it.
65ce5df4
JG
4525 * partial-stab.h: Use it.
4526
4527 * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
4528
486b440e
JK
4529Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
4530
df2a1bd7
JK
4531 * stack.c (print_frame_info): Print specially if dummy frame.
4532
fa99ebe1
JK
4533 * breakpoint.c: Add comments regarding within_scope future direction.
4534
ee7e82fe
JK
4535 * Version 4.8.3.
4536
486b440e
JK
4537 * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
4538
4539Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
4540
4541 * ch-exp.y: Fix thinko that broke parsing of FALSE.
4542
39cb3d04
PS
4543Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4544
4545 * stabsread.c (read_member_functions): Initialize domain for stubbed
4546 member functions to avoid gdb core dumps when printing pointers
4547 to member functions.
4548 * cp-valprint.c (cp_print_class_method): Check for stubbed member
4549 functions.
4550
ccd87bf2
JK
4551Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
4552
e2ff731b
JK
4553 * expprint.c (print_subexp): If opcode not found in op_print_tab,
4554 stop with an error().
4555 eval.c (evaluate_subexp): Change error message.
4556
ccd87bf2
JK
4557 * objfiles.c (build_objfile_section_table): Cast return value
4558 from obstack_finish.
4559
0a62ff36
JK
4560Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
4561
f3649227
JK
4562 * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
4563 to rs6000_frame_chain and deal with it if we're in a signal handler.
4564 (FRAME_SAVED_PC): Use rs6000_frame_chain.
4565
0a819c04
JK
4566 * breakpoint.c (within_scope): New function.
4567 (enable_breakpoint, watchpoint_check): Use it.
4568
affc9686
JK
4569 * source.c (openp): Handle "exec-file ./ls" correctly.
4570
0a62ff36
JK
4571 * breakpoint.c (breakpoint_1): Use wrap_here before "at".
4572
5a7c9cce
PB
4573Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
4574
4575 * ch-exp.y: Clean up lexing of identifiers and
4576 reserved words. (E.g. don't recognize FALSEXXX as the
4577 keyword FALSE followed by the identifier XXX.)
4578 Also, convert identifiers to lower case.
4579
1724c671
SG
4580Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
4581
4582 * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
4583 new serial interface.
4584
4febd102
SG
4585Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
4586
4587 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
4588 (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
4589 * ser-go32.c: Return -1 on most failures, 0 on most successes,
4590 and use new return codes for go32_readchar().
4591 * ser-unix.c: Ditto. Also, move error handling up to caller for
4592 SERIAL_SETBAUDRATE().
4593 * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
4594 to specific routine.
4595 (serial_close): New routine to wrap around device close routine.
4596 serial.h: Clean & document return values more clearly.
4597
a80c7bf6
JK
4598Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
4599
944c1c2f
JK
4600 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
4601
4602 * rs6000-pinsn.c (print_operand, case LI): Print condition register
4603 operand in decimal rather than wrong textual versions.
4604
21486670
JK
4605 * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
4606 (mention 't', remove false thing about 'g' only good with 'f').
4607
ddc6e6f7
JK
4608 * breakpoint.h: move "struct breakpoint" and friends to top of
4609 file so that bpstat_find_breakpoint prototype works.
4610
a80c7bf6
JK
4611 * solib.c (struct so_list): Add bfd field.
4612 (solib_map_sections): Leave bfd open and scratch_pathname allocated.
4613 Put the bfd in bfd field of the so_list.
4614 (clear_solib): Free bfd name and close_bfd on the bfd.
4615
47f366bc
PB
4616Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
4617
4618 * valarith.c (value_subscript): Add COERCE_REF.
4619 * ch-exp.y (operand_5): We can generalize the 2nd operand
4620 of a string repetition ot 'literal' without ambiguity.
4621
cabd4da6
JK
4622Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4623
4624 * breakpoint.h (struct bpstat): Remove momentary field.
4625 Remove bpstat_momentary_breakpoint. This was always kludgy
4626 and is no longer used.
4627
4628 * breakpoint.h: Add enum bpstat_what.
4629 breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
4630 stop and print fields of bpstat now per-breakpoint, not just
4631 one for the whole chain.
4632 breakpoint.{c,h} (bpstat_what): New function.
4633 breakpoint.h: Remove bpstat_stop and bpstat_should_print.
4634 infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
4635 with call to bpstat_what.
4636 README: Remove watchpoint/breakpoint bug from known bugs.
4637
4638 * breakpoint.h: Prototype bpstat_find_breakpoint.
4639
dfbfbd96
FF
4640Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
4641
4642 * symtab.c (find_methods, gdb_mangle_name): Note that functions
4643 are g++ specific.
4644 * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
4645 DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
4646
4647Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
4648
4649 * i960-pinsn.c (tabent): Copied struct definition from
4650 opcodes/i960-dis.c.
4651
ca6a826d
PS
4652Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4653
4654 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
4655 is a C++ destructor.
4656 * symtab.c (gdb_mangle_name): Use it.
4657 * symtab.c (find_methods): Do not add destructors to choice list
4658 for constructors.
4659 * symtab.c (decode_line_1): Make breakpoints on destructors work
4660 for gcc-2.x again.
4661
40b56283
SG
4662Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
4663
b83bf6b3
SG
4664 * ser-go32.c: Make it use serial port name.
4665 * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
4666
40b56283
SG
4667 * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
4668 in a system call!
4669
41faa775
SG
4670Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
4671
4672 * configure.in: Only configure sparclite subdir when target_cpu
4673 is sparclite.
4674
f635bd47
JK
4675Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
4676
ef5b809c
JK
4677 * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
4678 Remove FIXME comment regarding this.
4679
47045b36
JK
4680 * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
4681
f635bd47
JK
4682 * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
4683
73d0fc78
RP
4684Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
4685
4686 Add section table to objfile struct. Use it for find_pc_section.
4687 * objfiles.c (add_to_objfile_sections,
4688 build_objfile_section_table, find_pc_section): new functions.
4689 (allocate_objfile): build section table.
4690 * objfiles.h (struct obj_section): new structure.
4691 (struct objfile): add section table.
4692 (find_pc_section): new prototype.
4693 * solib.[ch] (find_pc_section_from_so_list): removed.
4694 * sparc-tdep.c: include objfiles.h for find_pc_section. include
4695 symfile.h for objfiles.h.
4696 (in_solib_trampoline): adjusted for new find_pc_section
4697 prototype. Removed BAD_RICH_HACK ifdefs.
4698 * symfile.c (syms_from_objfile): offset objfile sections.
4699 (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
4700 * symfile.h (find_pc_section): prototype removed. Also fixed
4701 comment typo NUL -> NULL.
4702 * target.[ch] (find_pc_section_from_targets): removed.
4703 * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
4704
07861607
SG
4705Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
4706
4707 * ser-go32.c: Format. (go32_open): Use proper return value.
4708
4709 * configure.in: Undo conditional configdirs hack for sparclite.
4710
118ec55a
JW
4711Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
4712
4713 * symtab.c (list_symbols): When call break_command, pass both
4714 filename and function name not just function name.
4715
4716Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
4717
4718 (Changes and new files to make "none" a full fledged configuration)
4719 * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
4720 Currently only tm-none.h has any meaningful contents.
4721 * config/none/none.mh (NAT_FILE): Use nm-none.h
4722 * config/none/none.mh (XM_FILE): Use xm-none.h
4723 * config/none/none.mt (TM_FILE): Use tm-none.h
4724 * Makefile.in (depend): Remove comment about parse errors in
4725 valops.c, it now parses correctly and generates a correct depend
4726 line. Remove line that touches xm.h, tm.h, and nm.h; they are
4727 now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
4728
786757a9
JK
4729Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
4730
9925b928
JK
4731 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
4732
786757a9
JK
4733 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
4734 exactly 8 characters.
4735
0c101d49
SG
4736Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
4737
4738 * configure.in: Sparclite uses sparc config dir. Also has it's
4739 own tm- & .mt files now. Also add sparclite to configdirs.
4740 * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
4741 * config/i386/go32.mh: Nullify def of TERMCAP.
4742 * config/i386/xm-go32.h: Get rid of redef of EIO.
4743 * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
4744 specific configs. Very similar to sun4os4, but without solib.
4745 * sparclite/{Makefile.in configure.in}: First cut at making this
4746 dir configgable.
4747
5d2b030a
SG
4748Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
4749
4750 * ser-go32.c: First cut at adapting to new serial interface.
4751
4e772f44
SG
4752Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
4753
4754 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
4755 These implement a new serial line interface for talking to remote
4756 targets.
4757 * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
4758 EXCEPT go32, which gets ser-go32.c.
4759 * remote.c: Use new serial interface. More remote-xxx's to be
4760 converted later.
4761 * ser-bsd.c, ser-termios.c: Removed.
4762 * serial.c: New. Implements common operations for all serial
4763 types.
4764 * ser-unix.c: New. Unix specific serial operations for various
4765 flavors of Unix (Posix, SysV, BSD).
4766 * serial.h: Generic serial interface defs.
4767 * config/i386/go32.mh, config/i386/i386bsd.h,
4768 config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
4769 ser-bsd.o from XDEPFILES. All the magic is now handled in
4770 configure.in.
4771
9acdb2dc
SG
4772Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
4773
4774 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
4775
0848ad1c
JK
4776Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
4777
1d7e34e1
JK
4778 * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
4779
b0e932ad 4780 * rs6000-tdep.c (frameless_function_invocation): Don't even think
1d7e34e1 4781 about framelessness except on the innermost frame.
b0e932ad 4782
0848ad1c
JK
4783 * xcoffexec.c: Call fatal() not abort().
4784
4785 * stabsread.c (patch_block_stabs): If stab & no symbol, make
4786 a LOC_OPTIMIZED_OUT symbol.
4787 symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
4788 findvar.c (read_var_value), printcmd.c (address_info),
4789 symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
4790 m2-exp.y (yylex): Deal with it.
0848ad1c 4791 ch-exp.y (yylex): Deal with it.
0848ad1c
JK
4792
4793Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
4794
4795 * findvar.c (value_from_register): H8500 specific, check to see
4796 if we are looking at short pointer. If so, skip crock.
4797 * h8500-tdep.c (h8500_frame_chain): Mask down value from
4798 read_memory_integer() to avoid getting messed up by sign extension.
4799
0e184833
RP
4800Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4801
4802 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
4803 ifdef protect using BAD_RICH_HACK. This should be removed soon.
4804 * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
4805
a6cead71
JK
4806Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
4807
720b3aed
JK
4808 * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
4809
4810 * core.c (dis_asm_print_address): New function.
4811
a6cead71
JK
4812 * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
4813 has been fixed.
4814
494503c7
PS
4815Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4816
4817 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
4818 entire breakpoint chain and print only the first entry that needs to
4819 be printed and needs to be stopped for. Fixes problems with printing
4820 of multiple breakpoints with different conditions.
4821 * breakpoint.c (print_it_done): Renamed from print_it_noop as it
4822 effectively stops printing of the breakpoint chain.
4823 * breakpoint.c (print_it_noop): New routine to print nothing
4824 for this breakpoint entry and dont stop printing.
4825 * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
4826 watchpoint only if it is enabled.
4827 * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
4828 descriptor from the library to make backtraces through setjmp work.
4829 * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
4830 sigtramp.
4831 * mips-tdep.c (read_next_frame_reg): Provide correct values for
4832 all registers saved within sigtramp, cleanup.
4833
f7ed13c7
JK
4834Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4835
4836 * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
4837
bf097a0b
RP
4838Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4839
4840 * core.c (dis_asm_read_memory): drop fourth arg which conflicts
4841 with prototype in ../include/dis-asm.h.
4842
5d0734a7
JK
4843Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4844
4845 * core.c (dis_asm_{read_memory,memory_error}): New functions.
4846 m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
4847 Use read_memory_func interface to disassembler.
4848
2093fe68
RP
4849Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4850
4851 Teach sparc solaris to next over shared library functions.
4852 * solib.[hc] (find_pc_section_from_so_list): new function and
4853 prototype.
4854 * sparc-tdep.c (in_solib_trampoline): new function.
4855 * symfile.[hc] (find_pc_section): new function and prototypes.
4856 * target.[hc] (find_pc_section_from_targets): new function and
4857 prototypes.
4858 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
4859 in_solib_trampoline.
4860
b27be792
JK
4861Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
4862
deae7611
JK
4863 * infrun.c (wait_for_inferior): Revise comment.
4864
359a097f
JK
4865 * command.c (do_setshow_command): Use %u with var_{u,z}integer.
4866
4867 * command.{c,h}: New var_type var_integer.
4868 main.c: Use it for history_size.
4869
4870 * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
4871 Lint and byte-order fixups.
4872
3f031adf
JK
4873 * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
4874
8af68e4e
JK
4875 * breakpoint.h (bpstat): New field print_it.
4876 breakpoint.c (bpstat_print): Use it.
4877 (print_it_normal): New function (from old bpstat_print code).
4878 (bpstat_{alloc,stop_status}): Set print_it field.
4879
4880 * breakpoint.c (bpstat_stop_status): Use catch_errors when
4881 evaluating watchpoint condition, via new function watchpoint_check.
4882 Also stop if watchpoint disabled due to leaving its block.
4883
b27be792
JK
4884 * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
4885
aa66fddd
PS
4886Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4887
4888 * mips-pinsn.c: Add missing include of dis-asm.h.
4889
d7d35f00
FF
4890Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
4891
239121e2
FF
4892 * Makefile.in (clean, distclean, realclean): Recursively apply
4893 to subdirs first, rather than last. This avoids, for example,
4894 Makefile being removed in a parent directory before the recursive
4895 make is run.
4896
141ccc03
FF
4897 * alldeps.mak, depend: Update for below changes.
4898
2225eb85
FF
4899 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
4900 * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
4901 tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
4902 tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
4903 instead of tm-68k.h.
4904 * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
4905 * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
4906 m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
4907 nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
4908 * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
4909 tm-68k.h to tm-m68k.h.
4910 * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
4911 * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
4912 tm-m68k-nofp.h.
4913
d7d35f00
FF
4914 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
4915 * a29k-pinsn.c: Renamed from am29k-pinsn.c.
4916 * a29k-tdep.c: Renamed from am29k-tdep.c.
4917 * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
4918 * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
4919 tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
4920 testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
4921 Map '29k' to 'a29k'.
4922 * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
4923 (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
4924 * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
4925 tm-a29k.h.
4926 * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
4927 define that does not appear anywhere else in the gdb source tree.
4928 * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
4929
ad376893
JK
4930Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
4931
2225eb85
FF
4932 * breakpoint.c: Add comments regarding breakpoint_re_set.
4933
e5c00760
JK
4934 * xcoffread.c (sort_syms, compare_symbols): Remove.
4935 (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
4936 not our own sort_syms (it is identical).
4937
ad376893
JK
4938 * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
4939
0b0d6c3f
PS
4940Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4941
4942 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
4943 * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
4944 went out of scope.
4945 * exec.c (exec_close): Fix storage leak.
4946 * exec.c (exec_file_command): Make sure that bfd doesn't realign the
4947 output sections when patching an executable.
4948 * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
4949 when writing all registers.
4950 * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
4951 at the right offset in the dummy frame.
4952 * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
4953 stStaticProc and stEnd symbols as they are generated by gcc-2.x.
4954 * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
4955
0f0834c5
JG
4956Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
4957
4958 * Makefile.in (TARFILES): Avoid trailing backslash.
4959
2d313932
JK
4960Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
4961
d7d35f00
FF
4962 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
4963 it in breakpoint_re_set.
2d313932
JK
4964 * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
4965
4966 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
4967 don't use sizeof(int) for target stuff, etc).
4968
53f6119f 4969Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
3c02636b 4970
53f6119f
FF
4971 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
4972 i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
4973 support that can't be integrated anyway due to lack of clear
4974 authorship.
3c02636b 4975
ccf1e898
SG
4976Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
4977
4978 * findvar.c (read_register, write_register): Make these capable
4979 of reading/writing registers that are shorter than REGISTER_TYPE.
4980 * (value_from_register): Install H8500 specific code to return
4981 proper value when register is being used as a pointer.
4982 * h8500-tdep.c: Remove extra defines of NUM_REGS.
4983 (h8500_skip_prologue): Use correct lengths for LINK instructions.
4984 (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
4985 chain frames properly by combining frame pointer with T reg.
4986 (init_extra_frame_info): Delete. It's now a macro.
4987 (frame_args_address): Don't add PTR_SIZE. Stack args are already
4988 offset by the correct amount off of the frame pointer.
4989 (register_byte): Delete. It's now a macro.
4990 (register_raw_size, register_virtual_size): Delete. Replaced by
4991 common routine h8500_register_size, cuz there's no difference
4992 between the raw & virtual sizes on this machine.
4993 (register_convert_to_raw, register_convert_to_virtual): Delete,
4994 cuz there's no difference between the raw & virtual forms.
4995 Replaced by memcpy in tm file.
4996 (register_virtual_type): Rename to h8500_register_virtual_type.
36b1d528 4997 Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
ccf1e898
SG
4998 (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
4999 emulator have same reg offsets. This is all handled in the
5000 simulator code now.
5001 (h8500_trapped_internalvar): New routine to detect references to
5002 convenience vars acting as pointer pseudo-regs.
5003 (h8500_value_trapped_internalvar): Conjure up value of pointer
5004 pseudo-regs.
5005 (h8500_set_trapped_internalvar): Convert set value in real
5006 register references.
5007 infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
5008 code segment register.
5009 infrun.c (proceed): Simplify. Call write_pc instead of doing it
5010 by hand.
5011 (wait_for_inferior): Add h8500 specific code to add stack segment
5012 when reading SP register.
5013 remote-sim.c (fetch_register): Spacing.
5014 tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
5015 detect cruft. Redo all register manipulation stuff. Get rid of
5016 pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
5017 to frame pointer. (IS_TRAPPED_INTERNALVAL,
5018 VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
5019 to create internal vars for pointer pseudo-regs.
5020
2531303c
FF
5021Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
5022
5023 * Makefile.in: Numerous small changes to macro definitions
5024 and rules for building gdb distribution tree. Many macros
5025 eliminated or merged, and rules simplified.
5026 * alldeps.mak: Update.
5027 * depend: Update.
5028
b396a969
DZ
5029Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5030
5031 * Makefile.in: recurse through SUBDIRS for dvi target too
5032
53f6119f
FF
5033Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
5034
5035 * Clean up xcoff relocation.
5036 objfiles.h (struct objfiles): Add section_offsets, num_sections.
5037 symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
5038 Set them.
5039 symtab.h (struct general_symbol_info): Add section field.
5040 minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
5041 xcoffread.c: Set section for symbols and msymbols.
5042 (struct symtab): Add block_line_section field.
5043 buildsym.c (end_symtab): Set it.
5044 (end_symtab and callers): Add section parameter.
5045 objfiles.c (objfile_relocate): New funciton.
5046 xcoffexec.c (vmap_symtab): Use it.
5047 xcoffsolib.h (struct vmap): Remove unused fields.
5048 config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
5049 CORE_NEEDS_RELOCATION, symtab_relocated.
5050 config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
5051 rs6000-tdep.c: Make loadinfotext static.
5052 breakpoint.c (fixup_breakpoints): Doc fix.
5053 symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
5054 (end_symtab): primary field replaces nonreloc.
5055
ece2e98a
JG
5056Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
5057
5058 * symtab.h (struct linetable_entry): Remove confusing comment.
5059
80c8fd72
DZ
5060Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5061
5062 * Makefile.in: add installcheck target
5063
1a0edbc7
FF
5064Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
5065
5066 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
5067 m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
5068 z8k}: New directories to hold cpu specific configuration files.
5069 Naming follows gcc convention.
5070 * config/{*.mt, *.mh}: All target and host makefile fragment
5071 config files moved to an appropriate config/<cpu> subdirectory.
5072 * nm-*, xm-*, tm-*: All native, host, and target files, which
5073 get linked to nm.h, xm.h, and tm.h respectively by configure,
5074 moved to appropriate config/<cpu> subdirectory.
5075 * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
5076 Native, host, and target files that are common across more than
5077 one cpu architecture and included by one of the configured
5078 native, host, or target files, get moved to config directory.
5079 * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
5080 pick up native, host, or target include files moved to one of
5081 the config subdirectories, and that are included by other files.
5082 * Makefile.in (alldeps.mak): Modify to account for new config
5083 directory structure.
5084 * alldeps.mak, depend: Update for new config directory structure.
5085 * config/*/[ntx]m-*.h: Modify all files that include other
5086 [ntx]m-*.h files to use path relative to gdb/config. I.E.
5087 "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
5088 "tm-29k.h".
5089 * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
5090 * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
5091 * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
5092 * configure.in: Default gdb_host_cpu to host_cpu, and remap
5093 the ones where the default is not unique or different than the
5094 config subdirectory name. Similarly, handle gdb_target_cpu.
5095 Modify configure.in as appropriate to make use of gdb_host_cpu
5096 and gdb_target_cpu to find makefile fragments and make links.
5097
5f5341a7
ILT
5098Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
5099
5100 * mipsread.c (compare_blocks): Sort blocks with the same start
5101 address by decreasing ending address.
5102
1a3579df
PS
5103Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5104
5105 * mipsread.c (parse_procedure): Save cur_fdr accross call to
5106 lookup_symbol as it might get clobbered by the call.
5107
5108 * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
5109 The previous code did not initialize the language field for the psymtab
5110 entry.
5111
f24c159f
JG
5112Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
5113
5114 * c-exp.y (parse_number): Avoid shift warning.
5115 * serial.h (struct ttystate): Declare empty one on DOS.
5116
bc0d4cb9
SG
5117Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
5118
733a9015
SG
5119 * xm-sun4os4.h: Return type of free() should be void, not int.
5120
bc0d4cb9
SG
5121 * vx-share/vxWorks.h: Remove #def of NULL.
5122
deb3f296
JK
5123Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
5124
5125 * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
5126
52f8e6a0
SC
5127Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
5128
5129 * z8k-tdep.c (print_insn): Include the new dis-asm header file.
5130
00cea52f
PB
5131Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
5132
5133 * ieee-float.c: Moved to ../libiberty.
5134 * ieee-float.h: Moved to ../include.
5135 * Makefile.in: Update accordingly.
5136 * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
5137 Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
5138 * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
5139 it is now in ../opcodes/m68881-ext.c.
5140 * mips-tdep.c (mips_skip_prologue): Try to skip more of the
5141 prologue (some callers _do_ care).
5142 * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
5143 new interface of ../opcodes/*-dis.c.
5144 * ch-exp.y: Add #include <ctype.h>.
5145
b60b2e3e
JK
5146Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
5147
c161de74
JK
5148 * xcoffexec.c (exec_close): Don't close exec_bfd twice.
5149
b60b2e3e
JK
5150 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
5151
ecfd2b60
JK
5152Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
5153
5154 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
5155
2d8d693a
SC
5156Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5157
5158 * z8k-tdep.c (extract_return_value, write_return_value,
5159 store_struct_return): New functions from macros in tm-z8k.h.
5160
898e13c8
FF
5161Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
5162
5163 * valops.c (value_arg_coerce): Apply temporary patch to
5164 fix problem with coercion of array and function types when
5165 passed as arguments to C functions, pending a more complete
5166 review of when and how coercion should be done, depending
5167 upon context and language.
5168
9d61147e
JK
5169Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
5170
3e57da38
JK
5171 * xcoffread.c (MIN_TBTABSIZ): Change to 12.
5172
9d61147e
JK
5173 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
5174 debugsec if there are a non-zero number of symbols.
5175
3021c40d
JG
5176Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
5177
5178 * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
5179
8112a711
JK
5180Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
5181
5182 * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
5183
5184 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
5185 not just 50 symbols.
5186 (symtbl_num_syms): New variable.
5187 (read_xcoff_symtab): Set it.
5188 (read_symbol_nvalue): Check for bad symno.
5189 (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
5190 always symtbl.
5191
e829d983
SG
5192Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
5193
5194 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
5195 This is defined in defs.h if necessary.
5196 * vx-share/vxWorks.h: Remove #defs of min and max.
5197 * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
5198 vx-share/xdr_rdb.c: include defs.h.
5199
c8ade719
JK
5200Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
5201
5202 * xcoffread.c (retrieve_tracebackinfo): Move assignment out
5203 of while condition.
5204
5205 * xcoffread.c (enter_line_range): complain() on bad endoffset.
5206 xcoffread.c: Doc fixes.
5207
5208Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
5209
5210 * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
5211 xcoffexec.c (xcoff_relocate_core): New function.
5212 (text_adjustment): Removed.
5213 (add_vmap): Return the vmap.
5214 rs6000-tdep.c (add_text_to_loadinfo): No longer static.
5215
5216Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
5217
5218 * xcoffsolib.h: Add objfile member to struct vmap.
5219 xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
5220 xcoffexec.c (add_vmap): Allocate objfiles here.
5221
48a522d9
JG
5222Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
5223
01deac12
JG
5224 Support 68000 series without floating point.
5225
5226 * configure.in (m68000-*-{aout,elf,coff}): New configs.
48a522d9
JG
5227 * tm-68k-nofp.h: New file, lacks 68881 support.
5228 * config/m68k-nofp.mt: New file.
5229
84a05e52
JG
5230Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
5231
5232 Remove a few remaining underscore/no-underscore remnants from
5233 config files.
5234
5235 * config/{m68k-un.mt, sparc-un.mt}: Remove.
5236 * config/m68k-noun.mt: Rename to m68k-fp.mt.
5237 * config/sparc-noun.mt: Rename to sparc-em.mt.
5238 * tm-68k-noun.h, tm-spc-noun.h: Remove.
5239 * tm-68k-un.h: Rename to tm-68k-fp.h.
5240 * tm-spc-un.h: Rename to tm-spc-em.h.
5241 * tm-sun4sol2.h: Cleanup.
5242 * configure.in (m68k-*, sparc-* targets): Corresponding changes.
5243
961ee88e
JG
5244Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
5245
5246 * symmisc.c (std_in, std_out, std_err): Move initializations
5247 to runtime code, in case they aren't constant.
5248
a8172eea
RP
5249Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
5250
aa8f3210
RP
5251 * symtab.c (find_pc_symtab): some object file formats, notably
5252 mips, have holes in the address ranges of symtabs. Change
0a4a0f09 5253 this algorithm from first hit to tightest fit.
aa8f3210 5254
a8172eea
RP
5255 * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
5256 fence post without finding the enclosing function, then print a
5257 warning.
5258
bd5d07d9
FF
5259Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
5260
5e81259d
FF
5261 * utils.c (fputs_demangled, fprint_symbol): Remove.
5262 * utils.c (fprintf_symbol_filtered): New function which combines
5263 the functionality of fputs_demangled and fprint_symbol. Uses a
5264 caller provided language parameter to select the appropriate
5265 demangler, and caller provided args to pass to the demangler.
bd5d07d9
FF
5266 * defs.h (enum language): Move further up in file so enum can
5267 be used in prototypes.
5e81259d
FF
5268 * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
5269 * defs.h (fprintf_symbol_filtered): Add prototype.
5270 * c-typeprint.c (cp_type_print_method_args): Replace calls to
5271 fputs_demangled with call to fprintf_symbol_filtered.
5272 * cp-valprint.c (demangle.h): Include
5273 * cp-valprint.c (cp_print_value_fields): Replace calls to
5274 fprint_symbol with calls to fprintf_symbol_filtered.
5275 * printcmd.c (print_frame_args): Replace call to fprint_symbol
5276 with call to fprintf_symbol_filtered.
bd5d07d9
FF
5277 * stack.c (print_frame_info): Remove obsolete code so we don't
5278 have to update fputs_demangled usage in it.
5279 * stack.c (print_frame_info, frame_info): Add language variable
5e81259d
FF
5280 to pass to fprintf_symbol_demangled and initialize it from the
5281 symbol's language. Replace calls to fputs_demangled with calls
5282 to fprintf_symbol_filtered.
5283 * symtab.c (find_methods): Replace call to fputs_demangled with
5284 call to fprintf_symbol_filtered.
5e81259d
FF
5285 * ch-valprint.c (demangle.h): Include.
5286 * ch-valprint.c (chill_print_value_fields): Replace call to
5287 fprint_symbol with call to new fprintf_symbol_filtered.
bd5d07d9 5288
f77ad505
FF
5289Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
5290
0b96ed06
FF
5291 * Makefile.in (VERSION): Bump version to 4.8.2.
5292
f77ad505
FF
5293 * main.c (source_command): Require an explicit pathname of file
5294 to source, since previous behavior of defaulting to gdb init file
5295 was troublesome and undocumented.
5296 * printcmd.c (disassemble_command): Add missing '{}' pair to
5297 else with two statements. Bug reported by Stephane Tsacas
5298 <slt@isoft.fr>.
5299 * symtab.c (find_pc_line): Don't complain about zero length or
5300 negative length line numbers for the moment, since we may not own
5301 the terminal when called, such as when single stepping. (FIXME)
5302 * language.h (CAST_IS_CONVERSION): True if current language is
5303 C++ as well as C. Fix from Peter Schauer.
5304 * environ.c (get_in_environ, set_in_environ, unset_in_environ):
5305 Use STREQN macro rather than bare '!strncmp()'.
5306 * environ.c (unset_in_environ): Avoid use of memcpy on
5307 overlapping memory regions, as suggested by Paul Eggert
5308 <eggert@twinsun.com>.
5309 * c-exp.y (%union struct): Remove unused ulval as suggested
5310 by Paul Eggert <eggert@twinsun.com>.
5311
5312Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
5313
5314 * main.c (gdbinit): Make static.
5315 * main.c (inhibit_gdbinit): Move to file scope.
5316 * main.c (main): Remove local inhibit_gdbinit.
5317 * main.c (source_command): Don't source '.gdbinit' file by
5318 default if gdb has been told to ignore it.
5319
aecc5459
ILT
5320Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
5321
5322 * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
5323 3.63.
5324
19327ea5
JG
5325Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
5326
aecc5459
ILT
5327 * printcmd.c (print_address_symbolic): Only print if offset
5328 is shorter than max_symbolic_offset.
5329 (initialize_printcmd): `set print max-symbolic-offset'.
5330
946f014b
JG
5331 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
5332 (examine_tag): Use it.
5333 (read_register_stack): Only look in the local registers for a
5334 memory address if it's between rfb and rsp; go to memory otherwise.
5335 (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
19327ea5
JG
5336 (reginv_com): Remove ancient kludge command.
5337
81029114
RP
5338Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5339
24365af9
RP
5340 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
5341 irix4 will again compile.
5342
5870d848
RP
5343 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
5344
81029114
RP
5345 * configure.in: accept mips-sgi-irix4* for irix4.
5346
5347Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
5348
5349 * z8k-tdep.c (print_register_hook): Lint.
5350
4966c17c
JG
5351Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
5352
5353 Lint fixes from Paul Eggert (eggert@twinsun.com):
5354
5355 * command.c (do_setshow_command): var_uintegers are unsigned.
5356 * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
5357 unsigned, since they use hex values with the high bit set.
5358
83386662
FF
5359Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
5360
2456bacb
FF
5361 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
5362 * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
5363 access symbol name.
e5bb7e61 5364 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
2456bacb 5365 macro definitions in parenthesis.
e5bb7e61 5366
83386662
FF
5367 * dbxread.c (dbx_symfile_init): Catch the case where there is
5368 no string table, but the only way we find out is by reading zero
5369 bytes from EOF.
5370
69a272c4
FF
5371Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
5372
5373 * dbxread.c (dbx_symfile_init): Make size of the string table
5374 size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
5375 offset to the string table is nonzero and handle the nonexistant
5376 string table case, should it occur. Ensure that the string table
5377 size read from the file is reasonable, with a minimum lower bound
5378 of DBX_STRINGTAB_SIZE_SIZE instead of zero.
5379
b010e283
ILT
5380Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
5381
5382 * Makefile.in: Changes to build testsuite correctly.
5383 (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
5384 (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
5385 (TARGET_FLAGS_TO_PASS): New variable.
5386 (SUBDIRS): Added testsuite.
5387 (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
5388 testsuite is compiled with CC_FOR_TARGET rather than CC.
5389
45364c8a
FF
5390Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
5391
6985bc54
FF
5392 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
5393 reported by mycroft@gnu.ai.mit.edu.
5394
5395 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
5396 * configure.in (vax-*-ultrix2*): New triplet.
5397 * config/vaxult2.mh: New file.
5398 * xm-vaxult2.h: New file.
5399
45364c8a
FF
5400 * c-exp.y (parse_number): Change high_bit to unsigned.
5401 * demangle.c: Change all references to cfront to ARM, since the
5402 actual algorithm is the one specified in the Annotated Reference
5403 Manual. This was confusing users into thinking that full cfront
5404 support was implemented.
5405 * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
5406 * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
5407 directly to lookup_struct_elt_type, which will do the
5408 dereferencing itself.
5409 * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
5410 NULL dereferencing bug for unnamed structs, comment out
5411 questionable code.
5412
fefe2ed9
JG
5413Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
5414
1d9449ab
JG
5415 * coffread.c (process_coff_symbol): Change PCC argument correction
5416 so that it only happens on big-endian targets; so that it only
5417 happens if the short or char argument is aligned on an int
5418 boundary; and so that it changes the location, rather than the
5419 type, of the argument. These changes tend to parallel similar
5420 (old) changes in stabsread.c.
5421
5422 * coffread.c (coff_read_enum_type): Use the specified size for
5423 enums, don't assume that they are int-sized.
5424
5425 * c-valprint.c (c_val_print): Don't assume enums are the same as
5426 ints.
5427
fefe2ed9
JG
5428 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
5429 Rendell, <michael@mercury.cs.mun.ca>.
5430
58a66e24
FF
5431Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
5432
5433 * language.h (local_decimal_format_custom): Add prototype.
5434 * language.c (local_decimal_format_custom): Add function, bug
5435 reported by Robert R. Henry (rrh@tera.com).
5436
9116f7c7
JG
5437Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
5438
5439 * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
5440 by Josef Leherbauer, joe@takeFive.co.at.
5441
5442Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
5443
5444 * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
5445 tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
5446 tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
5447 tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
5448 tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
5449 tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
5450 tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
5451 tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
5452
8fbdca53
FF
5453Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
5454
f31e2e7a
FF
5455 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
5456 of demangled name fields to NULL if no demangling exists for
5457 a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
5458 symbols if their language is known at the time they are created,
5459 but sometimes the language is not known until later.
5460
8fbdca53
FF
5461 * ch-typeprint.c (chill_print_type_base): Name changed to
5462 chill_type_print_base to match pattern for C and C++ names.
5463 * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
5464 to be consistent with other usages.
5465 * ch-typeprint.c (chill_type_print_base): Add support for
5466 printing Chill STRUCT types.
5467 * ch-valprint.c: Include values.h.
5468 * ch-valprint.c (chill_print_value_fields): New function and
5469 prototype for printing Chill STRUCT values.
5470 * ch-valprint.c (chill_val_print): Fix call to val_print_string
5471 that was being called with two args instead of three.
5472 * ch-valprint.c (chill_val_print): Call chill_print_value_fields
5473 to print Chill STRUCT values.
8fbdca53 5474
b12529c1
MW
5475Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
5476
5477 * configure.in: added testsuite to configdirs.
5478
c2dc518b
MS
5479Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com)
5480
5481 * doc/stabs.texi: The `this' pointer is now known by the name
5482 `this' instead of `$t'.
5483
b6236d6e
FF
5484Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
5485
bb6e8fe6
FF
5486 * dwarfread.c (read_tag_string_type): Rewrite to allow forward
5487 references of TAG_string_type DIEs in user defined types.
b6236d6e
FF
5488 * ch-lang.c (chill_create_fundamental_type): Track compiler
5489 change that now emits debugging info with the type long for Chill
5490 longs.
b6236d6e 5491
c2a0f1cb
ILT
5492Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
5493
5494 * remote-mips.c: New file; implements MIPS remote debugging
5495 protocol.
5496 * config/idt.mt: New file; uses remote-mips.c
5497 * configure.in (mips-idt-ecoff): New target; uses idt.mt.
5498
5499 * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
5500 floating point coprocessor.
5501 (mips_push_dummy_frame): If not mips_fpu, don't save floating
5502 point registers.
5503 (mips_pop_frame): If not mips_fpu, don't restore floating point
5504 registers.
5505 (_initialize_mips_tdep): New function; let the user reset mips_fpu
5506 variable.
5507 * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
5508 mips_fpu, don't use fp0 as floating point return register.
5509 (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
5510 registers.
5511
bf3d2b75
MW
5512Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5513
5514 * gdb/testsuite: made modifications to testcases, etc., to allow
5515 them to work properly given the reorganization of deja-gnu and the
5516 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5517
19fa4a0a
MW
5518Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5519
5520 * gdb/testsuite: Initial creation of gdb/testsuite.
5521 Migrated dejagnu testcases and support files for testing nm to
5522 gdb/testsuite from deja-gnu. These files were moved "as is"
5523 with no modifications. This migration is part of a major overhaul
5524 of dejagnu. The modifications to these testcases, etc., which
5525 will allow them to work with the new version of dejagnu will be
5526 made in a future update.
5527
cb46c402
JG
5528Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
5529
5530 * NEWS: Add reminders for next release.
5531
254dec35
ILT
5532Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
5533
5534 * mipsread.c (parse_lines): Correct check for files compiled with
5535 -g1.
5536
dba02c60
JG
5537Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
5538
5539 * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
5540
c7cb1025 5541Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
ead97959
JG
5542
5543 * Makefile.in (VERSION): GDB-4.8 release!
dba02c60 5544 * README, NEWS: Update for release.
ead97959 5545
b9163d1a
SG
5546Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
5547
5548 * am29k-pinsn.c (print_insn): Minor nits with const.
5549 * am29k-tdep.c: More minor nits with arg types for
5550 supply_register, NULL vs. 0, read_register_gen, & reginv_com.
5551
5e3d0ab0
JG
5552Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
5553
5554 * gcc.patch: Update for a different GCC (G++) bug.
5555 * main.c (print_gdb_version): Update copyright year to 1993.
5556 * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
5557 conditionalize this file on it. FIXME, right way is to split
5558 these into two config files.
5559 (ATTACH_DETACH): Define for BSD 4.4
5560 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
5561 (U_REGS_OFFSET): Revise for 4.4.
5562 (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
5563 * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
5564 LONG_MAX into this file to avoid cpp "redefinition" warnings.
5565
add04f8b
RP
5566Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5567
5568 * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
5569 caddr_t.
5570
c5c00171
JG
5571Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
5572
961ccde6
JG
5573 * c-lang.c (c_printstr): Bugfix for length==0 case.
5574
c5c00171
JG
5575 * c-lang.c (c_printstr): If a C string ends in a null, don't
5576 print the null.
5577
eece984d
SG
5578Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
5579
5580 * defs.h (STRCMP): Make it work for unsigned chars.
5581
ec4bf6a0
JG
5582Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
5583
5584 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
5585 * config/hp300bsd.mh (REGEX, REGEX1): Define.
36b1d528 5586 * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
ec4bf6a0
JG
5587 define to kludge the large opcode table into two smaller tables,
5588 since GCC take exponential space to build the table. Lint.
5589 (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
5590
0ae975ea
JG
5591Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
5592
be220da1
JG
5593 * Makefile.in (VERSION): Roll to 4.7.9.
5594 * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
5595 definition here, to handle both BSD 4.3 and 4.4 systems.
5824e607
JG
5596 * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
5597 * remote.c (alarm): Move declaration to global level, before
5598 first reference to it.
5599 * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
0ae975ea
JG
5600 * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
5601
8631194d
RP
5602Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
5603
fce7f2d9
RP
5604 * remote.c (readchar): forward declare alarm which otherwise looks
5605 like an undeclared variable to gcc.
5606
040b9597
RP
5607 * dbxread.c (process_one_symbol): cast enum value N_SO into int
5608 when comparing against an int. Avoids superfluous warning from
5609 vax ultrix 4.2 cc.
5610
9549404e
RP
5611 * inflow.c (set_sigint_trap): add cast to assignment from signal.
5612 Avoids superfluous warnings from some systems and/or compilers
5613 (like vax ultrix 4.2.)
5614
8631194d
RP
5615 * language.c (struct op_print unk_op_print_tab): use the enum
5616 values rather naked zeros as initializers. Avoids warnings from
5617 ultrix type compilers.
5618
f4ed8840
JG
5619Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
5620
5621 * Makefile.in (VERSION): Roll to 4.7.6.
5622 (SFILES_SUBDIR): Add 29k-share/udi_soc.
5623 (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
62e859f0
JG
5624 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
5625 (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
f4ed8840
JG
5626 (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
5627 (depend): Fix bug where nm-files in config files weren't noticed.
5628 (make-proto-gdb-1): Avoid changing directories while building new
5629 prototype. Build SFILES_SUBSUBDIR with longer symlinks.
5630
7c622b41
JG
5631Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
5632
5633 * remote.c: Improve error recovery. Allow user to break out
5634 of initial connection attempt with INTERRUPT. Treat a timeout
5635 while waiting for remote packet like a retry, unless the remote
5636 side is actively running user code. Fix a few long printf_filtered's.
5637
5638 * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
5639 trampoline symbols.
5640
5641 * buildsym.c (start_subfile): Allow null file name.
5642
e9916390
RP
5643Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
5644
5645 * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
5646 expects a pointer to complaint rather than a complaint
5647 structure.
6d4ea3a5
RP
5648 (process_linenos): free the previously allocated subfile name,
5649 then allocate the new one from the heap.
e9916390 5650
256b4f37
SC
5651Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5652
5653 * h8300-tdep.c, tm-h8300.h: turn off some experimental features
5654
e5eeaaf8
JG
5655Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
5656
256b4f37
SC
5657 * stabsread.c (dbx_lookup_type): Handle negative type numbers.
5658 Previously, would bogusly index off the bottom of type_vector.
5659 (rs6000_builtin_type): Accept type number as argument.
5660 (read_type, case '-'): Handle negatives like any other type number.
5661
5662 * symfile.c (deduce_language_from_filename): Handle null name.
5663
015605c5
JG
5664 * mips-tdep.c (isa_NAN): Fix byte order dependency.
5665 Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
5666 fixed by sato@sm.sony.co.jp.
5667
e5eeaaf8
JG
5668 * xcoffread.c (parmsym): Don't use an initializer to set up
5669 this struct symbol. Set it up in initialize_xcoffread.
5670 (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
5671 works on real rs/6000 target with #ifndef FAKING_RS6000.
5672
dd469789
JG
5673Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
5674
5675 * stabsread.c (rs6000_builtin_type): Move function from
5676 xcoffread.c:builtin_type.
5677 * xcoffread.c (builtin_type): Move to stabsread. Remove
5678 IBM6000_HOST dependency. Move misplaced comments.
5679 (various): Change printf's to complaints.
5680 (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
5681 objfile argument to read_type calls under #if 0.
5682 (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
5683 * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
5684 * Makefile.in: xcoffread.o is not built by default.
364c1151 5685 * xm-rs6000.h (IBM6000_HOST): Remove.
dd469789
JG
5686 * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
5687 * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
5688 IBM6000_TARGET.
5689
733a94e8
SG
5690Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
5691
5692 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
5693 VALUE_LVAL to be lval_memory so that we don't try to modify wild
5694 register numbers when user tries to modify elements in structs
5695 passed as arguments.
5696 * inflow.c (child_terminal_info): Move banner outside of system
5697 specific #ifdefs.
5698 * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
5699 passes struct/union arguments by address.
5700
5701Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
5702
14b1f0d9 5703 * Based on patch from Kean Johnston <maw@netcom.com>:
733a94e8
SG
5704 * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
5705 ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
5706 * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
5707
79533adf
JG
5708Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
5709
5710 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
5711 fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
5712
2368ffb6
ILT
5713Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
5714
5715 * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
5716 cc debugging output.
5717
2a021f21
JG
5718Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
5719
5720 * stabsread.c (define_symbol): Complain about unrecognized names
5721 that begin with CPLUS_MARKER (often '$'), but don't die. Fix
5722 suggested by gb@cs.purdue.edu (Gerald Baumgartner).
5723 (read_cpp_abbrev): Don't use the class name as part of the
5724 vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
5725 abbrevs. Inspired by Mike Tiemann.
5726 (read_tilde_fields): Comment. Remove ancient dead code.
5727 Remove erroneous but non-dead code. Simplify. Add complaints.
5728 (in general): Remove extraneous (parentheses) in return
5729 statements.
5730
c653bc6d
JG
5731Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
5732
931bf12a
JG
5733 * coffread.c (coff_lookup_type): Fix fencepost error reported
5734 by Art Berggreen, <arg@opal.acc.com>.
5735
c653bc6d 5736 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
931bf12a 5737 <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
c653bc6d
JG
5738
5739 * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
5740 test, which is apparently left over from when we used native
5741 include files and couldn't depend on the member names being there.
5742 * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
5743
5744Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
5745
5746 * mipsread.c: Major overhaul to use new BFD symbol table reading
5747 routines. Now swaps information as it is needed, rather than
5748 swapping everything when the file is read.
5749
b076f024
JG
5750Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
5751
5752 * Makefile.in (TARDIRS): Add sparclite demo dir.
5753 (*.tab.c): Change dependency on Makefile to depend on
5754 Makefile.in, otherwise it always rebuilds after configuring.
5755 Force output *.tab.c file into current directory even in "make"
5756 versions that rewrite dependent file names used in command lines.
5757
5758 * TODO: Remove some things we did.
5759 * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
5760 * os68k-xdep.c: Remove; useless file (os68k is a target only).
5761 * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
5762 * symtab.h: Eliminate unnamed unions and structs.
5763
ad89bdfd
JG
5764Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
5765
5766 * Makefile.in (VERSION): Roll to 4.7.5.
ad89bdfd 5767
ca5a72cd
JG
5768Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
5769
5770 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
5771 re-evaluating symbol pointers.
5772
9da75ad3
FF
5773Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
5774
5775 * c-exp.y (lcurly, rcurly): New nonterminals.
5776 * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
5777 constructs.
5778 * parse.c (free_funcalls): Moved prototype from parser-defs.h,
5779 made function static.
5780 * parse.c (struct funcall): Moved struct def from parser-defs.h.
5781 * parse.c (funcall_chain): Moved from parser-defs.h, made static.
5782 * parse.c (start_arglist):
5783 * parser-defs.h (free_funcalls): Moved prototype to parse.c.
5784 * parser-defs.h (struct funcall): Moved struct def to parse.c.
5785 * parser-defs.h (funcall_chain): Moved to parse.c.
5786 * printcmd.c (print_frame_nameless_args): Fix prototype.
5787 * tm-mips.h (setup_arbitrary_frame): Fix prototype.
5788 * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
5789 * valops.c (typecmp): Moved prototype from values.h.
5790 * value.h (typecmp): Moved prototype to valops.c, made static.
9da75ad3 5791 * ch-exp.y (yylex): Change way control sequences are disabled.
9da75ad3 5792
58bcc08c
JG
5793Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
5794
5795 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
5796
fee754c9
ILT
5797Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
5798
5799 * mipsread.c (upgrade_type): Build array types correctly, using
5800 create_range_type and create_array_type.
5801
7dc15bb7
JG
5802Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
5803
58bcc08c
JG
5804 * remote-nindy.c: Cleanup.
5805
1b6a2087
JG
5806 * infrun.c (wait_for_inferior): When rolling back the PC after
5807 a breakpoint, call write_pc so that NPC gets rolled back as well
5808 (for the 29K).
5809
d122f257
JG
5810 * blockframe.c (inside_entry_file, inside_main_func,
5811 inside_entry_func): PC of zero is always "bottom of stack".
5812
7dc15bb7
JG
5813 * printcmd.c (print_frame_args, print_frame_nameless_args):
5814 Let print_frame_nameless_args decide whether there are any,
5815 laying groundwork for possibly later printing 29K args for
5816 functions where we have tag words but no symbols.
5817
2b21d8aa
RP
5818Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
5819
5820 * Makefile.in: fix GDB doc targets for new doc subdir structure
5821
07c2fa3e
JG
5822Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
5823
5824 * stack.c (parse_frame_specification): Parse as many arguments
5825 as there are (up to MAXARGS). Pass all of them in argc, argv
5826 format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
5827 many there were, onto SETUP_ARBITRARY_FRAME.
5828 * tm-mips.h, tm-sparc.h: Corresponding changes.
5829 * mips-tdep.c, sparc-tdep.c: Ditto.
5830
6edd74ae
JG
5831Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
5832
5833 * hp300ux-nat.c: Update copyrights.
5834 * mipsread.c (parse_partial_symbols): Complain about block
5835 indexes that go backwards. Fix from Peter Schauer.
5836 * symfile.c (syms_from_objfile, symbol_file_add): Allow a
5837 symbol-file that has no linkage symbols to be read.
5838 * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
5839 from tm- file to xm-file, since they're host dependent.
5840 * valarith.c (value_binop): Typo.
797bc12b 5841
6edd74ae 5842Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
797bc12b
SG
5843
5844 * sparclite/aload.c: Add copyleft.
5845 * sparclite/crt0.s: Add comment at beginning.
5846
2431d063
SC
5847Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5848
5849 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
5850 * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
5851
d112a0c6
MT
5852Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
5853
7cb0f870
MT
5854 * values.c (value_headof): Fix typo in which VTBL and ARG were
5855 being confused for one another.
5856
a163ddec
MT
5857 * valops.c (typecmp): Now static.
5858
edf67bd1
MT
5859 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
5860 baseclass--we don't always inherit its virtual function table
5861 pointer.
5862
271e5030
MT
5863 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
5864 pointer correctly in case value_struct_elt moves it around.
5865
5866 * valops.c (typecmp): Now static. Also, now groks references
5867 better.
5868
d112a0c6 5869 * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
271e5030 5870 zero on recursive call. If NAME is the name of TYPE, return TYPE.
d112a0c6 5871
3d9b9577
JG
5872Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
5873
ec68a93f
JG
5874 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
5875 to avoid "too much defining" error from native C compiler (!).
5876
3d9b9577
JG
5877 * Makefile.in (HFILES): Add typeprint.h.
5878 * typeprint.[ch]: Update copyrights.
5879
926d7800
JG
5880Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
5881
bdec39b3
JG
5882 * Makefile.in: Update to match doc/ subdir changes.
5883
92063c3e 5884 * config/hp300hpux.mh: No cross-host file needed, just native.
71e60679
JG
5885 * config/go32.mh: Remove nonexistent "native" support.
5886
2a770cac
JG
5887 M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
5888 * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
5889 * m88k-tdep.c (next_insn): Lint, cleanup.
5890 (store_parm_word): Lint.
5891
926d7800
JG
5892 * README: Fix typo (reported by karl@hq.ileaf.com).
5893
2fcc38b8
FF
5894Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
5895
5896 * expression.h (BINOP_CONCAT): Document use for self concatenation
5897 an integral number of times.
5898 * language.c (binop_type_check): Extend BINOP_CONCAT for self
5899 concatenation case.
5900 * valarith.c (value_concat): Rewrite to support self
5901 concatenation an integral number of times.
2fcc38b8
FF
5902 * Makefile.in (ch-exp.tab.c): Change "expect" message.
5903 * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
5904 eliminate hundreds of spurious shift/reduce and reduce/reduce
5905 conflicts that mask the 5 real ones.
5906 * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
5907 * ch-exp.y (integer_literal_expression): Remove production,
5908 no longer used.
2fcc38b8
FF
5909
5910Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
5911
5912 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
5913 implied that "no side effects" was nonfunctional.
5914 * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
5915 character string and bitstring concatenation.
5916 * expprint.c (dump_expression): Add case for BINOP_CONCAT.
5917 * expression.h (exp_opcode): Add BINOP_CONCAT.
5918 * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
5919 * language.c (string_type): Add function to determine if a type
5920 is a string type.
5921 * language.c (binop_type_check): Add case for BINOP_CONCAT.
5922 * valarith.c (value_concat): New function to concatenate two
5923 values, such as character strings or bitstrings.
5924 * valops.c (value_string): Remove error stub and implement
5925 function body.
5926 * value.h (value_concat): Add prototype.
2fcc38b8
FF
5927 * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
5928 * ch-exp.y (yylex): Recognize SLASH_SLASH.
5929 * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
5930 BINOP_CONCAT.
2fcc38b8
FF
5931
5932Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
5933
5934 * c-exp.y (exp): Add production to support direct creation
5935 of array constants using the obvious syntax.
5936 * c-valprint.c (c_val_print): Set printed string length.
5937 * dwarfread.c (read_tag_string_type): New prototype and
5938 function that handles TAG_string_type DIEs.
5939 * dwarfread.c (process_dies): Add case for TAG_string_type
5940 that calls new read_tag_string_type function.
5941 * expprint.c (print_subexp): Add support for OP_ARRAY.
5942 * gdbtypes.c (create_range_type, create_array_type): Inherit
5943 objfile from the index type.
2fcc38b8
FF
5944 * ch-typeprint.c (chill_print_type): Add case for
5945 TYPE_CODE_STRING.
5946 * ch-valprint.c (chill_val_print): Fix case for
5947 TYPE_CODE_STRING.
2fcc38b8 5948
201c1243
ILT
5949Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
5950
5951 * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
5952 MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
5953 include/coff/mips.h.
5954
c4413e2c
FF
5955Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
5956
5957 * c-exp.y (exp:STRING): Convert C strings into array-of-char
5958 constants with an explicit null byte terminator. OP_STRING is
5959 now used for real string types.
5960 * c-lang.c (builtin_type_*): Move declarations to lang.c since
5961 they are used by all languages.
5962 * c-lang.c (_initialize_c_language): Move initializations of
5963 builtin_type_* to lang.c.
5964 * c-typeprint.c (c_type_print_varspec_prefix,
5965 c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
5966 to TYPE_CODE_STRING.
5967 * c-valprint.c (c_val_print): Change the way character arrays
5968 are printed as strings to be consistent with the way strings
5969 are printed when pointer-to-char types are dereferenced.
5970 Remove test of print_max before calling val_print_string, which
5971 now does it's own test.
5972 * eval.c (evaluate_subexp): Add case for OP_ARRAY.
5973 * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
5974 * expression.h (enum exp_opcode): Add OP_ARRAY and document.
5975 * gdbtypes.c (builtin_type_*): Add declarations moved from
5976 c-lang.c.
5977 * gdbtypes.c (create_string_type): New function to create real
5978 string types.
5979 * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
5980 renamed to TYPE_CODE_STRING.
5981 * gdbtypes.c (_initialize_gdbtypes): Add initializations of
5982 builtin_type_* types moved from c-lang.c.
5983 * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
5984 to TYPE_CODE_STRING.
5985 * gdbtypes.h (builtin_type_string): Add extern declaration.
5986 * gdbtypes.h (create_string_type): Add prototype.
5987 * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
5988 renamed to TYPE_CODE_STRING.
5989 * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
5990 TYPE_CODE_STRING.
5991 * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
5992 renamed to TYPE_CODE_STRING.
5993 * parse.c (length_of_subexp, prefixify_subexp): Add case for
5994 OP_ARRAY.
5995 * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
5996 * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
5997 to TYPE_CODE_STRING.
5998 * valops.c (allocate_space_in_inferior): New function and
5999 prototype, using code ripped out of value_string.
6000 * valops.c (value_string): Rewritten to use new function
6001 allocate_space_in_inferior, but temporarily disabled until some
6002 other support is in place.
6003 * valops.c (value_array): New function to create array constants.
6004 * valprint.c (val_print_string): Add comment to document use,
6005 complete rewrite to fix several small buglets.
6006 * value.h (value_array): Add prototype.
6007 * value.h (val_print_string): Change prototype to match rewrite.
c4413e2c
FF
6008 * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
6009 * ch-exp.y (match_character_literal): Disable recognition of
6010 control sequence form of character literals and document why.
c4413e2c 6011
6d1e8f54
SG
6012Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
6013
6014 * nindy-share/nindy.c: Add comments to #endif's to clarify
6015 grouping.
6016
6017 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
6018 read_memory to get byte order right.
6019 * hppah-tdep.c (find_unwind_info): Don't read in unwind info
6020 anymore. This is done in paread.c now. We expect unwind info
6021 to hang off of objfiles, and search all of the objfiles when until
6022 we find a match.
6023 * (skip_trampoline_code): Cast arg to target_read_memory.
6024 * objfiles.h (struct objfile): Add new field obj_private to hold
6025 per object file private data (unwind info in this case).
6026 * paread.c (read_unwind_info): New routine to read unwind info
6027 for the objfile. This data is hung off of obj_private.
6028 * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
6029 the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
6030 make this easier to access.
6031
c7da3ed3
FF
6032Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
6033
6034 * c-valprint.c (cp_print_class_member): Add extern decl.
6035 * c-valprint.c (c_val_print): Extract code for printing methods
6036 and move it to cp_print_class_method in cp-valprint.c.
6037 * c-valprint.c (c_val_print): Extract code to print strings and
6038 move it to val_print_string in valprint.c.
6039 * cp-valprint.c (cp_print_class_method): New function using
6040 code extracted from c_val_print.
6041 * valprint.c (val_print_string): New function using code
6042 extracted from c_val_print.
6043 * value.h (val_print_string): Add prototype.
c7da3ed3
FF
6044 * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
6045 * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
6046 * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
6047 CHECKBUF, growbuf_by_size): New variables, macros, and support
6048 functions for implementing a dynamically expandable temp buffer.
6049 * ch-exp.y (match_string_literal): New lexer function.
6050 * ch-exp.y (match_bitstring_literal): Dynamic buffer code
6051 removed and replaced with new CHECKBUF macro.
6052 * ch-exp.y (yylex): Call match_string_literal when appropriate.
6053 * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
c7da3ed3 6054
0213d96f
SG
6055Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
6056
78205fb6
SG
6057 * Makefile.in: Add info for paread.o.
6058 * config/hppahpux.mh: Add paread.o to NATDEPFILES.
6059
0213d96f
SG
6060 * blockframe.c (frameless_look_for_prologue): Correct the
6061 comment.
6062 * gdbtypes.h, gdbtypes.c: Use const in decl of
6063 cplus_struct_default, now that pa-gas assembler has been fixed.
6064 * hppah-nat.c: Formatting.
6065 * hppah-tdep.c: Remove lots of useless externs for variables we
6066 don't use.
6067 * (find_unwind_entry): Speed up by using binary search, and a one
6068 entry cache.
6069 * (rp_saved): New routine to see what unwind info says about RP
6070 being saved on the stack frame.
6071 * (frame_saved_pc): Look for prologue to see if we need to
6072 examine the stack for the saved RP or not.
6073 * (init_extra_frame_info): Check for prologue, instead of
6074 framesize to determine if we are frameless or not.
6075 * (frame_chain_valid): Stop backtraces when we run into _start.
6076 * (push_dummy_frame): Reformat to make more readable.
6077 * (find_dummy_frame_regs): ditto.
6078 * (hp_pop_frame): ditto.
6079 * (hp_restore_pc_queue): small cleanup.
6080 * (hp_push_arguments): ditto.
6081 * (pa_do_registers_info): ditto.
6082 * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
6083 * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
6084 * Define FRAME_CHAIN_VALID.
6085 * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
6086 passed to functions.
6087
6088 * paread.c (pa_symtab_read): Use new bfd conventions for
6089 accessing linker symbol table.
6090 * (pa_symfile_init): Access embedded STAB info via BFD section
6091 mechanism and related macros.
6092
6093
bfc55a5d
SG
6094Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
6095
6096 * sparc-stub.c: Use a seperate stack for our traps.
6097 * Handle recursive traps.
6098 * Remove all trap init code. This needs to be done by the
6099 environment.
6100 * (set_mem_fault_trap): Call exceptionHandler() to setup this
6101 trap.
6102 * (handle_exception): See if we are at breakinst, if so, then
6103 advance PC sp that users can just step out of breakpoint().
6104 * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
6105 new place if SP has changed.
6106 * (case 's'): Get rid of this, we can't do it yet.
6107 * (case 't'): New command to test any old random feature.
6108 * (case 'r'): New command to reset the system.
6109 * (breakpoint): Add label to breakpoint trap instruction so that
6110 handle_exception() can detect where we are and get past the
6111 breakpoint trivially.
6112
f92743ae
ILT
6113Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
6114
6115 * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
6116
bfc55a5d
SG
6117Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6118
6119 * configure.in: recognise all sparclite variants
6120
f92743ae
ILT
6121Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6122
6123 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
6124 binary files oring in the right bit.
6125
6126 * main.c, source.c, state.c, symmisc.c: use macros defined in
6127 fopen-{bin|both} when fopening files.
6128
81028ab0
FF
6129Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
6130
6131 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
6132 from a configuration file (typically including <limits.h>), or to
6133 TARGET_CHAR_BIT if CHAR_BIT is not defined.
6134 * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
6135 * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
6136 * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
6137 * exppritn.c (print_subexp, dump_expression): Add case for
6138 OP_BITSTRING.
6139 * expression.h (OP_BITSTRING): New expression element type for
6140 packed bitstrings.
6141 * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
6142 macros to convert between number of expression elements and bytes
6143 to store that many elements.
6144 * i960-tdep.c (leafproc_return): Use new macros to access
6145 minimal symbol name and address fields.
6146 * m88k-pinsn.c (sprint_address): Use new macros to access
6147 minimal symbol name and address fields.
6148 * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
6149 minimal symbol address field.
6150 * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
6151 parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
6152 * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
6153 Use new BYTES_TO_EXP_ELEM macro.
6154 * parse.c (write_exp_bitstring): New function to write packed
6155 bitstrings into the expression element vector.
6156 * parse.c (length_of_subexp, prefixify_subexp): Add case for
6157 OP_BITSTRING.
6158 * parser-defs.h (struct stoken): Document that it is used for
6159 OP_BITSTRING as well as OP_STRING.
6160 * parser-defs.h (write_exp_bitstring): Add prototype.
81028ab0
FF
6161 * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
6162 * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
6163 LOWER, LENGTH): New tokens for keywords.
6164 * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
6165 upper_lower_argument, length_argument, array_mode_name,
6166 string_mode_name, variant_structure_mode_name): New non-terminals
6167 and productions.
6168 * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
6169 * ch-exp.y (match_bitstring_literal): New lexer support function
6170 to recognize bitstring literals.
6171 * ch-exp.y (tokentab6): New token table for 6 character keywords.
6172 * ch-exp.y (tokentab5): Add LOWER, UPPER.
6173 * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
6174 * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
6175 * ch-exp.y (yylex): Check tokentab6.
6176 * ch-exp.y (yylex): Call match_bitstring_literal.
81028ab0 6177
76a0ffb4
FF
6178Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
6179
2eda1cdf
FF
6180 * xcoffexec.c (vmap_symtab): Use new macros to access minimal
6181 symbol name and value fields.
6182
533d1dc7
FF
6183 * c-exp.y (yylex): Make static, to match prototype and other
6184 <lang>-exp.y files.
6185
76a0ffb4
FF
6186 * expression.h (exp_opcode): Add BINOP_MOD.
6187 * eval.c (evaluate_subexp): Handle new BINOP_MOD.
6188 * expprint.c (dump_expression): Handle new BINOP_MOD.
6189 * language.c (binop_type_check): Handle new BINOP_MOD.
6190 * main.c (float_handler): Re-enable float handler when hit.
6191 * valarith.c (language.h): Include, need current_language.
6192 * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
6193 for integer divide truncates towards zero for negative results.
6194 * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
6195 * valarith.c (value_binop): Allow arithmetic operations on
6196 TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
76a0ffb4
FF
6197 * ch-exp.y (operand_4): Add useful actions for MOD and REM.
6198 * ch-exp.y (tokentab3): Add MOD and REM.
6199 * ch-exp.y (yylex): Set innermost_block for symbols found
6200 in local scopes. Return LOCATION_NAME for local symbols.
6201 * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
6202 BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
76a0ffb4 6203
f92743ae
ILT
6204Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
6205
6206 * command.c (shell_escape, make_command, _initialize_command):
6207 don't create or use fork if CANT_FORK is defined.
6208 * serial.h, ser-go32.c: now compiles, but "the obvious problems of
6209 code written for the IBM PC" remain.
6210 * xm-go32.h: define CANT_FORK
6211
ec25d19b
SC
6212Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6213
6214 * remote-sim.c: first attempt at general simulator interface
6215 * remote-hms.c: whitespace
6216 * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
6217 understand new stack layout. (print_register_hook): print ccr
6218 register in a fancy way.
6219
fb6e675f
FF
6220Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
6221
6222 * eval.c (language.h): Include.
6223 * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
6224 to pointer types when the current language is C. It loses for
6225 other languages when the lower index bound is nonzero.
6226 * valarith.c (value_subscript): Take array lower bounds into
6227 account when performing subscripting operations.
6228 * valops.c (value_coerce_array): Add comment describing why
6229 arrays with nonzero lower bounds are dealt with in value_subscript,
6230 rather than in value_coerce_array.
6231
54bbbfb4
FF
6232Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
6233
1188fbbf
FF
6234 * ch-exp.y (FLOAT_LITERAL): Add token.
6235 * ch-exp.y (literal): Add FLOAT_LITERAL.
6236 * ch-exp.y (match_float_literal): New lexer routine.
6237 * ch-exp.y (convert_float): Remove.
6238 * ch-exp.y (yylex): Call match_float_literal.
6239 * ch-exp.y (yylex): Match single '.' after trying
6240 to match floating point literals.
1188fbbf 6241
54bbbfb4
FF
6242 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
6243 * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
6244 MULTI_SUBSCRIPT.
6245 * expprint.c (dump_expression): New function for dumping
6246 expression vectors during gdb debugging.
6247 * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
6248 MULTI_SUBSCRIPT and moved out of BINOP range.
6249 * expression.h (DUMP_EXPRESSION): New macro that calls
6250 dump_expression if DEBUG_EXPRESSIONS is defined.
6251 * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
6252 * parse.c (length_of_subexp, prefixify_subexp): Change
6253 BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
6254 * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
6255 prefixify'ing the expression.
6256 * printcmd.c (print_command_1): Add comment.
54bbbfb4
FF
6257 * ch-exp.y (expression_list): Add useful actions.
6258 * ch-exp.y (value_array_element): Add useful actions.
6259 * ch-exp.y (array_primitive_value): Add production.
6260 * ch-exp.y (yylex): Recognize ',' as a token.
54bbbfb4 6261
ea81b10d
DZ
6262Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6263
6264 * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
6265 POSIXize the recursive makes (make [variable assignments] target{s})
6266
7532cf10
FF
6267Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
6268
6269 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
6270 * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
6271 CPLUS_MARKER for all SVR4 systems, so follow suit.
6272 * defs.h (strdup_demangled): Remove prototype.
6273 * dwarfread.c (enum_type, synthesize_typedef): Use new macro
6274 SYMBOL_INIT_LANGUAGE_SPECIFIC.
6275 * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
6276 * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
6277 prim_record_minimal_symbol_and_info): Use new macro
6278 SYMBOL_INIT_LANGUAGE_SPECIFIC.
6279 * minsyms.c (install_minimal_symbols): Use new macro
6280 SYMBOL_INIT_DEMANGLED_NAME.
6281 * stabsread.c (define_symbol): Use new macro
6282 SYMBOL_INIT_DEMANGLED_NAME.
6283 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
6284 Use new macro SYMBOL_INIT_DEMANGLED_NAME.
6285 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
6286 SYMBOL_INIT_DEMANGLED_NAME.
6287 * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
6288 SYMBOL_DEMANGLED_NAME now tests language itself.
6289 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
6290 now tests language itself.
6291 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
6292 what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
6293 mangled name member in the language dependent portion of a symbol.
6294 * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
6295 mangled name member appropriate for a symbol's language.
6296 * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
6297 SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
6298 SYMBOL_DEMANGLED_NAME now tests language itself.
6299 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
6300 initializes language dependent portion of symbol.
6301 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
6302 demangles and caches the demangled form of symbol names.
6303 * utils.c (fputs_demangled, fprint_symbol): Use current language
6304 to select an appropriate demangling algorithm.
6305 * utils.c (strdup_demangled): Remove, no longer used.
7532cf10
FF
6306 * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
6307 access the Chill mangled name member in the language dependent
6308 portion of a symbol.
6309 * ch-lang.c (chill_demangle): New function, simple demangler.
6310 * defs.h (chill_demangle): Add prototype.
6311 * symtab.h (language_dependent_info): Add struct for Chill.
7532cf10 6312
6e50aeb4 6313For older changes see ChangeLog-92
bd5635a1
RP
6314\f
6315Local Variables:
6316mode: indented-text
6317left-margin: 8
6318fill-column: 74
6319version-control: never
6320End:
This page took 0.549105 seconds and 4 git commands to generate.