This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / gdb / ChangeLog
1 1999-04-22  Jason Molenda  (jsm@bugshack.cygnus.com)
2
3         * README: Note that readline is not installed as a part of
4         make install.
5
6 Thu Apr 22 21:02:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
7
8         * value.h (get_saved_register): Cleanup prototype.
9         * findvar.c (default_get_saved_register): Rename function
10         get_saved_register.
11         (GET_SAVED_REGISTER): Define as default_get_saved_register when
12         undefined.
13         (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
14
15         * sparc-tdep.c (sparc_get_saved_register): Rename function
16         get_saved_register.
17         * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
18         * a29k-tdep.c (a29k_get_saved_register): Rename function
19         get_saved_register.
20         * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
21
22         * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
23         config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
24         config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
25         config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
26         Update macro GET_SAVED_REGISTER so that it calls
27         generic_get_saved_register.
28         * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
29         mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
30         function get_saved_register.
31
32 Thu Apr 22 11:07:21 1999  Andrew Cagney  <cagney@b1.cygnus.com>
33
34         * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
35         config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
36         config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
37         config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
38         config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
39         USE_GENERIC_DUMMY_FRAMES macro the value one.
40         * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
41         zero.
42
43         * blockframe.c (generic_find_dummy_frame,
44         generic_pc_in_call_dummy, generic_read_register_dummy,
45         generic_push_dummy_frame, generic_pop_current_frame,
46         generic_pop_dummy_frame, generic_frame_chain_valid,
47         generic_get_saved_register): Always define.
48
49         * breakpoint.c (frame_in_dummy): Convert #ifdef
50         USE_GENERIC_DUMMY_FRAMES to runtime test.
51
52         * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
53         push_arguments, frame_saved_pc, rs6000_frame_chain,
54         rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
55         runtime test.
56         (get_saved_register): Always define.
57
58 Wed Apr 21 14:45:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
59
60         * gdbarch.c (enum set_arch): Declare.
61         (set_arch): Add type parameter.  Only disable
62         ``target_architecture_auto'' when set_arch_manual.
63         (set_architecture, set_architecture_from_arch_mach,
64         set_architecture_from_file): Update.
65
66 Wed Apr 21 10:48:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
67
68         * frame.h (generic_pc_in_call_dummy):  Make signature consistent
69         with other pc_in_call_dummy functions by adding SP parameter.
70         * blockframe.c (generic_pc_in_call_dummy): Update.  Pass SP and
71         not FP to generic_find_dummy_frame().
72         * breakpoint.c (frame_in_dummy): Update.
73         * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
74         config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
75         config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
76         config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
77         config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
78
79 Tue Apr 20 12:15:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
80
81         * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
82         * gdbarch.h (GDB_TARGET_IS_D10V): To here.  Implement using
83         TARGET_ARCHITECTURE.
84         (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
85         definitions.
86
87         * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
88         runtime test.
89         (value_fetch_lazy): Ditto.
90         * values.c (unpack_long): Ditto.
91         * printcmd.c (print_frame_args): Ditto.
92
93 1999-04-15  Stan Shebs  <shebs@andros.cygnus.com>
94
95         * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
96         HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
97         at runtime instead of compile time.
98
99 1999-04-14  Philippe De Muyter  <phdm@macqel.be>
100
101         * breakpoint.c (maintenance_info_breakpoints): Function made
102         static to match previous prototype.
103
104         * coffread.c (coff_record_line): Static function removed.
105         (enter_linenos): Call `record_line' instead of `coff_record_line'.
106         (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
107         -related stuff removed.
108         (coff_symfile_read): Redundant statement removed.
109         (coff_symtab_read): `record_line' is now called with the first line
110         number of each function, given by the ".bf" symbol.  This solves
111         the line-number bug for one-line functions.
112
113 Wed Apr 14 11:09:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
114
115         * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
116         (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
117         BELIEVE_PCC_PROMOTION to if().
118
119 1999-04-13  Jason Molenda  (jsm@bugshack.cygnus.com)
120
121         * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
122         on a Solaris host (of any architecture).
123         * configure: Regenerated.
124
125 1999-04-13  Jason Molenda  (jsm@bugshack.cygnus.com)
126
127         * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
128         in monitor command strings, fix some formatting mistakes.
129
130 1999-04-13  Stan Shebs  <shebs@andros.cygnus.com>
131
132         * configure.tgt (arm-*-*): Whack another vestige of wingdb.
133
134 1999-04-12  James Ingham  <jingham@cygnus.com>
135
136         * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
137         stack pointer (stored in frame->framereg's register) BEFORE
138         reading it.  This was causing "return" to behave very oddly.
139
140 1999-04-12  Stan Shebs  <shebs@andros.cygnus.com>
141
142         * NEWS: Mention tic80.
143
144 1999-04-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
145
146         * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
147         * altos-xdep.c: Ditto.
148         * arm-xdep.c: Ditto.
149         * convex-xdep.c:  Ditto.
150         * cxux-nat.c: Ditto.
151         * hp300ux-nat.c: Ditto.
152         * hppab-nat.c: Ditto.
153         * i386aix-nat.c: Ditto.
154         * i386mach-nat.c: Ditto.
155         * m88k-nat.c: Ditto.
156         * ptx4-nat.c: Ditto.
157         * pyr-xdep.c: Ditto.
158         * rs6000-nat.c: Ditto.
159         * sun3-nat.c: Ditto.
160         * sun386-nat.c: Ditto.
161         * symm-nat.c: Ditto.
162         * umax-xdep.c: Ditto.
163         * i386v4-nat.c: Ditto. Also include inferior.h.
164         * m68k-tdep.c: Ditto. Also include inferior.h.
165
166 Mon Apr 12 15:57:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
167
168         * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
169         Provide default definitions.
170         * valops.c (hand_function_call): Replace #ifdef
171         CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
172
173 1999-04-09  Jim Blandy  <jimb@zwingli.cygnus.com>
174
175         * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
176         They're a pain.
177
178         * GDB 4.18 released.
179         * Makefile.in (VERSION): Bump to 4.18.1.
180
181 Thu Apr  8 16:04:34 1999  Andrew Cagney  <cagney@b1.cygnus.com>
182
183         * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
184         SIZEOF_CALL_DUMMY_WORDS): Define macros.
185         (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
186         fatal default.
187
188         * inferior.h, gdbarch.c (call_dummy_words,
189         sizeof_call_dummy_words): Declare/Define variables.
190         * valops.c (value_arg_coerce, find_function_addr,
191         call_function_by_hand): Always define.
192         (hand_function_call): Rename CALL_DUMMY version of
193         call_function_by_hand.  Make static.  Add prototype.
194         (hand_function_call): Update.  Allocate space for *dummy and
195         *dummy1 using alloca.
196         * breakpoint.c (frame_in_dummy): Update.
197
198 1999-04-08  Jason Molenda  (jsm@bugshack.cygnus.com)
199
200         * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE 
201         monitor, increase the end address by one byte.
202
203 1999-04-08  Jason Molenda  (jsm@bugshack.cygnus.com)
204
205         * dbug-rom.c (init_dbug_cmds): Fix strings in 
206         dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
207         commands to the monitor.
208
209 1999-04-08  Keith Seitz  <keiths@cygnus.com>
210
211         * m32r-stub.c (branchDestination): Undo overly ambitious
212         sed script's conversion of cast from "char" to "unsigned char".
213         Return offset should now be properly computed.
214
215 Thu Apr  8 14:13:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
216
217         * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
218         Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
219
220         * infcmd.c (breakpoint_auto_delete_contents): Always define.
221         (run_stack_dummy): Update.
222         * infrun.c (wait_for_inferior): Update
223
224 1999-04-07  Stan Shebs  <shebs@andros.cygnus.com>
225
226         * MAINTAINERS: Mark Alexander can no longer maintain
227         h8300 and other embedded targets, sniff.
228
229 1999-04-06  Stan Shebs  <shebs@andros.cygnus.com>
230
231         * inftarg.c (child_wait): Initialize execd_pathname.
232         * target.c (debug_to_has_execd): Handle NULL execd_pathname.
233
234         * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
235         this breaks rerunning on sun4 native.
236
237 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
238
239         * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
240         deprecated PTRACE_SUNATTACH compatibility commands.  The
241         definitions from <sys/ptrace.h> are fine.
242
243 1999-04-06  Martin Hunt  <hunt@cygnus.com>
244
245         * annotate.h: Declare annotate_signal_hook.
246
247         * annotate.c (annotate_signal): Add a call to 
248         annotate_signal_hook().
249
250 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
251
252         * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
253         we hit a DW_LNE_end_sequence instruction.
254
255         * README: Note that GDB requires an ANSI C compiler, and explain
256         how to get GCC.
257
258         * README: Update.
259
260 1999-04-05  Stan Shebs  <shebs@andros.cygnus.com>
261
262         * NEWS: Add more notes about user-visible changes.
263
264 Mon Apr  5 14:56:59 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
265
266         * target.c (target_signal_to_string): check for signal
267         number in range; otherwise if the target board returns
268         a bogus signal number we might core dump (per David Taylor).
269
270 1999-04-05  David Taylor  <taylor@ryobi.cygnus.com>
271
272         * utils.c (fputs_maybe_filtered): test value of
273         pagination_enabled before paginating.
274
275 1999-04-02  James Ingham  <jingham@cygnus.com>
276
277         * blockframe.c (get_prev_frame): Remove the redundant
278         get_prev_frame_info.  It is now exactly the same as
279         get_prev_frame, so there is no reason to have both functions.
280         
281         * rs6000-tdep.c (rs6000_init_extra_frame_info): 
282           frame.h: 
283           a29k-tdep.c (init_extra_frame_info): 
284           config/a29k/tm-a29k.h: 
285           i386-tdep.c:
286         Change all references to get_prev_frame_info to get_prev_frame.
287         
288 1999-04-02  Stan Shebs  <shebs@andros.cygnus.com>
289
290         * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
291         expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
292         gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
293         remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
294         symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
295         the unused MAINTENANCE_CMDS conditional.
296
297 1999-04-02  James Ingham  <jingham@cygnus.com>
298
299         * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
300         to call extract_address, not just cast the first 4 bytes, since
301         the result will be passed to value_at which expects host-byte
302         order. 
303
304         * arm-tdep.c (arm_scan_prologue): The prologue_start address was
305         directly &'ed with 0x03fffffc, rather than using
306         ADDR_BITS_REMOVE.  This would cause inferior function calls to
307         report the stack incorrectly on return.
308
309
310 1999-04-02  Keith Seitz  <keiths@cygnus.com>
311
312         * top.c (ui_loop_hook): Change declaration. Now returns an int.
313         * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
314         the ui_loop_hook if there was no debug event.
315         * top.c (ui_loop_hook): Change to return an int and include
316         on all non-Cygwin builds.
317         * v850ice.c: Change prototype of ui_loop_hook.
318         (v850ice_wait): Update call to ui_loop_hook.
319         * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
320         for non-Cygwin builds. Check return status of ui_loop_hook and
321         return a timeout if told to detach. Add more documentation.
322         * ser-tcp.c (tcp_readchar): Break up timeouts into one second
323         intervals and call ui_loop_hook so that other UIs can
324         keep up to date. If ui_loop_hook returns non-zero, then
325         return SERIAL_TIMEOUT to facilitate detaching from the
326         target.
327         * remote.c (remote_interrupted_already): Remove.
328         (remote_interrupt_twice): Revive.
329         (remote_interrupt): Call remote_stop to interrupt the target
330         and install remote_interrupt_twice to take more severe
331         actions if this fails.
332         (remote_stop): Only attempt to stop the target. This separates
333         the command line from other UIs.
334         * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
335         if it is defined.
336
337 1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
338
339         Fix for cross-debugging on an AIX host from Johanna Svenningsson:
340         * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
341         * ax.h (enum agent_op): Same.
342         * tracepoint.h (enum actionline_type): Same.
343         * config/xm-aix4.h: Add declaration for termdef.
344
345 1999-03-31  Stan Shebs  <shebs@andros.cygnus.com>
346
347         * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
348         decl in jv-lang.c.
349
350         * infrun.c (follow_inferior_fork): Add ifdefs around
351         SOLIB_REMOVE_INFERIOR_HOOK.
352
353 Wed Mar 31 11:39:49 1999  David Taylor  <taylor@ryobi.cygnus.com>
354
355         * valops.c (search_struct_field): revert HP merge change
356         to this function -- it causes messages to be printed about
357         member class ambiguity when the compiler is happy.
358         (search_struct_field_aux): delete -- added as part of HP merge
359         change; with aforementioned change it is no longer called.
360
361 1999-03-30  Stan Shebs  <shebs@andros.cygnus.com>
362
363         Make more HPUX-specific code generic.
364         * infrun.c: Include top.h.
365         (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
366         USE_THREAD_STEP_NEEDED): New native macros.
367         (may_switch_from_inferior_pid, may_follow_exec,
368         use_thread_step_needed): New globals.
369         (follow_inferior_fork): Remove HPUXHPPA ifdef.
370         (follow_exec): Ditto, also save run target and re-push instead of
371         always pushing child_ops, add ifdefs around SOLIB_RESTART and
372         SOLIB_CREATE_INFERIOR_HOOK.
373         (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
374         always use printf_filtered to report new threads.
375         (normal_stop): Ditto.
376         * target.h, target.c (find_run_target): New function.
377         * config/pa/nm-hppah.h: Define new macros.
378
379 1999-03-29  Stan Shebs  <shebs@andros.cygnus.com>
380
381         * top.h: Include setjmp.h here.
382         * main.c, top.c: Don't include it here.
383
384 1999-03-29  Keith Seitz  <keiths@cygnus.com>
385
386         * symtab.c (decode_line_1): Take out change which breaks symbols
387         which include class names and methods, e.g., "Foo::bar".
388
389 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
390
391         * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
392         Recognize both, as i[3456]86-*-sysv4.2*.
393         (i[3456]86-*-sysv5*): Recognize.
394
395         * infrun.c (wait_for_inferior): Remove most #if 0 segments.
396
397 Fri Mar 26 17:27:27 1999  Andrew Cagney  <cagney@b1.cygnus.com>
398
399         * blockframe.c (pc_in_call_dummy_on_stack): Fix.  Had copied code
400         from at_entry_point.
401
402 Thu Mar 25 19:30:02 1999  Andrew Cagney  <cagney@amy.cygnus.com>
403
404         * gdbarch.c: Include all headers.
405
406         * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
407         pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
408         pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
409         into functions.
410
411 Tue Mar 23 17:22:57 1999  Philippe De Muyter  <phdm@macqel.be>
412
413         * remote.c, parse.c: Include ctype.h.
414
415 1999-03-24  Stan Shebs  <shebs@andros.cygnus.com>
416
417         * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
418
419         Attempt to sort out SCO-related configs.
420         * configure.host (i[3456]86-*-sysv4.2*): Use instead of
421         i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
422         (i[3456]86-*-sysv5*): Recognize.
423         * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
424         Recognize.
425
426 Wed Mar 24 16:19:01 1999  Christopher Faylor <cgf@cygnus.com>
427
428         * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
429         maintainer.
430
431 Wed Mar 24 21:19:57 1999  Andrew Cagney  <cagney@amy.cygnus.com>
432
433         * target.h (enum target_signal): Do not hardwire values of MACH
434         signals.
435
436 1999-03-14  Ken Raeburn  <raeburn@raeburn.org>
437
438         * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
439         * target.c (signals): Add SIGINFO description.
440         (target_signal_from_host, target_signal_to_host): Translate
441         SIGINFO to/from TARGET_SIGNAL_INFO.
442
443 Wed Mar 24 01:01:27 1999  Andrew Cagney  <cagney@sludge.cygnus.com>
444
445         * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
446         unsigned int.
447
448         From Rodney Brown <rodneybrown@pmsc.com>
449         * target.h (enum thread_control_capabilities), breakpoint.h (enum
450         bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
451         doesn't allow trailing comma in enum definition.
452         
453 Mon Mar 22 15:56:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
454
455         * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
456         CALL_DUMMY_LOCATION to if.
457         * valops.c (call_function_by_hand): Ditto.
458         * infcmd.c (run_stack_dummy): Ditto.
459         * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
460         CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
461
462 1999-03-23  Jason Molenda  (jsm@bugshack.cygnus.com)
463
464         * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
465         check, test for presence of struct save_state_t and the ss_wide 
466         member directly.
467         * configure.in:  Remove CPU_HPPA_RISC_20 test.  Add tests for
468         HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
469         * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
470         * configure, config.in: Regenerated.
471
472 Mon Mar 22 13:25:13 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
473
474         * infttrace.c (proc_wait): rename to ptrace_wait.
475
476 1999-03-18  Jim Blandy  <jimb@zwingli.cygnus.com>
477
478         * dwarf2read.c: Correctly recognize location expressions that
479         designate LOC_REF_ARG arguments.  Doc fixes.
480         (isderef): New global.  (Yuck.)
481         (dwarf2_complex_location_expr): New complaint.
482         (read_func_scope): Reject frame_base attributes that use the
483         `deref' opcode as too complex.
484         (new_symbol): If both regoff and isderef are set, and the base
485         register is the frame pointer, then it's a LOC_REF_ARG argument.
486         (decode_locdesc): Recognize the `deref' opcode in location
487         expressions.  Complain if it's not the last op in the expression.
488
489         * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
490         be true, or else value_arg_coere won't respect the (accurate)
491         information we have about whether a function is prototyped.
492
493 1999-03-17  Jim Blandy  <jimb@zwingli.cygnus.com>
494
495         * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
496         calling functions by hand with odd-sized arguments doesn't munge
497         the stack.
498
499 1999-03-17  Jason Molenda  (jsm@bugshack.cygnus.com)
500
501         * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
502         hosts--gdb doesn't support this yet.
503         * configure: Regenerated.
504
505 1999-03-16  Keith Seitz  <keiths@cygnus.com>
506
507         * remote.c (remote_binary_checked): New file global.
508         (check_binary_download): New function to check if
509         stub supports binary downloading that works with
510         stubs that are not eight bit clean.
511         (remote_write_bytes): Check for binary download capability
512         and use it if available.
513         Remove references to global remote_binary_length. What a hack.
514         (putpkt_binary): New function.
515         (putpkt): Call putpkt_binary.
516         Use xor to escape trouble characters.
517         * m32r-stub.c (bin2mem): Follow escape char convention change.
518
519 Tue Mar 16 01:11:33 1999  Andrew Cagney  <cagney@rhino.cygnus.com>
520
521         * target.h (struct target_ops), target.c (debug_to_query),
522         remote.c (pack_hex_byte, remote_query): Promote char parameters to
523         int.  Stops compile problems with pedantic ISO-C compilers.
524         
525 Tue Mar 16 15:29:04 1999  Stan Shebs  <shebs@andros.cygnus.com>
526
527         * go32-xdep.c: Remove, no longer used by anything.
528         * Makefile.in: Remove references.
529
530         * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
531         as int instead of char.
532
533 Mon Mar 15 11:42:43 1999  Andrew Cagney  <cagney@b1.cygnus.com>
534
535         * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
536         (d10v_push_arguments): Use.
537         
538         From Martin M. Hunt  <hunt@cygnus.com>:
539         * d10v-tdep.c (d10v_push_arguments): When arguments
540         must be pushed onto the stack, they go on in
541         reverse order.
542
543 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
544
545         * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
546         or partial symbols into the overload list; we don't know their
547         types.  (Thanks to Rajiv Mirani.)
548
549 1999-03-15  Jason Molenda  (jsm@bugshack.cygnus.com)
550
551         * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
552         Fix whitespace so --help messages line up.
553         * configure.in (--with-cpu): Fix capitalization for --help messages.
554         * configure, aclocal.m4: Regenerated.
555
556 Mon Mar 15 11:39:03 1999  Ian Carmichael  <iancarm@cygnus.com>
557
558         Support building gdb w/o simulator:
559         * configure.in: Support --disable-sim. Check for sim directory.
560         * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
561         * acconfig.h (WITH_SIM): Define.
562         * configure, config.in: Regenerate.
563
564 Mon Mar 15 08:01:33 1999  Elena Zannoni  <ezannoni@cygnus.com>
565
566         Patch from Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
567
568         * top.c (read_command_lines): Reset control_level to 0.
569         (define_command): Don't do it here.
570
571 Sun Mar 14 16:12:15 1999  Andrew Cagney  <cagney@rhino.cygnus.com>
572
573         * hppah-nat.c (store_inferior_registers): Delete extern
574         registers[] declaration.
575
576 Sun Mar 14 19:17:30 1999  Andrew Cagney  <cagney@b1.cygnus.com>
577
578         * infrun.c (write_inferior_status_register): New function. Provide
579         update access to an inf_status register buffer.  Only used by HP.
580         * inferior.h (write_inferior_status_register): Add prototype.
581
582         * hppa-tdep.c (push_dummy_frame): Use
583         write_inferior_status_register when hacking around a sleeping
584         inferior.  Accidently fix byte-order problem.
585
586 Sun Mar 14 16:40:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
587
588         * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
589         not needed.
590
591 Fri Mar 12 13:11:48 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
592
593         * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
594         can't overwrite the end of its buffer with escaped characters.
595
596 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
597
598         Alpha patches from Richard Henderson:
599
600         * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
601
602         * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
603         (FPCR_REGNUM): New.
604         (REGISTER_CONVERTIBLE): Don't convert fpcr.
605         (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
606
607         * stabsread.c (define_symbol): Only consider live range extension
608         if we have an open parenthesis.
609
610 1999-03-11  Jim Blandy  <jimb@zwingli.cygnus.com>
611
612         * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
613         when the register name is null.
614
615 Thu Mar 11 19:33:07 1999  Stan Shebs  <shebs@andros.cygnus.com>
616
617         * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
618         uses to expressions, remove redundant extern decls.
619
620 Thu Mar 11 18:05:11 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
621
622         * infptrace.c (proc_wait): Rename to ptrace_wait.
623         * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
624         * inferior.h: Declare ptrace_wait instead of proc_wait.
625
626 Thu Mar 11 11:46:25 1999  Andrew Cagney  <cagney@amy.cygnus.com>
627
628         * breakpoint.c (create_solib_load_unload_event_breakpoint,
629         create_fork_vfork_event_catchpoint, tcatch_command,
630         create_exception_catchpoint, break_at_finish_at_depth_command_1,
631         catch_fork_command_1, ep_skip_leading_whitespace,
632         break_at_finish_command_1, catch_exec_command_1,
633         catch_exception_command_1, stop_command, stopin_command,
634         stopat_command, ep_parse_optional_filename,
635         ep_find_event_name_end, ep_parse_optional_if_clause,
636         catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
637         print_stack_frame_stub, print_only_stack_frame_stub,
638         backtrace_command_1, backtrace_full_command, func_command),
639         valprint.c (print_decimal), source.c (print_source_lines_base):
640         Add prototype.
641
642         * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
643         print_only_stack_frame_stub): Make param void*.
644
645 Wed Mar 10 19:33:28 1999  Geoffrey Noer  <noer@cygnus.com>
646
647         * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
648          define some gdb-specific defines that shouldn't have been in the
649          global headers.
650
651 Wed Mar 10 21:20:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
652
653         * findvar.c (registers, register_valid): Replace array with pointer.
654         (build_findvar): New function.  Allocate space for REGISTERS and
655         REGISTER_VALID.
656         (_initialize_findvar): Call build_findvar.
657         
658         * inferior.h (registers, register_valid): Replace array with
659         pointer.
660
661         * inferior.h (struct inferior_status): Move definition from here.
662
663         * infrun.c (struct inferior_status): To here.
664         (struct inferior_status): Change ``stop_registers'' and
665         ``registers'' to pointers.
666         (xmalloc_inferior_status, free_inferior_status): New functions.
667         (restore_inferior_status): Call free_inferior_status.
668         (save_inferior_status): Call xmalloc_inferior_status.
669         (discard_inferior_status): New function, discard inf_status
670         buffer.  Call free_inferior_status.
671         
672         * inferior.h (stop_registers): Replace array with pointer.
673         * infrun.c (stop_registers): Update.
674         (build_infrun): Initialize stop_registers.
675         (_initialize_infrun): Call build_infrun.
676
677 Wed Mar 10 14:50:42 1999  Andrew Cagney  <cagney@amy.cygnus.com>
678
679         * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
680         LINUXALPHA target. Hack.
681
682         * infrun.c (set_follow_fork_mode_command): Make static.  Add
683         prototype.
684         * tracepoint.c (add_register): Ditto.
685         * valprint.c (strcat_longest): Comment out.  Does not appear to be
686         used.
687         * valops.c (find_method_list): Make static.  Add prototype.
688         * thread.c (target_find_new_threads): Make static.  Add prototype.
689         * stack.c (stack_publish_stopped_with_no_frame,
690         select_and_maybe_print_frame): Comment out.  Does not appear to be
691         used.
692         (current_frame_command): Add prototype.
693         * breakpoint.c (break_at_finish_command,
694         break_at_finish_at_depth_command, tbreak_at_finish_command): Make
695         static.  Add prototype.
696         * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
697
698 Wed Mar 10 23:38:54 1999  Andrew Cagney  <cagney@b1.cygnus.com>
699
700         * corefile.c (registers): Delete redundant variable declaration.
701         * inferior.h (run_stack_dummy): Change array argument to pointer.
702         * infcmd.c (run_stack_dummy): Update.
703         * value.h (value_being_returned): Change RETBUF to a pointer.
704         * values.c (value_being_returned): Update.
705
706 Wed Mar 10 11:08:16 1999  Andrew Cagney  <cagney@amy.cygnus.com>
707
708         * source.c (list_command): GCC suggested explicit braces to avoid
709         ambiguous `else'.
710
711         * jv-typeprint.c: Include "c-lang.h".
712         * Makefile.in (jv-typeprint.o): Add dependency.
713         * jv-valprint.c: Include "gdbcore.h", "annotate.h".
714         * Makefile.in (jv-valprint.o): Add dependencies.
715         * objfiles.c: Include "breakpoint.h".
716         * Makefile.in (objfiles.o): Add dependency.
717         * main.c: Include <unistd.h>.
718         * parse.c: Include <ctype.h>.
719         * remote.c: Include <ctype.h>.
720         * ser-tcp.c: Include <unistd.h>.
721         * ax-general.c: Include "value.h".
722         * Makefile.in (ax-general.o): Add dependency.
723
724         * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
725         of a register.
726         * frame.h (show_and_print_stack_frame): Add function prototype.
727         * language.h (language_enum): Add function prototype.
728         * value.h (find_overload_match): Add function prototype.
729
730         * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
731         prototype.
732         * stack.c (backtrace_command): Update.
733
734 Wed Mar 10 13:58:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
735
736         * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
737         * configure, config.in: Re-generate.
738         * inflow.c: Conditionally include <sys/select.h>.
739
740 Wed Mar 10 13:44:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
741
742         * frame.h (struct dummy_frame): Move from here.
743         * blockframe.c (struct dummy_frame): To here.
744
745         * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
746         ``registers''.
747         (generic_pop_dummy_frame): Free it.
748         (generic_push_dummy_frame): Allocate dummy frame register buffer.
749
750 Wed Mar 10 11:08:16 1999  Andrew Cagney  <cagney@amy.cygnus.com>
751
752         * thread.c (_initialize_thread): Delete redundant ``extern struct
753         cmd_list_element *cmdlist''.
754         * printcmd.c (print_command_1): Ditto for ``objectprint'';
755
756 1999-03-09  Stan Shebs  <shebs@andros.cygnus.com>
757
758         * MAINTAINERS: New file, list of maintainers and areas they
759         maintain.
760
761 1999-03-09  Rodney Brown  <RodneyBrown@pmsc.com>
762
763         Get working on UnixWare 2.1.1.
764         * acconfig.h: Update for defines for procfs.c.
765         * configure.in: Identify defines for procfs.c.
766         * configure.host: i386-*-sysv4.2uw2* => i386v42mp
767         * configure.tgt:  i386-*-sysv4.2uw2* => i386v42mp
768         * configure, config.in: Regenerate.
769         * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
770         standard), wrap UNIXWARE difference in THE_PR_LWP macro for
771         legibility.
772         * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
773         HAVE_NO_PRRUN_T; now set by configure.
774
775 Tue Mar  9 16:29:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
776
777         * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
778         undefined..
779
780         * fr30-tdep.c (_initialize_fr30_tdep): Add prototype.  Fix
781         coding style.
782
783         * target.c (debug_to_enable_exception_callback,
784         debug_to_get_current_exception_event): Return result of call to
785         debug_target().
786
787 1999-03-09  Jim Blandy  <jimb@zwingli.cygnus.com>
788
789         Another HURD fix from Mark Kettenis:
790         * gnu-nat.c: Include <string.h>.  Remove declaration of strerror.
791         Include <bits/waitflags.h> instead of <waitflags.h> and define
792         _SYS_WAIT_H to prevent the warning that we should not include it.
793         (gnu_create_inferior): Change return type of attach_to_child to
794         void.  Do not return INFERIOR_PID.
795         (gnu_pid_to_exec_file): Change return type to char *.
796         Return NULL.
797
798         Fix for the HURD from Mark Kettenis:
799         * configure.in: Add AC_PROG_AWK.  Needed by the machine-dependent
800         makefile fragments for the Hurd.
801         * Makefile.in (AWK): Add.  Set by configure.
802         * configure: Regenerated.
803
804 1999-03-08  Jason Molenda  (jsm@bugshack.cygnus.com)
805
806         * infttrace.c (hppa_get_process_events): Removed. Function only
807         usable on HPUX 10 and above.  It is not called by any other part
808         of GDB.
809         * hppah-nat.c (hppa_get_process_events): Ditto.
810         (child_pid_to_exec_file): Only call ptrace with
811         PT_GET_PROCESS_PATHNAME if that symbol has been defined.
812         * config/pa/nm-hppah.h: Don't set up prototypes et al for 
813         hppa_get_process_events.
814
815         * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
816         determine best library automatically.
817         * config/pa/hpux1020.mh: Ditto.
818         * config/pa/hpux1100.mh: Ditto.
819         * configure.in (TERM_LIB): Also check for libHcurses.
820         * configure: Regenerated.
821
822 Thu Mar  4 17:16:04 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
823
824         * m32r-stub.c: add support for crc "Compare" command.
825
826 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
827
828         * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
829         dynamically, to save BSS space, and to remove assumptions about
830         the size of the largest value we'll return.
831
832         * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
833         prototype.
834
835 Thu Mar  4 08:37:35 1999  Andrew Cagney  <cagney@b1.cygnus.com>
836
837         * sh3-rom.c (sh3_supply_register, sh3_supply_register),
838         mips-tdep.c (mips_push_arguments), m32r-rom.c
839         (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
840         (longlong_hexchars), tracepoint.c (validate_actionline,
841         read_actions), mdebugread.c
842         (parse_symbol), jv-typeprint.c
843         (java_type_print_base, java_type_print_base), mdebugread.c
844         (parse_symbol), top.c (source_command), utils.c
845         (floatformat_to_doublest): GCC suggest explicit braces to avoid
846         ambiguous `else'.
847         
848         * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
849         m32r-rom.c (m32r_supply_register), win32-nat.c
850         (handle_output_debug_string, child_continue), i960-tdep.c
851         (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
852         parentheses around assignment used as truth value.
853
854         * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
855         ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
856         GCC suggested parentheses around operands.
857
858         * c-typeprint.c (c_type_print_base): GCC suggested enclosing
859         "while" expression in paren.
860
861 Wed Mar  3 18:14:33 1999  Andrew Cagney  <cagney@chook.cygnus.com>
862
863         * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
864         (restore_inferior_pid): Takes void* as required by make_cleanup.
865         Casts pid back to an int.
866
867         * procfs.c (make_cleanup_close_proc_file,
868         close_proc_file_cleanup): Create a proc_file cleanup.
869         (info_proc): Use.
870
871         * defs.h (make_cleanup_freeargv): Helper function.  Establish
872         cleanup using freeargv.  Can not just typecast/pass freeargv as it
873         violates ISO-C.
874         * utils.c (do_freeargv): Helper.
875         (make_cleanup_freeargv): New function.
876
877         * symmisc.c (maintenance_print_symbols,
878         maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
879         (symbol_file_command), stack.c (backtrace_command), remote-sim.c
880         (gdbsim_create_inferior, gdbsim_open), remote-mips.c
881         (common_open), procfs.c (info_proc), infrun.c (handle_command,
882         xdb_handle_command), exec.c (exec_file_attach): Call
883         make_cleanup_freeargv.
884
885 1999-03-03  James Ingham  <jingham@cygnus.com>
886
887         * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
888         disassembly flavor at startup, rather than hardcoding it.
889
890 1999-03-03  Jim Blandy  <jimb@zwingli.cygnus.com>
891
892         Put return values in the right place.
893         * fr30-tdep.c (fr30_store_return_value): New function.
894         * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
895         fr30_store_return_value.
896
897 Wed Mar  3 18:10:55 1999  Andrew Cagney  <cagney@chook.cygnus.com>
898
899         * gdbtypes.c (virtual_base_list_aux): Return void.  Add prototype.
900
901         * breakpoint.c (map_catch_names): Comment out unused function.
902
903 1999-03-02  Jason Molenda  (jsm@bugshack.cygnus.com)
904
905         * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
906         structure on PA 2.0 systems.
907
908 1999-03-02  Stan Shebs  <shebs@andros.cygnus.com>
909
910         From Gary Thomas  <gthomas@cygnus.co.uk>:
911         * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
912         THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
913         instead of SWI 24.
914         * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
915         (IN_SIGTRAMP): Define.
916
917 1999-03-02  Nick Clifton  <nickc@cygnus.com>
918
919         * findvar.c (store_address): Delete incorrect big endian
920         code. 
921
922 Tue Mar  2 18:02:42 1999  Andrew Cagney  <cagney@chook>
923
924         * configure.in (gdb_cv_os_cygwin): Compat.  Continue to reconize
925         __CYGWIN32__.
926
927 1999-03-01  Jason Molenda  (jsm@bugshack.cygnus.com)
928
929         * configure.in: Move setting of gdb_cv_os_cygwin to before
930         setting of TERM_LIB.  Check for __CYGWIN__ instead of __CYGWIN32__.
931         * configure: Regenerated.
932
933 1999-03-01  DJ Delorie  <dj@cygnus.com>
934
935         * configure.in: Change -cygwin32* to -cygwin*.
936         * configure: Ditto.
937
938 1999-02-25  Stan Shebs  <shebs@andros.cygnus.com>
939
940         * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
941         SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
942         SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
943         * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
944
945 1999-02-25  Keith Seitz  <keiths@cygnus.com>
946
947         * corelow.c (core_close): Clear out solib state before
948         closing the bfd associated with the core file.
949         * solib.c (clear_solib): Mention that clear_solib requires
950         an open BFD in order for disable_breakpoints_in_shlibs to
951         determine whether breakpoints live in shared libraries.
952
953 1999-02-24  Jason Molenda  (jsm@bugshack.cygnus.com)
954
955         * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0 
956         processor.
957         * acconfig.h: Add CPU_HPPA_RISC_20
958         * config.in, configure: Regenerated.
959         * hppa-tdep.c (pa_register_look_aside): Only refer to new 
960         structure elements if we are on a PA2.0 system.
961         * defs.h: Include limits.h.
962
963 Tue Feb 23 14:37:08 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
964
965         * infrun.c (wait_for_inferior): Check scheduler_locking state 
966         before resuming after a thread-specific breakpoint.
967
968 1999-02-23  Jim Blandy  <jimb@zwingli.cygnus.com>
969
970         * aclocal.m4, config.in, configure: Regenerated with latest
971         autotools.
972
973 Mon Feb 22 12:32:19 1999  Per Bothner  <bothner@cygnus.com>
974
975         * jv-valprint.c (java_val_print):  Restore line that somehow got lost.
976
977         * jv-valprint.c (java_print_value_fields):  Check for NULL type.
978
979 1999-02-21  Jim Blandy  <jimb@zwingli.cygnus.com>
980
981         * tm-h8500.h, i386lynx-nat.c: Removed.  These files are long
982         dead; it seems that they only appeared due to some CVS weirdness.
983         If they appear again, we may need to distribute garlic and holy
984         water.
985
986 1999-02-19  Jason Molenda  (jsm@bugshack.cygnus.com)
987
988         * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
989         * configure: Regenerated.
990
991 1999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
992
993         * configure.host (i[3456]86-*-msdosdjgpp*): New host.
994         * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
995         * go32-nat.c: New file, native DJGPP support.
996         * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
997         * config/i386/go32.mt: New file, DJGPP (go32) target.
998         * config/i386/nm-go32.h: New file.
999         * config/i386/tm-go32.h: New file.
1000         * config/i386/xm-go32.h: Rewritten for current DJGPP.
1001
1002 1999-02-18  Jason Molenda  (jsm@bugshack.cygnus.com)
1003
1004         * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
1005         config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
1006         config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
1007         config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
1008         config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
1009         config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch
1010         testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp:
1011         Update FSF address in copyright notices.
1012
1013 1999-02-18  Jason Molenda  (jsm@bugshack.cygnus.com)
1014
1015         * configure.in: Quote "$GCC" correctly.
1016         * configure: Regenerated.
1017
1018 1999-02-18  Jim Blandy  <jimb@zwingli.cygnus.com>
1019
1020         * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
1021         section named ".text", which has all the code in it.  Instead, look
1022         at all the sections in the file with the `code' flag set.
1023         (find_text_range): New function, that does all the work.
1024
1025 Thu Feb 18 17:50:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1026
1027         * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
1028
1029 Fri Jan 29 16:51:11 1999  Andrew Cagney  <cagney@chook.cygnus.com>
1030
1031         * mips-tdep.c (return_value_location): New function. Merge/rewrite
1032         of return-value code in mips_extract_return_value,
1033         mips_store_return_value.  Stop buffer overflow when 64 bit value
1034         in 32 bit registers.  Extract 64bit float from 32 bit register
1035         pair of correct order.
1036         (mips_extract_return_value, mips_store_return_value): Call
1037         return_value_location.  For store, ensure that remainder of
1038         register is zero.
1039         
1040 Wed Feb 17 10:10:27 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
1041
1042         * gdbtypes.h (get_discrete_bounds):  Remove duplicate decl.
1043
1044         * jv-typeprint.c (java_type_print_base):  Change fputs => fputs_filtered.
1045         
1046 Mon Jan 25 18:30:57 1999  Per Bothner  <bothner@cygnus.com>
1047
1048         * jv-lang.h (JAVA_OBJECT_SIZE):  Change from hard-wired constant.
1049         (java_primitive_type_from_name, get_java_object_header_size):  Declare.
1050         * jv-lang.c (java_class_from_object):  Use get_java_object_type.
1051         * jv-lang.c:  Update Class field names:  dtable->vtable,
1052         msize->method_count, nfields->field_count, bfsize->size_in_bytes,
1053         nmethods->method_count.
1054         (type_from_class):  Demangle array type names.
1055         (java_link_class_type):  Array type names are now demangled.
1056         (get_java_object_type):  If not defined yet, try looking it up.
1057         (get_java_object_header_size):  New function.
1058         (java_primitive_type_from_name):  New function.
1059         (java_demangled_signature_length, java_demangled_signature_copy): New.
1060         (java_demangle_type_signature):  Re-implement using above functions.
1061         (evaluate_subexp_java):  For UNOP_IND, call evaluate_subexp_java
1062         to evaluate subexp (not evaluate_subexp_standard).
1063         For BINOP_SUBSCRIPT update for new array type naming scheme.
1064         * jv-valprint.c (java_value_print):  Use java_class_from_object.
1065         Update array printing to new array type naming convention.
1066         (java_val_print):  Doing check_typedef when printing a pointer is
1067         is a waste of effort.  Also, handle TYPE_CODE_INT, to make sure
1068         Java bytes as not printed as C chars.
1069
1070 Fri Jan  8 16:58:22 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
1071
1072         * blockframe.c (find_pc_sect_partial_function):  Search full symtabs as
1073         a last ditch effort (after the partial & minimal symtabs).
1074         * defs.h utils.c:  Fixup prototypes for vprintf_filtered,
1075         vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
1076         ints to match their standard equivalents.
1077         * defs.h symtab.c top.c:  Create skip_prologue_hook to allow Java to
1078         control the prologue skipping process.
1079         * jv-typeprint.c (java_type_print_base):  Remove extern for
1080         jv_class_demangle, add new arg for objfile (NULL).
1081         * symtab.h:  Remove struct sourcevector and struct source.  Definately
1082         not needed.
1083         * values.c (value_virtual_fn_field):  Fixes code to handle new vtable
1084         debug info format.  Patch from marka.
1085         
1086 Wed Dec 16 23:11:25 1998  Stu Grossman  <grossman@fencer.cygnus.com>
1087
1088         * jv-lang.c (java_class_from_object java_class_is_primitive
1089         is_object_type):  Change dtable to vtable.
1090         * (java_primitive_type):  Change arg to type char.
1091         * (_initialize_java_language):  Make java_char_type be unsigned.
1092         * jv-lang.h:  Fixup prototypes.
1093         
1094 Mon Dec  7 19:02:15 1998  Stu Grossman  <grossman@babylon-5.cygnus.com>
1095
1096         * jv-valprint.c (java_value_print):  Fix printing of values where
1097         run time type != compile time type.
1098
1099 Fri Dec  4 15:23:38 1998  Stu Grossman  <grossman@fencer.cygnus.com>
1100
1101         * Makefile.in:  Whack out m2-typeprint.c.
1102         * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h:  Make this
1103         global.  It's needed by Java.
1104         * (c_type_print_base):  Whack prefix off of qualified method names
1105         (names with name spaces).
1106         * gdbtypes.h (struct cplus_struct_type):  Add bits for Java attributes.
1107         Shrink voffset
1108         to 16 bits to compensate for added bits above (hopefully this is still
1109         enough).
1110         * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
1111         attribute bits.
1112         * jv-typeprint.c (java_type_print_base):  Fix printing of method
1113         attributes.  Handle JVM style manglings.
1114         * (java_print_type):  Enable code type print varspec_suffix to allow
1115         array indices to print out.
1116         * jv-valprint.c (java_val_print):  Minor formatting.
1117         * m2-lang.c (m2_language_d):  Change m2_print_type to c_print_type.
1118         * stabsread.c (read_member_functions):  Save public and static attributes.
1119         
1120 Wed Feb 17 15:32:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1121
1122         * breakpoint.c (watch_command_1): Reformat comment.
1123
1124         * c-typeprint.c (c_type_print_base): Reformat comments.
1125
1126 1999-02-17  Jim Blandy  <jimb@zwingli.cygnus.com>
1127
1128         * Makefile.in (VERSION): Bump version to 4.17.2.
1129
1130 Tue Feb 16 15:48:20 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
1131  
1132         * config/pa/nm-hppah.h: Added prototype declarations for
1133         hppa_enable_page_protection_events and 
1134         hppa_disable_page_protection_events.
1135  
1136         * inftarg.c (child_wait): Fixed code that checks whether
1137         or not the target program has done a fork/vfork. 
1138         related_pid  does not have a value unless the target 
1139         program has forked/vforked.
1140  
1141         * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
1142         function always returns a value.
1143         (hppa_remove_hw_watchpoint): Make sure that function always
1144         returns a value.
1145
1146 Tue Feb 16 06:31:58 1999  Keith Seitz  <keiths@cygnus.com>
1147
1148         * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
1149         let the generic call dummy infrastructure do it.
1150
1151 Sun Feb 14 18:21:08 1999  Mark Alexander  <marka@cygnus.com>
1152
1153         * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
1154         coffread.c will correctly handle char or short function parameters.
1155
1156 1999-02-11  Jason Molenda  (jsm@bugshack.cygnus.com)
1157
1158         * configure, aclocal.m4: Regenerate with correct version of aclocal.
1159
1160 1999-02-10  Syd Polk  <spolk@cygnus.com>
1161
1162         * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
1163         * aclocal.m4: Regnerate.
1164         * configure: Regenerate.
1165
1166 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
1167
1168         * demangle.c: Fix comments to mention "set demangle-style"
1169         instead of "set demangle".
1170         Run through indent to fix minor indenting problems.
1171
1172 Wed Feb 10 17:53:09 1999  Bob Manson  <manson@charmed.cygnus.com>
1173
1174         * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
1175
1176 Wed Feb 10 13:17:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
1177
1178         Declare Gould configuration obsolete:
1179         * configure.host, configure.tgt: Comment out Gould configs.
1180         * Makefile.in: Comment out Gould-related actions.
1181         * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
1182         * NEWS: Mention obsolete status.
1183
1184 1999-02-09  DJ Delorie  <dj@cygnus.com>
1185
1186         * sparcl-tdep.c: UDP download works in cygwin
1187
1188 1999-02-08  Jason Molenda  (jsm@bugshack.cygnus.com)
1189
1190         * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
1191         * configure.in: Don't check for libintl.h.
1192         * configure, config.in: Regenerated.
1193
1194 Mon Feb  8 18:10:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
1195
1196         * NEWS: Mention new X packet and PowerPC variant support.
1197
1198 1999-02-08  Nick Clifton  <nickc@cygnus.com>
1199
1200         * configure.host: Add support for StrongARM host.
1201         * configure.tgt: Add support for StrongARM target.
1202
1203 Mon Feb  8 12:05:05 1999  David Taylor  <taylor@texas.cygnus.com>
1204
1205         * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
1206         otherwise on big endian machine with a bfd_vma of 64 bits,
1207         *everything* gets loaded at location 0.
1208
1209 Mon Feb  7 10:05:43 1999  Frank Ch. Eigler  <fche@cygnus.com>
1210
1211        * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
1212        to target program.
1213
1214 Fri Feb  5 16:46:14 1999  Stan Shebs  <shebs@andros.cygnus.com>
1215
1216         * NEWS: Add mentions of various new things.
1217
1218 Thu Feb  4 00:19:14 1999  Christopher Faylor <cgf@cygnus.com>
1219
1220         * configure.in: Move termcap determination later in the
1221         file to catch setting of cygwin flag.
1222         * configure: Regenerate.
1223
1224 Wed Feb  3 14:16:38 1999  Christopher Faylor <cgf@cygnus.com>
1225
1226         * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
1227         * configure.in: Treat libtermcap.a detection as a special case
1228         when hosting on cygwin.
1229         * configure: Regenerate.
1230
1231 1999-02-03  Keith Seitz  <keiths@cygnus.com>
1232  
1233         * remote.c (remote_binary_download, remote_binary_length): New
1234         static globals for dealing with binary transmissions.
1235         (remote_write_bytes): Add support for binary downloads
1236         by shadowing the "M" packet with a new "X" packet. This
1237         defaults to ON; if the stub does not understand this, it
1238         will fall back to using "M".
1239         (putpkt): Add support for binary downloading.
1240         * monitor.c (monitor_expect): The mon2000 monitor
1241         on the MSA2000 will also emit random DC1/DC3 chars.
1242         * m32r-stub.c: Change all char's to unsigned char's
1243         to support binary downloading.
1244         (handle_exception): Add support for binary downloading
1245         via a new "X" packet.
1246         (getpacket): Do NOT strip eighth bit of incoming chars.
1247         Watch out for escaped characters in the incoming stream.
1248         (putpacket): Do NOT strip eighth bit of incoming chars.
1249         (bin2mem): New function to write binary data directly to
1250         memory.
1251         * m32r-rom.c: Add new "mon2000" target.
1252
1253 Tue Feb  2 18:40:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1254
1255         * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
1256         passed to make_cleanup to the correct type.
1257         (hpread_quick_traverse): Change fifth arg to call to 
1258         hpread_end_psymtab to be 0. 
1259         Compare CURR_MODULE_END to 0 rather than NULL.
1260         Get rid of ifdef'ed out code.
1261         (scan_procs): Get rid of ifdef'ed out code.
1262
1263         * somread.c (som_symfile_read): Coerce first argument passed to
1264         make_cleanup to the correct type.
1265
1266 Tue Feb  2 17:36:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1267
1268         * hp-psymtab-read.c (do_pxdb): New function. Check whether the
1269         file needs to be processed by pxdb (an HP debug info massaging
1270         tool), if so call it.
1271         (hpread_build_psymtabs): Initialize scan_start to 0 and
1272         simplify flow of control.
1273
1274         * somread.c (som_symfile_read): Add call to do_pxdb (), 
1275         in hp-psymtab-read.c.
1276
1277         * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
1278         code.
1279         (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
1280         in hp-psymtab-read.c.
1281
1282 1999-02-02  Martin Hunt  <hunt@cygnus.com>
1283
1284         * printcmd.c (print_scalar_formatted): Use strcat to concat all
1285         the output together before calling fprintf_filtered().
1286
1287 1999-02-01  Jason Molenda  (jsm@bugshack.cygnus.com)
1288
1289         * configure.in: Require autoconf 2.13.
1290         (AM_EXEEXT): Replace with new AC_EXEEXT.
1291         * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
1292         * aclocal.m4: Regenerated.
1293         * configure: Regenerated.
1294
1295 1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
1296
1297         Allow PPC users to select which PPC/RS6000 variant they're
1298         debugging at run-time.  At the moment, the only thing this affects
1299         is the set of registers visible.
1300         * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
1301         to the function rs6000_register_name.
1302         (rs6000_register_name): Include extern decl.
1303         (NUM_REGS): Bump to 183.  What's the right way to do this?
1304         (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
1305         FIRST_SP_REGNUM, LAST_SP_REGNUM.
1306         (REGISTER_BYTES): Recompute this.
1307         * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
1308         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
1309         some concomitant formatting changes.
1310         #include "gdbcmd.h", so we can define commands here.
1311         (struct variant): New structure.
1312         (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
1313         PPC_32_OEA_SPR_NAMES, num_registers): New macros. 
1314         (register_names_rs6000, register_names_uisa, register_names_403,
1315         register_names_403GC, register_names_505, register_names_860,
1316         register_names_601, register_names_602, register_names_603,
1317         register_names_604, register_names_750, variants): New variables.
1318         (rs6000_register_name, install_variant, find_variant_by_name,
1319         install_variant_by_name, list_variants, show_current_variant,
1320         set_processor, show_processor): New functions.
1321         (_initialize_rs6000_tdep): Define new commands `set processor' and
1322         `show processor', and call install_variant_by_name to set the
1323         default variant.
1324         * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
1325         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
1326         some concomitant formatting changes.
1327         * configure.in: Accept the `--with-cpu' flag, to specify a default
1328         processor variant.
1329         * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
1330         by configure's `--with-cpu' flag.
1331         * config.in, configure: Regenerated.
1332
1333 Sun Jan 31 15:24:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
1334
1335         * buildsym.h, buildsym.c: Convert to ANSI-only.
1336
1337         * buildsym.h, buildsym.c: Reformat to standard.
1338
1339         * buildsym.c (merge_symbol_lists): Remove unused variable.
1340         (_initialize_buildsym): Remove, does nothing.
1341
1342 1999-01-31 J.T. Conklin  <jtc@redbacknetworks.com>
1343
1344         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
1345         sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
1346         to include explicit void return type as per documentation.  Fix up
1347         occasions where stubs erroneously checked return type.
1348
1349 Sun Jan 31 13:18:33 1999  Stan Shebs  <shebs@andros.cygnus.com>
1350
1351         From J.T. Conklin <jtc@redbacknetworks.com>:
1352         * remote.c (remote_query): Fix tipo.
1353
1354 Fri Jan 29 15:25:09 1999  Stan Shebs  <shebs@andros.cygnus.com>
1355
1356         * configure.tgt (v850): Add wildcard to match.
1357
1358 Fri Jan 29 16:44:01 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
1359
1360         * inferior.h: Ran indent.
1361
1362         * fork-child.c: Ran indent.
1363
1364         * infrun.c : Ran indent.
1365
1366 Fri Jan 29 12:57:34 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1367
1368         * infrun.c (_initialize_infrun): Do not stop or print anything
1369         when a SIGWINCH is received.
1370
1371         * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
1372         (f-exp.tab.c): Ditto.
1373         (jv-exp.tab.c): Ditto.
1374         (c-exp.tab.c): Ditto.
1375         (YACC): Define as @YACC@.
1376
1377 1999-01-29  Martin Hunt  <hunt@cygnus.com>
1378
1379         Changes from Keith Seitz  <keiths@cygnus.com>
1380         * valops.c (value_assign): Add calls to register_changed_hook and
1381         memory_changed_hook to inform UIs that the user has changed
1382         the target's registers/memory.
1383         * findvar.c (write_register_gen): Remove call to pc_changed_hook.
1384         * defs.h: Remove declaration for pc_changed_hook and
1385         add declarations for register_changed_hook and
1386         memory_changed_hook.
1387         * top.c: Ditto.
1388
1389 1999-01-29  Mark Alexander  <marka@cygnus.com>
1390
1391         * procfs.c (wait_fd): Handle deleted threads correctly.
1392
1393 1999-01-28  Jason Molenda  (jsm@bugshack.cygnus.com)
1394
1395         * utils.c (init_page_info): Force window size if running under emacs.
1396
1397 1999-01-27  James Ingham  <jingham@cygnus.com>
1398
1399         * typeprint.c (whatis_exp): Remove static declaration.
1400
1401 Wed Jan 27 16:50:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1402
1403         * hp-psymtab-read.c: Reformat using indent.
1404
1405 Wed Jan 27 13:20:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1406
1407         * hp-psymtab-read.c: Reformat comments, update copyright.
1408
1409 Tue Jan 26 16:02:47 1999  Mark Alexander  <marka@cygnus.com>
1410
1411         * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
1412         v850_register_names, v850_processor_type_table): Declare tables
1413         and structures for handling differences in register names for
1414         v850 and v850e.
1415         (struct reg_list): Define new structure for creating tables
1416         of register bit masks in v850e instrutions.
1417         (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
1418         (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
1419         and pushm.
1420         (v850_target_architecture_hook): New function to set register
1421         names based on current machine.
1422         (_initialize_v850_tdep): Set up target_architecture_hook.
1423         * config/v850/tm-v850.h (v850_register_names): Declare.
1424         (REGISTER_NAME): Define to refer to v850_register_names.
1425         (SR0_REGNUM, CTBP_REGNUM): Define.
1426         (PS_REGNUM): Redefine in terms of SR0_REGNUM.
1427
1428 Tue Jan 26 18:27:26 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1429
1430         * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
1431         the correct value from configure output.
1432         (jv-exp.tab.c): Ditto.
1433         (f-exp.tab.c): Ditto.
1434         (m2-exp.tab.c): Ditto.
1435
1436 1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
1437
1438         * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
1439         * frame.h (select_and_print_frame): Add prototype.
1440         * stack.c (func_command): Call select_and_print_frame with correct
1441         number of arguments.  Reformat whitespace.
1442
1443 Tue Jan 26 16:53:54 1999  Fernando Nasser  <fnasser@cygnus.com>
1444
1445         * remote.c (remote_query): fix maximum packet size to account for
1446           remote_debug use.
1447           (putpkt): add comment to alert about extra byte need.
1448
1449 Mon Jan 25 19:55:30 1999  Mark Alexander  <marka@cygnus.com>
1450
1451         * sh-tdep.c (sh_target_architecture_hook): Return immediately
1452         when a matching machine is found.
1453
1454 Fri Jan 22 09:10:35 1999  Mark Alexander  <marka@cygnus.com>
1455
1456         * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
1457         (common_breakpoint): Restore support for instruction breakpoints
1458         on non-LSI targets.
1459
1460 Thu Jan 21 17:16:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1461
1462         * stack.c: Close open comment.
1463         * symtab.c (find_pc_sect_line): Ditto.
1464
1465 Thu Jan 21 17:51:51 1999  Stan Shebs  <shebs@andros.cygnus.com>
1466
1467         * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
1468         init only nonzero fields, leave to_require_attach and
1469         to_require_detach empty, not needed for /proc systems yet.
1470         (_initialize_procfs): Call init_procfs_ops.
1471
1472         From J.T. Conklin <jtc@redbacknetworks.com>:
1473         * top.c (init_main): Fix tipo in description of the remotetimeout
1474         variable.
1475         * breakpoint.c (bpstat_stop_status): Handle systems where
1476         DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
1477
1478 Thu Jan 21 17:25:46 1999  Mark Alexander  <marka@cygnus.com>
1479
1480         * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
1481         to fill in mon960_cmds structure properly.
1482
1483 Wed Jan 20 17:53:22 1999  Stan Shebs  <shebs@andros.cygnus.com>
1484
1485         * remote-sds.c (sds_ops): Define only once.
1486         (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
1487         (init_sds_ops): Init only non-zero fields.
1488
1489 Wed Jan 20 15:45:15 1999  Mark Alexander  <marka@cygnus.com>
1490
1491         * h8300-tdep.c (original_register_names, h8300h_register_names,
1492         h8300_register_names): Define new variables.
1493         (set_register_names): New function to set register names based on
1494         current CPU type.
1495         (h8300_command, h8300h_command, h8300s_command): Call
1496         set_register_names.
1497         * config/h8300/tm-h8300.h (h8300_register_names): Declare.
1498         (REGISTER_NAME): Define to refer to h8300_register_names.
1499
1500 1999-01-19  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1501
1502         * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c 
1503         mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c 
1504         remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c 
1505         remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c 
1506         remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c 
1507         remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c 
1508         v850ice.c win32-nat.c: cosmetic changes to conform to coding
1509         standards. 
1510
1511 1999-01-19  Jim Blandy  <jimb@zwingli.cygnus.com>
1512
1513         Use aclocal to generate GDB's aclocal.m4 script.  
1514         * acinclude.m4: New file, containing the hand-written local macro
1515         definitions that used to be in aclocal.m4.  Don't sinclude
1516         ../bfd/aclocal.m4 any more; running aclocal in this directory will
1517         get us the definitions we need.  HOWEVER: Do sinclude
1518         ../bfd/acinclude.m4, because we need the definition of
1519         BFD_NEED_DECLARATION.
1520         * aclocal.m4: Regenerated by aclocal.
1521         * configure: Regenerated by autoconf.
1522
1523 Tue Jan 19 10:27:23 1999  David Taylor  <taylor@texas.cygnus.com>
1524
1525         * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
1526         silent, controls whether to print message about removal of shared
1527         library breakpoints.
1528         * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
1529         * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
1530         * osfsolib.c (clear_solib): ditto.
1531         * solib.c (clear_solib): ditto.
1532         * somsolib.c (som_solib_restart): update call to
1533         disable_breakpoints_in_shlibs.
1534
1535         * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
1536         is define.
1537
1538 Tue Jan 19 18:07:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1539
1540         * corelow.c (solib_add_stub): Ditto.
1541         (core_file_to_sym_file): Cast make_cleanup parameter.
1542
1543         * solib.c (symbol_add_stub, solib_map_sections): Change argument
1544         to PTR insted of a char*.  Matches catch_errors interface.
1545
1546 Mon Jan 18 14:01:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1547
1548         * remote-array.c (array_open): Don't use fprintf_filtered to send
1549         data to the log file.
1550
1551         * remote-array.c (handle_load_dll): Change argument type to PTR so
1552         that it is compatible with catch_errors.
1553         * ocd.c (ocd_start_remote): Ditto.
1554         * remote-sds.c (sds_start_remote): Ditto.
1555
1556         * win32-nat.c (win32_child_thread_alive): Namespace proof
1557         child_thread_alive.
1558         (init_child_ops): Update.
1559
1560 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1561
1562         * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
1563         gdb_hostif.dbgarg to NULL instead of stdout.
1564         (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
1565
1566 Mon Jan 18 16:40:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
1567
1568         * ser-ocd.c (ocd_open): Handle Unix case gracefully.
1569
1570         * target.c (dummy_target): Don't initialize statically.
1571         (init_dummy_target): New function, fills in dummy_target.
1572         (initialize_targets): Use it.
1573         * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
1574         (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
1575         (_initialize_hpux_thread): Use it.
1576         * m3-nat.c (m3_ops): Don't initialize statically.
1577         (init_m3_ops): New function, fills in m3_ops.
1578         (_initialize_m3): Use it.
1579
1580 1999-01-18  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1581
1582         * sol-thread.c: delete compile time initialization of target_ops
1583           (_initialize_sol_thread): initialize target_ops at run time.
1584         * hpux-thread.c: added target_ops entry.
1585         * m3-nat.c: ditto.
1586
1587 Mon Jan 18 15:19:13 1999  David Taylor  <taylor@texas.cygnus.com>
1588
1589         * procfs.c (procfs_ops): delete compile time initialization.
1590         (_initialize_procfs): initialize procfs_ops at run time.
1591
1592 Mon Jan 18 12:51:44 1999  Christopher Faylor <cgf@cygnus.com>
1593
1594         * configure.in: Ensure that -luser32 is always linked in
1595         for cygwin build.
1596         * configure: Regenerated.
1597
1598 Mon Jan 18 08:38:05 1999  Mark Alexander  <marka@cygnus.com>
1599
1600         * values.c (value_virtual_fn_field): Clear the pointed-to
1601         offset when casting to the base class.
1602
1603 Mon Jan 18 10:30:51 1999  David Taylor  <taylor@texas.cygnus.com>
1604
1605         * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
1606         udi_ops; delete NULL initializers.
1607
1608 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1609
1610         * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
1611         gdb_file*.
1612
1613         * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
1614
1615 Mon Jan 18 10:46:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1616
1617         * stack.c (print_frame_info_base): Don't cast call to
1618         catch_errors.
1619         (print_args_stub): Change char* arg to PTR.
1620         * symmisc.c (print_symbol): Ditto.
1621         * top.c (quit_cover): Ditto.
1622         * remote.c (remote_open_1, remote_start_remote): Ditto.
1623         * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
1624         Ditto.
1625
1626         * stack.c (backtrace_command): Cast first arg of make_cleanup to
1627         make_cleanup_func.
1628         * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
1629
1630 Mon Jan 18 08:47:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1631         
1632         * defs.h (catch_errors_ftype): Define.
1633         (catch_errors): Replace char* arg with PTR arg.
1634         * top.c (catch_errors): Update
1635
1636         * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
1637         delete_breakpoint, breakpoint_re_set): Delete all casts in call to
1638         catch_errors.
1639         (breakpoint_cond_eval, watchpoint_check,
1640         cover_target_enable_exception_callback, breakpoint_re_set_one):
1641         Arg is PTR not char*.
1642         
1643         * breakpoint.c (cover_target_enable_exception_callback): Change
1644         type to int. Check for cast values of 0 and -1.  Return a result!
1645         (insert_breakpoints): Move declaration of SAL and ARGS to where
1646         they are used.
1647
1648 1999-01-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1649
1650         * remote.c (remote_query): new function - creates proper interface
1651         to the remote protocol "q" command.     
1652
1653 Fri Jan 15 17:11:48 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
1654
1655         * config/fr30/tm-fr30.h:  Changed ABI to match GCC change
1656           (always use pointer for structs passed by value).
1657
1658 1999-01-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1659
1660         * target.h: added entry for target queries (to_query)
1661           target.c: ditto.
1662
1663 Thu Jan 14 18:29:17 1999  David Taylor  <taylor@texas.cygnus.com>
1664
1665         * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
1666         * remote-udi.c (udi_wait): fix stream arg to fwrite.
1667         * symmisc.c (maintenance_check_symtabs): fix stream argument to
1668         print_address_numeric.
1669         
1670 Wed Jan 13 19:33:16 1999  David Taylor  <taylor@texas.cygnus.com>
1671
1672         * breakpoint.c (insert_breakpoints): insert cast to eliminate
1673         warning.
1674
1675 Wed Jan 13 14:59:02 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
1676
1677         * infrun.c (set/show scheduler-locking) New command.  Set a
1678           mode bit that will control how GDB attempts to control thread
1679           scheduling for step, continue, etc.  (resume): make use of
1680           the schedule-locking mode.
1681         * target.h (struct target_ops): new field to_has_thread_control.
1682         * sol-thread.c: initialize target_ops to_has_thread_control.
1683         * procfs.c: ditto.
1684         * target.c: ditto.
1685         * m3-nat.c: ditto.
1686         * remote.c: ditto.
1687         * hpux-thread.c: ditto.
1688         * thread.c: cull duplicate prototypes.  Move prototypes to top.
1689         * serial.c: indentation cleanup.
1690         * breakpoint.c: add casts to eliminate compiler warnings.
1691         
1692 Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
1693
1694         * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
1695           call to fork_inferior. The shell param is now NULL.
1696
1697 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
1698
1699         * monitor.c (init_base_monitor_ops): Whitespace cleanup.
1700         (_initialize_remote_monitors): Same.
1701
1702 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
1703
1704         * monitor.c (init_monitor_ops): Initialize the monitor_ops
1705         structure if it hasn't already been done.
1706
1707 Tue Jan 12 14:50:10 1999  Stan Shebs  <shebs@andros.cygnus.com>
1708
1709         * inftarg.c (child_ops): Don't initialize statically.
1710         (init_child_ops): New function, fills in child_ops.
1711         (_initialize_inftarg): Use it.
1712         (child_post_attach): Declare extern.
1713         (child_wait): Fix ambiguous parens.
1714         (child_attach_to_process): Remove unused local wstatus.
1715         (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
1716         child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
1717         child_has_forked, child_insert_exec_catchpoint,
1718         child_remove_exec_catchpoint): Return a value.
1719
1720 Mon Jan 11 16:43:44 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
1721
1722         * remote.c (remote_wait): Add inferior_pid to thread list only
1723         if it is not already there.
1724
1725 1999-01-11  Jason Molenda  (jsm@bugshack.cygnus.com)
1726
1727         * scm-tags.h: Update FSF's address on copyright notice.
1728         * ser-e7kpc.c: Same.
1729         * gnu-nat.h: Same.
1730
1731 Mon Jan 11 13:45:57 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
1732
1733         * dwarf2read.c (dump_die):  Change stderr to gdb_stderr.
1734         * expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
1735         * jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
1736         * stack.c (struct function_bounds):  Remove superfluous `typedef'.
1737         * symfile.c (list_overlays_command):  stdout => gdb_stdout.
1738         * symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
1739         * utils.c (print_spaces):  Make more efficient.
1740         
1741 Mon Jan 11 13:55:51 1999  David Taylor  <taylor@texas.cygnus.com>
1742
1743         * utils (print_spaces): fix arg to strcat; fix formatting.
1744
1745 Fri Jan  8 11:57:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
1746
1747         * exec.c (exec_ops): Don't initialize statically.
1748         (init_exec_ops): New function, fills in exec_ops.
1749         (_initialize_exec): Use it.
1750
1751 Thu Jan  7 17:50:15 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
1752
1753         Beta FR30 port.
1754         * fr30-tdep.c
1755         * config/fr30/tm-fr30.h
1756         
1757 Wed Jan  6 12:28:35 1999  David Taylor  <taylor@texas.cygnus.com>
1758
1759         * configure.in: Add an --enable-tui argument.  Construct
1760         tui/Makefile from tui/Makefile.in.  Use AM_PROG_CC_STDC.  If we
1761         have the GUI, then we need this to process libgui.h.
1762         (ENABLE_CFLAGS): define and export BUILD_TUI.
1763         (AC_CHECK_HEADERS): Add check for term.h.
1764         
1765         * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
1766
1767         * config.in, configure : regenerated.
1768
1769         * Makefile.in: Allow the TUI code to be conditionally enabled.
1770         (TUI_LIBRARY): New variable, value are set by the configuration
1771         script.  Set to the empty string when the TUI isn't enabled.
1772         (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
1773         tui/libtui.a directly.
1774         (BUILD_TUI): build the tui -- only when configured with
1775         --enable-tui.
1776         (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
1777         (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
1778         (all-tui): remove dependency from phony target.
1779         (c-exp.tab.c): use ylwrap instead of bison.
1780         (jv-exp.tab.c): ditto.
1781         (f-exp.tab.c): ditto.
1782         (m2-exp.tab.c): ditto.
1783         (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
1784         (SFILES): remove the above files
1785         (COMMON_OBS): remove somread.o
1786         (SFILES): Add the tui files to this, so they get included in etags
1787         tables.
1788         (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
1789         tui/libtui.a to the link list.
1790         (all-tui): New rule, which does a recursive make in the tui
1791         subdir.
1792         (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}.  And
1793         don't echo the make command.  This is closer to what the other
1794         recursions do.
1795         (HFILES_NO_SRCDIR): add hpread.h
1796         (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
1797         (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
1798         the new files.  Remove hpread.c, hpread.o
1799         (gdb$(EXEEXT)): Depend on the actual tui library, not on a
1800         fictitious target.  Since the fictitious target never existed,
1801         make would always relink.
1802         (tui/libtui.a): Always recurse to make sure the library is up to
1803         date.
1804
1805 Wed Jan  6 12:05:12 1999  Stan Shebs  <shebs@andros.cygnus.com>
1806
1807         * remote.c: Pacify --enable-build-warnings, reformat code
1808         to conform to standards, fix spelling errors.
1809         (ishex, stubhex, record_currthread, etc): Declare.
1810         (ishex, stubhex): Declare char arg as int.
1811         (pack_string): Comment out, never used but possibly useful.
1812         (threadref_to_int, remote_get_threadinfo, etc): Make static.
1813
1814 Wed Jan  6 11:43:32 1999  David Taylor  <taylor@texas.cygnus.com>
1815
1816         The following changes were made by Elena Zannoni
1817         <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
1818         part of a project to merge in changes made by HP.
1819
1820         * c-exp.y: use external flag hp_som_som_object_present to decide
1821         whether code was compiled by HP's compilers.  Add two new C++
1822         tokens for true and false.
1823         (yylex): check for template name is done differently for the
1824         HP/aCC compiler case.  Change some of the template processing code
1825         for handling HP aCC templates.  Handle true and false tokens.
1826         
1827 Tue Jan  5 11:13:36 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
1828
1829         * remote.c (record_curthread): Must not modify inferior_pid when
1830         called from wait_for_inferior.  Instead, if a new thread-id is
1831         detected, call add_thread.
1832         (MAGIC_NULL_PID): new macro, use instead of the magic number
1833         "42000".
1834         (remote_find_new_threads): if inferior_pid is unknown, get and use
1835         the current thread id.
1836         (remote_start_remote): on connecting, attempt to get the current
1837         thread id for inferior_pid.
1838         (remote_resume): If pid == -1, then resume any-thread (not the
1839         current thread specifically).  Also some cosmetic fixups.
1840         
1841         * thread.c (info_threads_command): don't initialize current_pid 
1842         until after call to FIND_NEW_THREADS (which may change inferior_pid).
1843         Also some cosmetic fixups.
1844         * infrun.c: cosmetic fixups and casts to avoid warnings.
1845         * infcmd.c: cosmetic fixups, mainly long lines.
1846         
1847 Tue Jan  5 11:55:57 1999  David Taylor  <taylor@texas.cygnus.com>
1848
1849         * target.c (noprocess): terminate sentence with a period.
1850         * breakpoint.c (catch_command_1): ditto.
1851
1852         * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
1853         testsuite losses with no real gain.
1854
1855         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
1856         if tm-*.h hasn't overridden default value.
1857
1858 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
1859
1860         * configure.in: Fix whitespace indentation for --help.
1861         * configure: Regenerated.
1862
1863 1999-01-04  Manuel Bouyer <bouyer@antioche.lip6.fr>
1864
1865         * main.c: Add --write command line option, document -w.
1866         * gdb.1: Document --write.
1867
1868 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
1869
1870         * configure.in: Require autoconf 2.12.1 or higher.
1871         * doc/configure.in: Ditto.
1872         * nlm/configure.in: Ditto.
1873         * rdi-share/configure.in: Ditto.
1874         * testsuite/configure.in: Ditto.
1875         * doc/Makefile.in: Don't hardcode $(SHELL).
1876         * nlm/Makefile.in: Ditto.
1877         * rdi-share/Makefile.in: Ditto.
1878         * testsuite/Makefile.in: Ditto.
1879
1880 Mon Jan  4 12:53:03 1999  Stan Shebs  <shebs@andros.cygnus.com>
1881
1882         * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
1883         inits of new fields, including ref to bogus field.
1884         (vx_ops, vx_run_ops): Make static.
1885
1886 Mon Jan  4 15:05:29 1999  David Taylor  <taylor@texas.cygnus.com>
1887
1888         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
1889         already defined in tm.h.
1890
1891         * inftarg.c: change <sys/unistd.h> to <unistd.h> and
1892         conditionalize its inclusion.
1893         * infttrace.c: ditto.
1894
1895 For older changes see ChangeLog-98
1896 \f
1897 Local Variables:
1898 mode: change-log
1899 left-margin: 8
1900 fill-column: 74
1901 version-control: never
1902 End: