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