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