* incorporate SKY-B changes (makes dual maintenance easier).
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
3dc96daa
RU
1start-sanitize-sky
2Sun Sep 20 23:11:41 1998 Ron Unrau <runrau@cygnus.com>
3
4 * incorporate SKY-B changes (makes dual maintenance easier).
5 * txvu-tdep.c (check_overlap): new function to guarantee that
6 overlays are either mapped or unmapped in their entirety.
7 * txvu-tdep.c (compress_blockvector): compress blockvectors correctly
8
9end-sanitize-sky
d2fce7f7
PS
10Fri Sep 18 07:53:08 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
11
12 * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
13 passing pid down to procfs_notice_signals.
14
082a0803
SG
15Wed Sep 16 14:57:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
16
17 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
18 failure.
19 * (define_symbol): Check return value from resolve_symbol_reference,
20 and drop symbol if it fails.
21
22Tue Sep 15 15:24:16 1998 Stu Grossman <grossman@fencer.cygnus.com>
23
24 * stabsread.c: Make all complaints static.
25 * Fix formatting of live range splitting code.
26 * (resolve_symbol_reference define_symbol resolve_live_range): Change
27 errors to complaints so that bad live range symbols won't abort the
28 entire symbol table. Handle errors by aborting just the current
29 symbol.
30 * (ref_init): Goes away. Folded into ref_add().
31 * (REF_MAP_SIZE): Put parens around parameter so that args like
32 `1 + 2' get handled correctly (yes, this was a real bug).
33 * (ref_add): Remove check for allocation failures. Not necessary
34 when using xrealloc(). Fix pointer arithmetic problem when clearing
35 memory. This and the previous patch prevent random SEGV's when there
36 are lots of live range symbols.
37
9d561e1e
NC
38Tue Sep 15 14:02:01 1998 Nick Clifton <nickc@cygnus.com>
39
40 * remote-rdi.c: Prevent multiple attempts to close the remote
41 connection.
42
b2d55813
AC
43Tue Sep 15 10:24:17 1998 Andrew Cagney <cagney@b1.cygnus.com>
44
45 * printcmd.c (examine_i_type): New static - type for instructions.
46 (do_examine): For "i" format, specify examine_i_type.
47 (do_examine): Call value_at_lazy instead of value_at so that
48 examine data is only fetched if it is used.
49 (x_command): If examine data was not fetched, set convenience
50 variable "__" to void.
51 (_initialize_printcmd): Initialize examine_i_type.
52
4a8051a8
MS
53Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
54
55 * blockframe.c (find_pc_sect_partial_function): use bfd section
56 of msymbol for end of section comparison.
57
74c1b0ba
MS
58Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
59
60 * tracepoint.c: clean up several unused variables and such.
05f1989d
ZR
61
62Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
63
64 * arm-tdep.c (arm_push_arguments): fixed frame construction
65
6a5c7685
MS
66Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
67
68 * mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
74c1b0ba 69
d7d7dd1b
SS
70Wed Sep 9 19:37:36 1998 Stan Shebs <shebs@andros.cygnus.com>
71
72 * dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
73 * os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
74
253ceee6
RU
75Wed Sep 9 11:39:05 1998 Ron Unrau <runrau@cygnus.com>
76
77 * blockframe.c(find_pc_sect_partial_function): look for min syms in
78 the same section when trying to guess the end of a function.
79 * symfile.c(list_overlays_command): use print_address_numeric
80 * remote-sim.c: export simulator_command
81start-sanitize-r5900
82 * tm-r5900.h: add COP0 registers
83end-sanitize-r5900
84start-sanitize-sky
85 * txvu-tdep.c: printvector and printvector-order commands
86 * tm-txvu.h: add COP0 registers
87 * mips-tdep.c: use NUM_CORE_REGS
88end-sanitize-sky
89
fc410908
JM
901998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
91
92 * breakpoint.c (bpstat_stop_status): Declare a bp match if the
93 current fp matches the bp->fp OR if the current fp is less than
94 the bp->fp if we're looking at a bp_step_resume breakpoint.
95
1f926de1
SS
96Tue Sep 8 19:42:58 1998 Stan Shebs <shebs@andros.cygnus.com>
97
98 * symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
99 not currently used.
100 * symfile.c (allocate_symtab): Deprecate use of
101 INIT_EXTRA_SYMTAB_INFO here.
102
da5328ae
SS
103Fri Sep 4 15:33:25 1998 Stan Shebs <shebs@andros.cygnus.com>
104
105 * README: Update remote debugging and testsuite info.
106
11ac7952
MA
107Thu Sep 3 13:50:20 1998 Mark Alexander <marka@cygnus.com>
108
109 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
110 pseudo-register, not the same as a3.
111 (D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
112 * mn10300-tdep.c (fix_frame_pointer): New function.
113 (set_movm_offsets): Use register number macros instead of
114 hard-coded constants.
115 (mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
116 (mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM;
117 use register number macros instead of hard-coded constants;
118 add missing parameter to call of mn10300_analyze_prologue.
119 (mn10300_frame_saved_pc): Use register number macros instead of
120 hard-coded constants.
121
e01b4200
ZR
122Tue Sep 1 12:04:57 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
123
124 Changes to support/fix ARM/ELF port. Use MAKE_MSYMBOL_SPECIAL for
125 both ELF and COFF;
126 * elfread.c (elf_symtab_read): use ELF specific macro
127 * coffread.c (coff_symtab_read): use COFF_MAKE_MSYMBOL_SPECIAL()
128 * arm-tdep.c: separate COFF and ELF thumb processing
129 disable --mapcs-float processing
130 * dwarf2read.c: Disabled building of minimal symbols
131 * config/arm/tm-arm.h: new macros for distinguishing arm/thumb
132 * config/mips/tm-mips.h: use ELF specific macro
133
d5adad6a
TT
134Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com>
135
136 * top.c (context_hook): Define.
137
290bc185
MS
138Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
139
140 * ax-gdb.c (gen_var_ref): Allow for typedef types.
d5adad6a 141 (gen_cast, gen_bitfield_ref, gen_expr, gen_deref): ditto.
290bc185 142
98760699
MS
143Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
144
145 * tracepoint.c (collect_symbol): Handle register doubles that
146 are stored in two registers.
147
ce8f5b49
MA
148Mon Aug 24 14:39:08 1998 Mark Alexander <marka@cygnus.com>
149
150 * sh-stub.c (undoSStep): Improve comment.
151 * sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
152 same method on both 32-bit and 64-bit machines.
153 * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
154 support hardware breakpoints.
155 * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
156
ae69b4c4
JM
1571998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)
158
159 * rdi-share/Makefile.am (INCLUDES): Fix typeo.
160 * rdi-share/Makefile.in: Regenerated.
161
c0ca074b
JM
1621998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
163
164 * rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
165 * rdi-share/Makefile.in: Regenerated.
166
67205639
KS
1671998-08-19 Keith Seitz <keiths@cygnus.com>
168
169 * v850ice.c (v850ice_stop): New function to stop the ICE.
170 (v850ice_load) Pass filename to ICE DLL.
171 (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
172 commands -- let the GUI do it so that it can retain control
173 of the display.
174
9ca743cf
AG
175Wed Aug 19 15:53:52 1998 Anthony Green <green@hoser.cygnus.com>
176
177 * i386v4-nat.c: Include sys/reg.h if present.
178
54f750d1
RH
179Wed Aug 19 03:07:53 1998 Richard Henderson <rth@cygnus.com>
180
181 * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.
182
6cf219ac
FN
1831998-08-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
184
185 * symtab.c (decode_line_1): For minimal symbol, SKIP_PROLOG to
186 make sure we stop after the frame pointer is locaded and backtrace
187 prints an accurate stack. Complements changes made on Mon Jul 27
188 10:45:56 1998
189 (decode_line_2): Replaced the whitespace after ">" in a prompt
190 which has been taken away by changes made on Sun Jul 19 02:11:45
191 1998
192
a3603553
KS
1931998-08-18 Keith Seitz <keiths@cygnus.com>
194
195 * stack.c: Define new hook, selected_frame_level_changed_hook, which
196 will be called whenever the selected stack level changes.
197 (select_frame): Call the selected_frame_level_changed_hook.
198
d9c02b1e
SS
199Tue Aug 18 18:03:42 1998 Stan Shebs <shebs@andros.cygnus.com>
200
201 * remote-rdi.c (arm_rdi_open): Pass serial device name to
202 Adp_OpenDevice, and include it in error reports.
203
4ff3dfab
JM
2041998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
205
206 * configure.in: Add more header files to AC_CHECK_HEADERS.
207 * configure: Regenerated.
208
209 * command.c: Include wait.h or sys/wait.h if present.
210 * inftarg.c: Ditto.
211 * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
212 on autoconf test.
213 * infptrace.c: Ditto.
214
215 * expprint.c: Include ctype.h for isprint prototype.
216 * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
217 * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
218 present, based on autoconf test.
219
220 * utils.c: Include curses.h and term.h if present.
221 (puts_debug): Change 'carriage_return' local variable to return_p
222 to avoid name clash.
223
224 * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
225 determine it with autoconf.
226 * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
227 with autoconf.
228 * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
229 with autoconf.
230 * config/i386/nm-i386v.h: Ditto.
231 * config/i386/nm-symmetry.h: Ditto.
232 * config/m88k/xm-cxux.h: Ditto.
233 * config/m88k/xm-dgux.h: Ditto.
234
235 * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
236 * config/m68k/nm-delta68.h: Removed.
237
854b0c14
JL
238Fri Aug 14 11:14:03 1998 Jeffrey A Law (law@cygnus.com)
239
240 * mn10300-tdep.c (set_movm_offsets): Change second argument to
241 be the actual args to movm itself. All callers changed. Only set
242 fi->fsr.regs[x] if reg X is saved by the movm instruction.
243
cfd7cb29
PS
244Fri Aug 14 04:18:23 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
245
246 * sol-thread.c (lwp_to_thread): Fix error message for failing
247 td_ta_map_lwp2thr call.
248 (ps_lgetLDT): Mask off upper bits in GS register when comparing
249 with selector.
250
251Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com>
252
253 * remote-sim.c (simulator_command): Reset register cache after
254 simulator command.
255
d826d368
SG
256Wed Aug 12 09:00:26 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
257
258 * expprint.c (dump_prefix/postfix_expression): Don't try to print type
259 expressions.
260
433732f2
SG
261Tue Aug 11 11:33:25 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
262
263 * c-typeprint.c (c_print_type): Don't crash if varstring is null.
264 * expprint.c expression.h (dump_expression): Rename to
265 dump_prefix_expression.
266 * Print out the expression in normal form. Call print_longest
267 instead of trying to do it ourselves.
268 * (dump_postfix_expression): New function, prints out the expression
269 with indentation and better formatting and interpretation.
270 * parse.c (parse_exp_1): Put calls to dump expressions under ifdef
271 MAINTENANCE_CMDS and expressiondebug variable.
272
273Thu Aug 6 13:20:02 1998 Ron Unrau <runrau@cygnus.com>
274
275 * infrun.c (wait_for_inferior): use stop_func_name instead of
276 stop_func_start to decide that no debug info exists.
277
e417b893 278start-sanitize-sky
b620406a
RU
279Thu Aug 6 13:15:05 1998 Ron Unrau <runrau@cygnus.com>
280
281 * txvu-tdep.c: add VU0/1 control registers
282 * config/mips/tm-txvu.h: ditto
283
05ee9089
RU
284Tue Aug 4 11:02:50 1998 Ron Unrau <runrau@cygnus.com>
285
286 * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is
287 set to correct VU memory space.
288 (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc
289 * config/tm-txvu.h: use new track-table address
290 Do note define BREAKPOINT_FROM_PC anymore
291
e417b893
RU
292Fri Jul 31 16:06:05 1998 Ron Unrau <runrau@cygnus.com>
293
294 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
295 * mips-tdep.c: use NUM_CORE_REGS
296 * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
297 (txvu_insert_breakpoints): use VIF interrupt bit
298
299end-sanitize-sky
300Thu Jul 30 13:53:50 1998 Mark Alexander <marka@cygnus.com>
301
302 * mips-tdep.c (mask_address_p): New variable.
303 (mips_addr_bits_remove): Test mask_address_p to decide whether
304 to mask off the upper 32 bits of addresses.
305 (_initialize_mips_tdep): Add command to set mask_address_p.
306 (mips_call_dummy_address): New function.
307 * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
308 call mips_call_dummy_address.
309
4ef0351d
FN
3101998-07-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
311
312 * symfile.c (add_symbol_file_command): Test for the from_tty
313 parameter and avoid query when not interactive.
314
6185f899
JL
315start-sanitize-am33
316Wed Jul 29 10:39:29 1998 Jeffrey A Law (law@cygnus.com)
317
318 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
319 registers if we are not in am33 mode.
320 (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
321 (set_machine_hook): Keep track of whether or not we're in am33 mode.
322
323end-sanitize-am33
0745a748
MS
324Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
325
326 * tracepoint.c (remote_set_transparent_ranges): new function.
327 Send the start and end addresses of all loadable read-only
328 sections down to the trace target, so that it can treat them
329 as "transparent" (ie. don't care if they were collected or not).
330
5ef103c0
MA
331Mon Jul 27 15:38:07 1998 Mark Alexander <marka@cygnus.com>
332
333 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
334 for setting frame address in optimized code; made unnecessary
335 by compiler fixes.
336
55d3002f
MH
337Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
338
339 * symtab.c (decode_line_1): For minimal symbol, call
340 find_pc_sect_line() to make sure the line number gets set
341 properly.
342 (print_symbol_info): Redeclare function void.
343
2926766b
JM
3441998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
345
346 * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The
347 stack pointer et al are synthesized from the SP_REGNUM (etc)
348 defines and should not be mentioned in REGISTER_NAMES.
349
b5b59a3c
JL
350start-sanitize-am33
351Mon Jul 27 08:54:41 1998 Jeffrey A Law (law@cygnus.com)
352
353 * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
354 by am33 register saves.
355 (mn10300_frame_saved_pc): Similarly.
356
357end-sanitize-am33
8d6476c7
MS
358Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
359
360 * tracepoint.c (encode_actions): Treat register names and simple
361 variable names as special cases and don't convert them to byte-
362 codes: these things can be collected far more efficiently
363 without invoking the bytecode interpreter.
364
bd06c4e4
MA
365Fri Jul 24 13:32:46 1998 Mark Alexander <marka@cygnus.com>
366
367 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
368 work on hosts of any endianness.
4448ace2 369 * config/i386/tm-i386v.h: Ditto.
bd06c4e4 370
52e4073c
MA
371Fri Jul 24 07:41:12 1998 Mark Alexander <marka@cygnus.com>
372
373 * mn10300-tdep.c (set_movm_offsets): New helper function
374 for mn10300_analyze_prologue.
375 (mn10300_analyze_prologue): Simplify by factoring out common code.
376 Fix bugs in setting frame address for optimized code.
377 Use read_memory_nobpt instead of target_read_memory.
378
f32fa053
MS
379Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
380
381 * tracepoint.c (collect_symbol): handle LOC_ARG case.
382
79dc9305
DP
383Thu Jul 23 15:07:40 1998 Dawn Perchik <dawn@cygnus.com>
384
385 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
386 in a function prologue before the SAVE instruction.
387 (sparc_frame_saved_pc): Ditto.
388 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
389
dd473edc
DP
390Thu Jul 23 14:58:09 1998 Dawn Perchik <dawn@cygnus.com>
391
392 * i386-tdep.c (i386_get_frame_setup): Recognize function
393 prologues in code compiled with -fcheck-stack.
394
2474bfd7
DP
395Thu Jul 23 14:49:27 1998 Dawn Perchik <dawn@cygnus.com>
396
397 * remote-mips.c (remote_mips_insert_hw_breakpoint,
398 remote_mips_remove_hw_breakpoint): New functions for hardware
399 breakpoints on LSI targets.
400 * config/mips/tm-embed.h (target_remove_hw_breakpoint,
401 target_insert_hw_breakpoint): Define to call
402 remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
403 respectively.
404
f07122bc
IC
405start-sanitize-sky
406Thu Jul 23 13:00:28 1998 Ian Carmichael <iancarm@cygnus.com>
407
408 * txvu-tdep.c: (VU0_MEM0_WINDOW_START, VU1_MEM0_WINDOW_START)
409 Changed to use addresses in kseg1 range.
410
411end-sanitize-sky
4121998-07-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
413
414 * source.c (print_source_lines): Print "No such file or directory"
415 just once.
416 (directory_command): same as above; resets if user issues dir.
417
4d14b252
MH
418Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
419
420 * symtab.c (decode_line_2): Instead of printing a prompt
421 and calling command_line_input() without a prompt, just
422 call it with the proper args. This makes the GUI work too.
423
36297ff3
RU
424Fri Jul 17 9:26:50 1998 Ron Unrau <runrau@cygnus.com>
425
426 * blockframe.c (find_pc_sect_partial_function): allow for the possi-
427 bility of multiple symbols at the same address when finding high.
428 * breakpoint.c (resolve_sal_pc): if the function based section lookup
429 fails, try getting the section from the minimal symbol table.
430 * parse.c (write_exp_msymbol): use symbol_overlayed_address to get
431 the LMA of a minimal symbol if unmapped.
432 * symtab.c (find_line_symtab): change interface to return symtab
433 containing the best linetable found.
434 (decode_line_1): use find_line_symtab to set val.symtab. This should
435 improve support for source files with multiple symtabs.
436start-sanitize-sky
437 * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
438end-sanitize-sky
439
895cc8ab
KS
440Wed Jul 15 11:51:33 1998 Keith Seitz <keiths@cygnus.com>
441
442 * main.c (main): Fix violations of GNU coding standard.
443
444 * breakpoint.c: Export delete_command.
445
446 * infcmd.c: Export continue_command, stepi_command, and nexti_command.
447
448 * Makefile.in: Add target for v850ice.o.
449
450 * configure.tgt: Add cygwin32 dependencies for v850 ice.
451
e1f1ed1a
NC
452Wed Jul 15 10:58:29 1998 Nick Clifton <nickc@cygnus.com>
453
454 * tracepoint.c (set_raw_tracepoint): Cope with symbols that do not
455 have an associated directory.
456
457Mon Jul 13 15:21:04 1998 Mark Alexander <marka@cygnus.com>
458
459 * utils.c (puts_debug): Display non-printable characters in hex
460 instead of octal.
461
f05bd277
JL
462Thu Jul 9 16:16:47 1998 Jeffrey A Law (law@cygnus.com)
463
464 * mn10300-tdep.c (mn10300_generic_register_names): New variable.
465 (set_machine_hook): New function. Copy the appropriate register
466 names into reg_names.
467 (_initialize_mn10300_tdep): Set up to call set_machine_hook.
468 * tm-mn10300 (NUM_REGS): Bump to 32.
469 (REGISTER_NAMES): Updated accordingly.
470
471start-sanitize-am33
472 * mn10300-tdep.c (am33_register_names): New variable.
473 (mn10300_analyze_prologue): Handle regs saved by am33 prologues.
474 * tm-mn10300.h (E0_REGNUM): Define.
475end-sanitize-am33
476
89f015d7
RU
477Tue Jul 7 7:40:13 1998 Ron Unrau <runrau@cygnus.com>
478
479 * symtab.c (find_pc_sect_psymbol): allow case where textlow is 0
480
8d3c21b3
FCE
481Thu Jul 2 15:57:58 1998 Frank Ch. Eigler <fche@cygnus.com>
482
483 * breakpoint.c (resolve_sal_pc): Accept absence of innermost
484 Lexical block for breakpoint resolution.
485
3acd0db5
DP
486Thu Jul 2 10:22:00 1998 Dawn Perchik <dawn@cygnus.com>
487
488 * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
489 section, but just don't add a 2nd minimal symbol if this is an .mdebug
490 section in an ELF file.
491
40d8aa2c
JB
4921998-07-01 Jim Blandy <jimb@zwingli.cygnus.com>
493
494 * Makefile.in (ax-general.o): Depend on $(defs_h) too.
495 (ax_h): Bother to define this.
496
d40d5880
JM
497Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
498
499 * gnu-regex.c (re_comp): Add cast to char * before gettext calls.
500
655a27b0
PS
501Sun Jun 28 11:35:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
502
503 Improve support for SunPro F77.
504 * dbxread.c (end_psymtab, process_one_symbol): Handle minimal
505 symbols with trailing underscore names.
506 * minsyms.c (find_stab_function_addr): Ditto.
507 * dbxread.c (process_one_symbol): Ignore N_ALIAS for now.
508 * partial-stab.h (case N_ALIAS): Ditto.
509 * stabsread.c (read_sun_builtin_type): Handle boolean types.
510
7f6cb62e
KS
511Fri Jun 26 14:03:01 1998 Keith Seitz <keiths@cygnus.com>
512
513 * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
514 TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by
515 new search_symbols.
516 Add prototype for search_symbols and free_search_symbols.
517
518 * symtab.c (list_symbols): Rewrite to use new search_symbols.
519 (file_matches): New helper function for search_symbols.
520 (free_search_symbols): New function which frees data returned from
521 search_symbols.
522 (print_symbol_info): New helper function which prints info about a
523 matched symbol to stdout. Extracted from old list_symbols.
524 (print_msymbol_info): New helper function which prints info about
525 a matched msymbol to stdout. Extracted from old list_symbols.
526 (symtab_symbol_info): Extracted from old list_symbols.
527 (variables_info): Use symtab_symbol_info.
528 (functions_info): Use symtab_symbol_info.
529 (types_info): Use symtab_symbol_info.
530 (rbreak_command): Rewrite to use new search_symbols.
531
d3f153ad
FCE
532Thu Jun 25 22:38:32 1998 Frank Ch. Eigler <fche@cygnus.com>
533
534 * mips-tdep.c (mips_push_arguments): Use 128-bit stack frame
535 alignment for inferior calls.
536
9d4cd1e8
MA
537Wed Jun 24 23:17:12 1998 Mark Alexander <marka@cygnus.com>
538
539 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
540 of jsr target address.
541
2f75adc0
MA
542Tue Jun 23 19:37:46 1998 Mark Alexander <marka@cygnus.com>
543
544 * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
545 zero upper byte of address.
546
75621b2b
MS
547Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
548
549 * rs6000-tdep.c (pop_dummy_frame): use memcpy.
550 (push_arguments): use memset.
551 (various other places): fix up indentation and long lines.
552
59bbabf5
JM
553Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
554
555 * configure.in: s/lXext/-lXext/ for Jillian's change.
556
a00dfa36
MS
557Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
558
d32d4319
MS
559 * source.c (find_source_lines): fix indentation.
560
a00dfa36
MS
561 * config/mips/tm-irix5.h: Modify to work better on irix 6, by
562 making FP registers 8 bytes instead of 4.
563 REGISTER_BYTES: redefine. REGISTER_BYTE(): redefine.
564 REGISTER_VIRTUAL_TYPE: redefine. MIPS_LAST_ARG_REGNUM: redefine.
565 * irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
566 * mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
567 targets with 8-byte FP registers (don't use TARGET_MIPS64).
568 (STACK_ARGSIZE): new macro, how much space is taken up on the
569 stack for each function argument (don't use TARGET_MIPS64).
570 (mips_push_arguments): modify logic to work better on Irix 6
571 (n32 ABI).
572
f915cc91
JY
573Tue Jun 23 12:29:53 1998 Jillian Ye <jillian@cygnus.com>
574
575 * configure.in: Add -lXext to mips_extra_libs
59bbabf5 576 * configure: Regenerated.
f915cc91
JY
577
578Sun Jun 21 09:31:12 1998 Ron Unrau (runrau@cygnus.com)
579
580 * symtab.c (find_line_pc): assumed that a PC of 0 is illegal.
581 Changed to pass PC as arg and return 1 if valid (0 otherwise).
582 symtab.h: change prototype to match
583 symtab.c (find_line_pc_range): use new interface
584 breakpoint.c (resolve_sal_pc): ditto
585 gdbtk.c (gdb_set_bp): ditto
586
587Wed Jun 17 15:50:00 1998 Ron Unrau (runrau@cygnus.com)
588
589 * parse.c (target_map_name_to_register): Check target specific
590 aliases *first* so that it can over-ride architectural names
591
959941e7
SZ
592Wed Jun 17 17:13:38 1998 Said Ziouani (saidz@park-street.cygnus.com)
593
594 * remote-sds.c (sds_start_remote): Fix printf call.
595
40fad493
MA
596Tue Jun 16 16:32:08 1998 Mark Alexander <marka@cygnus.com>
597
598 * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
599 crash when in "start".
600
ec076280
RU
601Tue Jun 16 14:38:40 1998 Ron Unrau (runrau@cygnus.com)
602
603 * dbxread.c: reset function_start_offset after a finishing N_FUN
604 is seen.
605 * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override
606 target vectors as needed.
607
c4faac32
RU
608Sun Jun 14 08:46:25 1998 Ron Unrau (runrau@cygnus.com)
609
610 * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
611 CUR_SYMBOL_VALUE as CORE_ADDR instead of long
612 * buildsym.[ch]: export pending_blocks list
613
47963370
DP
614Sat Jun 13 13:02:32 1998 Dawn Perchik (dawn@cygnus.com)
615
616 * remote.c : Fix remote help string to match that of help.exp.
617
15125484
JM
618Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
619
620 * configure.in (LIBS): Add -lw to the list of libraries if needed.
621
622Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
623
624 * btowc.c: Removed.
625 * configure.in: Don't see if we need to replace btowc().
626 * Makefile.in: Don't include LIBOBJS.
627 * configure: Regenerated.
628 * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
629 we have btowc().
630
f6d23b6f
SG
631Wed Jun 10 15:39:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
632
633 * c-exp.y: Fix problems with parsing "'foo.bar'::func". Some languages
634 allow symbols with dots.
635
636 * gdbtypes.c (check_stub_method): Cosmetic. Use more descriptive
637 names for parameters.
638
639start-sanitize-java
640 * jv-exp.y: Parser now accepts primitive types.
641 * (parse_number): Use correct ifdef for scanf long double support.
642 * jv-lang.c (java_array_type): Initial cut at array support.
643
644end-sanitize-java
645 * language.c language.h (set_language): Now returns previous language.
646
647 * symtab.c (find_methods): Make static. Cosmetic changes, including
648 indentation, and adding descriptive comments. Move local variable defs
649 into the block they are used in.
650 * Don't call check_stub_method any more. Use gdb_mangle_name to
651 generate the full method name. find_method doesn't need all the other
652 goobldegook that check_stub_method does.
653 * (gdb_mangle_name): Use more descriptive names for parameters. Fix
654 comment.
655start-sanitize-java
656 * (lookup_partial_symbol lookup_block_symbol): Check for java to
657 ensure we can find mangled names.
658end-sanitize-java
659 * (decode_line_1): Move local variable defs into the block they are
660 used in. (Improves code readability.)
661
7924771e
FCE
662Wed Jun 10 18:04:35 1998 Frank Ch. Eigler <fche@cygnus.com>
663
664 * gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for
665 all-positive enum.
666 (create_set_type): Ditto for all-positive set values.
667 * values.c (unpack_field_as_long): Check for typedef in struct
668 field unpacking.
669
9ed669cf
JM
670Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
671
672 * configure.in: Add some tests for gnu-regex.c's benefit.
673 See if btowc() function is provided in C library.
674 * configure, config.in: Regenerated.
675 * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
676 if necessary.
677 * btowc.c: New file.
678
679 * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
680 benefit.
681 Drop namespace preserving defines for now.
682
a4122443
JM
683Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
684
685 * gnu-regex.c: Include "gnu-regex.h", not "regex.h".
686
9408296b
JM
687Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)
688
689 * gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license
690 to stay consistent with the rest of GDB.
691
9f85ab1a
JM
692Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)
693
694 * gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.
695
f7065e88
MS
696Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
697
9f85ab1a 698 * printcmd.c (disassemble_command): move overlay mapping code
f7065e88
MS
699 "up" into find_pc_partial_function.
700 * blockframe.c (find_pc_partial_function): adjust start address
701 and end address for overlays (mapped vs. unmapped addresses),
702 so that all callers of this function may benefit.
703 * m32r-tdep.c (m32r_skip_prologue): adjust indentation.
704
a2266bed
RU
705Mon Jun 8 16:08:10 1998 Ron Unrau <runrau@cygnus.com>
706
707 * objfiles.c (add_to_objfile_sections): All targets to define
708 TARGET_KEEP_SECTION to permit them to retain bfd sections that
709 GDB would otherwise have discarded.
710
705b12df
DE
711Fri Jun 5 13:56:19 1998 Doug Evans <devans@canuck.cygnus.com>
712
713 * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab.
714
0e05ecee
SS
715Thu Jun 4 18:35:04 1998 Stan Shebs <shebs@andros.cygnus.com>
716
717 * remote.c (init_extended_remote_ops): Make extended_remote_ops
718 by copying from remote_ops, move it and init_remote_ops to
719 usual place at end of file, remove "void" from arg lists.
720
ce56660d
MA
721Thu Jun 4 17:51:06 1998 Mark Alexander <marka@cygnus.com>
722
723 * sparc-tdep.c (sparc_fix_call_dummy): Byte-swap the call dummy
724 on bi-endian machines.
725 (sparc_extract_return_value): Handle values smaller than int on
726 machines with little-endian data.
727 (sparc_target_architecture_hook): Set bi_endian flag.
728
d6b6757b
MS
729Thu Jun 4 12:14:48 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
730
731 * printcmd.c (disassemble_command): Fix off-by-one error for
732 disassembling functions in unmapped overlay sections.
733
ecc6e842
EZ
734Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
735
736 * remote.c: merged.
737
738 - Jim Blandy <jimb@zwingli.cygnus.com>
739 (print_packet, remote_packet_command): New functions.
740 (_initialize_remote): Register the remote-packet command.
741 - David Taylor <taylor@texas.cygnus.com>
742 (_initialize_remote): remote-compare is now
743 compare-sections.
744 - Elena Zannoni <ezannoni@kwikemart.cygnus.com>
745 (remote_compare_command): added warning, issued in case
746 of mismatch only.
747
b85cf6ae
MS
748Thu Jun 4 08:25:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
749
750 * remote.c (remote_compare_command): New function, new command.
751 Compare object file binary image with corresponding memory on
752 remote target. Report differences.
753
cda8a2bb
MA
754Tue Jun 2 19:05:04 1998 Mark Alexander <marka@cygnus.com>
755
756 * sparc-tdep.c (sparc_target_architecture_hook): Set target
757 byte order only when it's selectable.
758
33c65ba3
MA
759Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com>
760
761 * sparc-tdep.c (sparc_target_architecture_hook): New function to
762 set endianness based on machine type.
763 (_initialize_sparc_tdep): Initialize target_architecture_hook.
764 (sparc_print_register_hook): Print PSR and FPSR in fancy format
765 on 32-bit machines.
766 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
767 call sparc_print_register_hook instead of using inline code.
768 * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
769
47792960
KS
770Thu May 28 17:19:14 1998 Keith Seitz <keiths@cygnus.com>
771
772 * main.c (main): Check for NULL from getenv on CYGWIN32.
773
774Thu May 28 09:41:44 1998 Nick Clifton <nickc@cygnus.com>
775
776 * monitor.c (monitor_vsprintf): Handle %%. Patch courtesy of
777 Felix Lee (flee@cygnus.com)
778
f893ebe3
PS
779Thu May 28 00:27:35 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
780
781 * mips-tdep.c (mips_push_dummy_frame): Fix calculation of
782 PROC_REG_OFFSET and PROC_FREG_OFFSET.
783
ea45efcf
AC
784Mon Apr 27 14:37:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
785
786 * config/v850/tm-v850.h (REGISTER_BYTE): FP_REGNUM and
787 FP_RAW_REGNUM use the same register location.
788
789 * v850-tdep.c (v850_scan_prologue): Use FP_RAW_REGNUM instead of
790 FP_REGNUM.
791 (v850_frame_chain): Ditto.
792
793 * config/v850/tm-v850.h (REGISTER_NAMES): Add "fp".
794 (NUM_REGS): Update.
795 (FP_REGNUM): Update.
796 (FP_RAW_REGNUM): Define.
797
f893ebe3
PS
798Wed May 27 14:22:31 1998 Keith Seitz <keiths@cygnus.com>
799
800 * main.c (main): Convert the path returned from getenv to a posix
801 path on cygwin32 hosts.
802
6ac0c55d
KS
803Mon May 25 13:31:27 1998 Keith Seitz <keiths@cygnus.com>
804
822730df
JM
805 * remote.c (remote_open_1): If an error occurs starting the remote,
806 pop the target AND return.
6ac0c55d 807
be5f18e1
PS
808Sat May 23 02:23:09 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
809
810 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
811 on C++ functions.
812 * valops.c (value_arg_coerce): Add new argument to indicate whether
813 the function has a prototype, handle integer and float promotions
814 accordingly.
815 (call_function_by_hand): Always call value_arg_coerce, pass down
816 prototype information.
817
3ff4b4c6
JM
818Fri May 22 10:56:36 1998 John Metzler <jmetzler@cygnus.com>
819
820 * remote.c (_initialize_remote): Typo extended__remote
821
c719b714 822Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
b0cf9ee2 823
c719b714 824 * gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
b0cf9ee2
JM
825 (_initialize_gnu_nat): Call new init
826 * mac-nat.c (init_child_ops): Ditto.
827 (_initialize_mac_nat): Ditto.
828 * monitor.c (init_base_monitor_ops): Ditto.
829 (_initialize_remote_monitors): Ditto.
830 * ppc-bdm.c (init_bdm_ppc_ops): Ditto.
831 (_initialize_bdm_ppc): Ditto.
832 * remote-adapt.c (init_adapt_ops): Ditto.
833 (_initialize_remote_adapt): Ditto.
834 * remote-array.c (init_array_ops): Ditto.
835 (_initialize_array): Ditto.
836 * remote-bug (init_bug_ops): Ditto.
837 (_initialize_remote_bug): Ditto.
838 * remote-e7000.c (init_e7000_ops): Ditto.
839 (_initialize_remote_e7000): Ditto.
840 * remote-eb.c (init_eb_ops): Ditto.
841 (_initialize_remote_eb): Ditto.
842 * remote-es.c (init_es1800_ops): Ditto.
843 (init_es1800_child_ops): Ditto.
844 (_initialize_es1800): Ditto.
845 * remote-hms.c (init_hms_ops): Ditto.
846 (_initialize_remote_hms): Ditto.
847 * remote-mm.c (init_mm_ops): Ditto.
848 (_initialize_remote_mm): Ditto.
849 * remote-nindy.c (init_nindy_ops): Ditto.
850 (_initialize_nindy): Ditto.
851 * remote_nrom.c (init_nrom_ops): Ditto.
852 (_initialize_remote_nrom): Ditto.
853 * remote-os9k (init_rombug_ops): Ditto.
854 (_initialize_remote_os9k): Ditto.
855 * remote-rdi.c (init_rdi_ops): Ditto.
856 (_initialize_remote_rdi): Ditto.
857 * remote-rdp.c (init_remote_rdp_ops): Ditto.
858 (_initialize_remote_rdp): Ditto.
859 * remote-sds.c (init_sds_ops): Ditto.
860 (_initialize_remote_sds): Ditto.
861 * remote-sim.c (init_gdbsim_ops): Ditto.
862 (_initialize_remote_sim): Ditto.
863 * remote-st.c (init_st2000_ops): Ditto.
864 (_initialize_remote_st2000): Ditto.
865 * remote-udi.c (init_udi_ops): Ditto.
866 (_initialize_remote_udi): Ditto.
867 * remote-vx.c (init_vx_ops): Ditto.
868 (init_vx_run_ops): Ditto.
869 (_initialize_vx): Ditto.
870 * remote.c (init_remote_ops): Ditto.
871 (init_extended_remote_ops): Ditto.
872 (_initialize_remote): Ditto.
873 * sparcl-tdep.c (init_sparclite_ops): Ditto.
874 (_initialize_sparcl_tdep): Ditto.
875 * v850ice.c (init_850ice_ops): Ditto.
876 (_initialize_v850ice): Ditto.
877 * win32-nat.c: (init_child_ops): Ditto.
878 (_initialize_inftarg): Ditto.
c719b714 879
b0d7af2a
MS
8801998-05-21 Jim Blandy <jimb@zwingli.cygnus.com>
881
882 * ax-gdb.c (const_var_ref): Don't handle function names. I don't
883 want to implement all the "usual unary conversion" rules for
884 constants.
885 (gen_usual_unary): Turn "function" values into "pointer to
886 function" values, in accordance with ANSI.
887 (gen_deref): Don't do the usual unary conversions here. Let the
888 caller do it. Note that dereferencing a function pointer yields
889 a function designator, which we call an rvalue, not an lvalue.
890 (gen_address_of): Handle functions specially.
891 (gen_struct_ref): Perform the usual unary conversions before
892 calling gen_deref.
893 (gen_expr): In case for the prefix '*' operator, call
894 gen_usual_unary manually.
895
116b98b8
GRK
896Wed May 20 15:29:41 1998 Gavin Koch <gavin@cygnus.com>
897
78af0a00
JM
898 * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE): Defined as MIPS_FPU_NONE.
899 * mips/tm-tx39l.h: Same.
116b98b8 900
40fd928f
JM
901Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
902
903 * m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
904 Split out as separate function called by skip prologue and scan
905 prologue. new formula handles optimization in which the prologue
906 is interleaved with the body of the function. Also recognizes new
907 variations of prologue encoding. Use of frame pointer is
908 essential to debugging, -fno-omit-frame-pointer
909 (m32r_skip_prologue): Call decode prologue, ignore line info
910 (m32r_scan_prologue): Call decode prologue, ignore line info.
911
5d460ad9
JM
912Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
913
78af0a00
JM
914 * w89k-rom.c (_initialize_w89k): Call new init function
915 (init_w89k_cmds): Convert to dynamic initialization of monitor_ops
916 data structure for forward compatability with additions to the
917 data structure.
5d460ad9 918 * dbug-rom.c (_initialize_dbug_rom): ditto
78af0a00
JM
919 (init_dbug_cmds): ditto
920 * m32r-rom.c (_initialize_m32r_rom): ditto
921 (init_m32r_cmds): ditto
5d460ad9 922
b0d7af2a
MS
923Tue May 19 14:54:11 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
924
925 * tracepoint.c (memrange_cmp): use const void * args to avoid
926 ANSI compiler warnings.
927
9281998-05-19 Jim Blandy <jimb@zwingli.cygnus.com>
929
930 * ax-gdb.c (gen_fetch, gen_var_ref, gen_deref, find_field,
931 gen_bitfield_ref, gen_expr): Call error, not abort.
932 * ax-general.c (read_const, generic_ext, ax_trace_quick,
933 ax_label, ax_const_d, ax_reg, ax_print): Same.
934
935 * tracepoint.c: Remove the $(...) syntax for memranges.
936 (validate_actionline, encode_actions, trace_dump_command): Remove
937 clauses for the $(...) syntax.
938 (parse_and_eval_memrange): Function deleted.
939 (_initialize_tracepoint): Update function description.
940
941 * gdbtk.c (struct wrapped_call_objs): Change the `func' member to
942 be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
943 of objects as arguments. Change the object vector to be const,
944 since that's what all the users of this structure seem to expect.
945 (call_obj_wrapper): Cast clientData properly before storing it in
946 the wrapped_args structure.
947
948 * ax-gdb.c (_initialize_ax_gdb): Make the "agent" command a
949 subcommand of "maintenance", as it should have been from the
950 beginning. #include "gdbcmd.h", to get the declaration for
951 maintenancelist.
952 * Makefile.in: Document that dependency.
953
954Tue May 19 12:00:58 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
955
956 * tracepoint.c (get_tracepoint_by_number): new function, to access
957 traceframe_number for use of the GUI.
958
959 * tracepoint.h: added prototype for get_traceframe_number.
960
d4d1c7b5
KS
961Mon May 18 13:34:27 1998 Keith Seitz <keiths@cygnus.com>
962
963 * dbxread.c (process_one_symbol): If block addresses are relative to
964 function start addresses, reset function_start_address whenever a new
965 source file is seen.
966
b0d7af2a
MS
967Mon May 18 13:04:27 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
968
969 * tracepoint.c (get_tracepoint_by_number): make sure to advance
970 arg pointer even if we fail to parse a useful number. Otherwise,
971 since this function is called in a loop, it may loop forever!
972 Also change strtol call to allow arbitrary radix.
973 (map_args_over_tracepoints (and other places)): add QUIT; call
974 to loop, to allow breakout using control-C. Not all loops were
975 analyzed to make sure they could terminate cleanly, but even
976 terminating with a messed-up tracepoint list would be better
977 than not terminating at all!
978 (tdump_command): check to see if we're connected to a trace-
979 capable target (currently only "remote") before doing anything
980 else.
981
c19916b7
FCE
982Sat May 16 22:21:48 1998 Frank Ch. Eigler <fche@cygnus.com>
983
984 * config/d30v/tm-d30v.h (INIT_FRAME_PC_FIRST): Fill in PC into
985 frame struct before extracting saved register offsets.
b0d7af2a
MS
986
987Fri May 15 22:47:45 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
988
989 * tracepoint.c (encode_actions): fix typo in printf format string.
990
9911998-05-15 Jim Blandy <jimb@zwingli.cygnus.com>
992
993 Implement a few more tracing operators: ^ | & ~ !
994 * ax-gdb.c (gen_integral_promotions, gen_logical_not,
995 gen_complement): New functions.
996 (gen_binop): New argument MAY_CARRY, indicating whether we need to
997 correct the upper bits of the value after performing the
998 operation. Callers changed.
999 (gen_expr): Handle BINOP_BITWISE_AND, BINOP_BITWISE_IOR, and
1000 BINOP_BITWISE_XOR here as well, by calling gen_binop. Handle
1001 UNOP_LOGICAL_NOT, UNOP_COMPLEMENT.
1002
1003 * ax-gdb.c (gen_conversion): Reworked to avoid some unnecessary
1004 sign extension.
1005
1006 * ax-gdb.c (gen_usual_arithmetic): Renamed from gen_usual_binary,
1007 to match the ANSI C standard better. Callers changed.
1008
1009 * ax-gdb.c (gen_traced_pop): Add prototyped declaration.
1010
1011Fri May 15 18:18:38 1998 David Taylor <taylor@texas.cygnus.com>
1012
1013 * tracepoint.c (stringify_collections_list): return a collection
1014 of strings rather than a single string.
1015 (free_actions_list): new function.
1016 (encode_actions): process collection of strings returned by
1017 stringify_collections_list.
1018
10191998-05-15 Jim Blandy <jimb@zwingli.cygnus.com>
1020
1021 * ax-gdb.c (gen_traced_pop): New function.
1022 (gen_expr): Call it for comma operator.
1023 (gen_trace_for_expr): Call it, instead of writing it out.
1024
1025 Add facilities for sending arbitrary packets to the remote agent.
1026 There are a bunch of improvements to make (make it generic; handle
1027 'O' replies properly), but I just want to get this onto the branch.
1028 * remote.c (print_packet, remote_packet_command): New functions.
1029 (_initialize_remote): Register the remote-packet command.
1030
1031Thu May 14 17:52:31 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1032
1033 * tracepoint.c: move actionline_type definition to tracepoint.h.
1034 (validate_actionline): make non static.
1035
1036 * tracepoint.h: move actioline_type definition from tracepoint.c.
1037 (validate_actionline) moved prototype from tracepoint.c.
1038
1039Thu May 14 11:49:18 1998 David Taylor <taylor@texas.cygnus.com>
1040
1041 * tracepoint.c (validate_actionline): add additional error
1042 checking, remove some dead code.
1043 (encode_actions): additional cleanups.
1044 (trace_find_command): remove some dead code.
1045 (trace_find_pc_command): ditto.
1046 (trace_find_tracepoint_command): ditto.
1047 (trace_find_line_command): ditto.
1048 (trace_find_range_command): ditto.
1049 (trace_find_outside_command): ditto.
1050
6e8bee16
SG
1051Thu May 14 5:51:00 1998 Ron Unrau <runrau@cygnus.com>
1052
1053 * symtab.c (decode_line_1): set section for "break *<addr>"
1054
091d7302
MA
1055Wed May 13 20:58:02 1998 Mark Alexander <marka@cygnus.com>
1056
1057 * corefile.c (reopen_exec_file): Reopen the exec file if
1058 it has changed.
1059
f151b17f
MA
1060Wed May 13 15:22:02 1998 Mark Alexander <marka@cygnus.com>
1061
1062 * sparc-tdep.c (fetch_instruction): New function.
1063 (single_step, sparc_init_extra_frame_info, examine_prologue):
1064 Use fetch_instruction instead of read_memory_integer
1065 to ensure that instructions are always read as big-endian.
1066
0aa3233e
ILT
1067Wed May 13 14:42:21 1998 Ian Lance Taylor <ian@cygnus.com>
1068
1069 * configure.in: Add AC_FUNC_ALLOCA.
1070 * defs.h: Check HAVE_ALLOCA_H rather than sparc. Add _AIX pragma
1071 alloca.
1072 * configure: Rebuild.
6e8bee16 1073start-sanitize-java
0aa3233e
ILT
1074 * Makefile.in (jv-lang.o, jv-typeprint.o, jv-valprint.o): New
1075 targets.
6e8bee16 1076end-sanitize-java
0aa3233e 1077
b0d7af2a
MS
1078Wed May 13 11:19:08 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1079
1080 * tracepoint.c (trace_command): Remove old diagnostic code that was
1081 preventing tracepoints from being defined with a full-path filename.
1082
c19916b7
FCE
1083Tue May 12 13:17:35 1998 Frank Ch. Eigler <fche@cygnus.com>
1084
1085 * stabsread.c (read_one_struct_field): Check for typedef in type
1086 tree before clearing bitfield information.
1087
b0d7af2a
MS
10881998-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1089
1090 * ax-gdb.c (gen_binop): New function, based on gen_mul, to replace
1091 gen_mul and gen_div, and handle `%' op as well. Correctly tests
1092 type of arguments.
1093 (gen_expr): Factor out common code in binary arithmetic operators.
1094 Add support for `%'.
1095 (gen_mul, gen_div): Removed.
1096
ff62d310
JI
1097Thu May 7 14:49:38 1998 Bob Manson <manson@charmed.cygnus.com>
1098
1099 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
1100 %o0-%o5 as 64-bit values; compensate for stack bias.
1101 (USE_STRUCT_CONVENTION): We only pass pointers to structs
1102 if they're larger than 32 bytes.
1103 (REG_STRUCT_HAS_ADDR): Ditto.
1104
1105 * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp()
1106 instead of read_register. If the target is a sparc64 and the frame
1107 pointer is odd, compensate for the stack bias.
1108 (get_saved_register): Use read_sp().
1109 (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES.
1110 (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64,
1111 save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers.
1112 (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC,
1113 CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a
1114 dummy frame.
1115 (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and
1116 the FP is odd, compensate for stack bias.
1117 (sparc_store_return_value): Right-justify the return value before
1118 writing it to %o0.
1119 (sparc_fix_call_dummy): Don't NOP out part of the call dummy on
1120 sparc64.
1121 (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp,
1122 sparc64_write_fp, sp64_push_arguments,
1123 sparc64_extract_return_value): New functions to support the
1124 sparc64 ABI.
1125
1126 * dwarfread.c (handle_producer): Set processing_gcc_compilation to
1127 the right version number.
1128
1129 * dwarf2read.c (read_file_scope): Assume we're processing
1130 GCC2 output.
1131
7252da95
JL
1132Wed May 6 16:34:03 1998 Jeffrey A Law (law@cygnus.com)
1133
1134 * somsolib.c: Include gdb_stat.h.
1135
b0d7af2a
MS
1136Mon May 4 18:34:01 1998 David Taylor <taylor@texas.cygnus.com>
1137
1138 * ax-gdb.c (gen_mul): new function; (gen_div): new function;
1139 (gen_expr): add support for * and / operators, call gen_mul and
1140 gen_div as appropriate.
1141
7252da95
JL
1142Mon May 4 16:24:22 1998 Mark Alexander <marka@cygnus.com>
1143
1144 * defs.h (make_run_cleanup): Declare.
1145 * solib.c (find_solib): Pass correct number of arguments to
1146 make_run_cleanup.
1147
b0d7af2a
MS
1148Mon May 4 07:08:25 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1149
1150 * tracepoint.c (trace_actions_command): actions command must set
1151 step_count to zero (in case previous actions have set it but the
1152 new set does not).
1153
e5a940e2
SG
1154Sat May 2 09:35:07 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
1155
a41292ba
SG
1156 * ocd.h: Add new flags, function codes, and processor types to support
1157 new Wiggler capabilities.
1158 * (ocd_write_bytes_size): New function to allow atomic writes of
1159 memory in sizes larger than a byte.
1160
e5a940e2
SG
1161 * ser-unix.c (baudtab): Add 57600, 115200, 230400, and 460800 baud.
1162
ce225290
FCE
1163Fri May 1 19:51:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1164
1165 * stabsread.c (read_one_struct_field): Do not override supplied
1166 bitfield size for a range type value.
1167
1168 * gdbtypes.c (create_range_type): For a range with positive
1169 lower limit, declare range type as unsigned.
1170
fcc1ac97
JM
1171Fri May 1 10:58:34 1998 John Metzler <jmetzler@cygnus.com>
1172
1173 * monitor.c: Turn off debug
1174
a871ab92
PS
1175Fri May 1 09:29:56 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1176
1177 * breakpoint.c (delete_command): Skip internal breakpoints when
1178 all breakpoints are requested.
1179
1180 * stabsread.c (define_symbol): Record parameter types from Sunpro
1181 function stabs in the TYPE_FIELDS of the function type.
1182
921d949d
JM
1183Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)
1184
1185 * Makefile.in (config-check-targets, config-check-hosts): Removed.
1186
11871998-04-30 Paul Eggert <eggert@twinsun.com>
1188
1189 * Makefile.in (maintainer-clean):
1190 Don't get ahead of yourself and delete Makefile
1191 before running `make'.
1192 (local-maintainer-clean, do-maintainer-clean): New rules.
1193
b0d7af2a
MS
1194Wed Apr 29 14:02:59 1998 David Taylor <taylor@texas.cygnus.com>
1195
1196 * ax-gdb.c (gen_add): when adding a pointer and an int, use
1197 the size of the pointer, not the int (typo) to decide how
1198 to extend the result.
1199
2a8b1fab 1200Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
17a56e13 1201start-sanitize-vr4111
2a8b1fab 1202
921d949d
JM
1203 * nec4102rom.c: New file implements ROM monitor adapter for
1204 nec-vr4102 board. This board hosts the vr4111 chip. This file
900dc14b 1205 required extensions to the monitor_ops structure, hooks for wait
2a8b1fab
JM
1206 filter, new flags. This version does not support more than one
1207 breakpoint and resuming after a breakpoint in 16 bit mode is
921d949d 1208 completely disfunctional.
17a56e13 1209end-sanitize-vr4111
921d949d
JM
1210
1211 * monitor.h: Defined additional hooks for dmpregs, configure_hooks
1212 and wait_filter. These additions require that all ROM monitor
1213 interfaces be recoded to initialize monitor ops using assignments
1214 rather than static structure initialization. Added new bits to
1215 flags MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES.
1216
2a8b1fab
JM
1217 * monitor.c (RDEBUG): Conditional tracing throughout the file.
1218 (fromhex): Now recognized upper cse hex digits
1219 (monitor_printf_noecho):
1220 (monitor_readchar): Tracing interferes with input timing.
1221 (monitor_open): Register different memory write functions with
1222 dcache_init if MO_HAS_BLOCKWRITES.
1223 (flush_monior_dcache): Added as an additional utilty.
1224 (monitor-resume): Call continue hook if one has been supplied.
1225 (monitor_wait_filter): New function Factored out of monitor wait
1226 and used if alternate wait-filter has not been provided.
1227 (monitor_wait): call alternate wait filter if provided. Call
1228 monitor_dump_regs, a new function factored out from inline code.
1229 (monitor_dump_block): A new function used as a utility when
1230 monitors must dump several blocks of registers using different
1231 commands.
1232 (monitor_dump_regs): Call alternate function if provided. Uses new
1233 hook in monitor.h.
1234 (monitor_write_memory): Engage previouly added hook
1235 MO_FILL_USES_ADDR.
1236 (monitor_write_even_block): new function supports writing long
1237 blocks of 4byte words.
1238 (longlongendswap): new internal function
1239 (monitor_write_memory_longlongs): new function writes large blocks
1240 using command to enter a long long.
1241 (monitor_write-memory_block): new Function figures out which block
1242 mod to use.
1243 (monitor_read_memory): Can now handle dump formats in which the bytes
1244 preceeding the requested data is not printed.
2a8b1fab 1245
94415c7e
TT
1246Tue Apr 28 19:41:33 1998 Tom Tromey <tromey@cygnus.com>
1247
b177bf84
TT
1248 * Makefile.in (GDBTKLIBS): New macro.
1249 (INSTALLED_LIBS): Include GDBTKLIBS.
1250 (CLIBS): Likewise.
1251 * configure: Rebuilt.
1252 * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
1253 (GDBTKLIBS): AC_SUBST.
1254
4a3456fc
TT
1255 * tracepoint.c (memrange_cmp): Another typo fix; `memrbnge' ->
1256 `memrange'.
1257
94415c7e
TT
1258 * tracepoint.c (memrange_cmp): Fixed typo in function intro.
1259
59813131
JM
1260Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>
1261
1262 * symfile.c (overlay_auto_command): Add forgotten parameter definitions.
1263 (overlay_manual_command, overlay_off_command): Likewise.
1264 (overlay_load_command): Likewise.
1265 * tracepoint.c (memrange_cmp): Parameters have type void *, not
1266 struct memrange *.
1267
82973f18
JM
1268Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com>
1269
59813131 1270 * rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds.
82973f18 1271
07f45587
MA
1272Mon Apr 27 14:32:21 1998 Mark Alexander <marka@cygnus.com>
1273
1274 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
1275 make it work on the simulator.
1276 (FIX_CALL_DUMMY): Convert to function call instead of inline code.
1277 (sparc_fix_call_dummy): Declare.
1278 * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from
1279 old FIX_CALL_DUMMY macro, with additional fixes for simulator.
1280 (sparc_push_dummy_frame): Set registers differently on simulator
1281 to prevent corrupted register window save areas.
1282
adc176bb
JM
1283Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>
1284
59813131
JM
1285 * rom68k-rom.c (_initialize_rom68k, init_rom68k_cmds):
1286 Convert all static initializations of monitor ops structures to
1287 executable initializations in order that additions to the data
1288 structure definition can me made without repeating this editing
1289 exercise.
1290 * abug-rom.c (_initialize_abug_rom, init_abug-cmds): Ditto.
1291 * cpu32bug-rom.c (_initialize_cpu32bug_rom, init_cpu32bug_cmds): Ditto.
1292 * mon960-rom.c (initialize_mon960, init_mon960_cmds): Ditto.
1293 * op50-rom.c (initialize_op50n, init_op50n_cmds): Ditto.
1294 * ppcbug-rom.c (_initialize_ppcbug_rom, init_ppc_cmds): Ditto.
1295 * sh3-rom.c (_initialize_sh3_rom, init_sh3_cmds): Ditto.
1296 * sparclet-rom.c (_initialize_sparclet, init_sparclet_cmds): Ditto.
1297 * remote-est.c (_initialize_est, init_est_cmds): Ditto.
1298 * remote-hms.c ( _initialize_remote_hms, init_hms_cmds): Ditto.
adc176bb 1299
a9eeaad7
JM
1300Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)
1301
1302 * gdb_string.h (strdup): Don't specify arguments in prototype.
1303
8b150a6b
PS
1304Sun Apr 26 07:57:21 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1305
1306 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
1307 fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd
1308 to check for reference to the same file.
1309
1310 * target.c (target_read_string): Handle string transfers at the
1311 end of a memory section gracefully.
1312
6ef37205
GN
1313Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>
1314
1315 * Makefile.in: enable EXEEXT setting
1316
b0d7af2a
MS
1317Fri Apr 24 11:53:49 1998 David Taylor <taylor@texas.cygnus.com>
1318
1319 * tracepoint.c (add_local_symbols): change type of type from
1320 char to int so that type shows up as 'A' or 'L' not 0.
1321
66a9a263
JL
1322start-sanitize-r5900
1323Fri Apr 24 11:25:07 1998 Jeffrey A Law (law@cygnus.com)
1324
1325 * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wide
1326 GPR loads/stores generated on the r5900.
1327 (mips_find_saved_regs, mips32_skip_prologue): Likewise.
1328 * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define.
1329 * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise.
1330
1331end-sanitize-r5900
29f35f37
JM
1332Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com)
1333
1334 * README: Minor changes for 4.17 release.
1335
6e8bee16 1336start-sanitize-java
ffa157d8
PB
1337Thu Apr 23 15:44:39 1998 Per Bothner <bothner@cygnus.com>
1338
1339 * symfile.c (deduce_language_from_filename): .class implies java.
1340
6e8bee16 1341end-sanitize-java
21cbc60c
JM
1342Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>
1343
1344 * configure.in (strerror): Check if function must be declared.
1345 * acconfig.h (NEED_DECLARATION_STRERROR): New define slot.
1346 * gdb_string.h (strerror): Function declaration issued if
1347 NEED_DECLARATION_STRERROR.
1348 * configure, config.in : Files regenerated.
1349
74d6ac44
JM
1350Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>
1351
1352 * symfile.c (simple_overlay_update_1): Do not prefix array address
1353 by `&'.
1354 * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto.
1355 * tracepoint.c (encode_actions): Ditto.
1356 * language.c, complaints.c, utils.c (varargs.h): Do not include that
1357 file here, it is already included indirectly by defs.h.
1358 * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return
1359 value to the appropriate pointer type.
1360 * utils.c (floatformat_from_doublest): Ditto.
1361 * tracepoint.c (read_actions, _initialize_tracepoint): Ditto.
1362 (add_memrange): Likewise with xrealloc return value.
1363 * stabsread.c (ref_add): Ditto.
1364 * coffread.c (coff_symfile_init): Likewise for xmmalloc return value.
1365 * elfread.c (elf_symfile_read): Ditto.
1366 * os9kread.c (os9k_symfile_init): Ditto.
1367
52dd717d
TT
1368Thu Apr 23 00:32:08 1998 Tom Tromey <tromey@cygnus.com>
1369
1370 * config.in: Rebuilt.
1371 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_STPCPY, HAVE_GETTEXT,
1372 HAVE_LC_MESSAGES): Define.
1373
fcfc3c0c
TT
1374Wed Apr 22 15:38:56 1998 Tom Tromey <tromey@cygnus.com>
1375
1376 * configure: Rebuilt.
1377 * configure.in: Call CY_GNU_GETTEXT.
1378 * Makefile.in (top_builddir): New macro.
1379 (INTL): Define to @INTLLIBS@.
1380 (INTL_DEPS): New macro.
1381 (CDEPS): Reference INTL_DEPS, not INTL.
1382
71f08cfc
DE
1383start-sanitize-sky
1384Wed Apr 22 13:40:16 1998 Doug Evans <devans@canuck.cygnus.com>
1385
1386 * txvu-tdep.c (txvu_print_insn): Fix thinko.
1387
1388end-sanitize-sky
b420cea7
PS
1389Wed Apr 22 12:58:23 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1390
1391 Handle missing shared libraries during the examination of a core
1392 dump gracefully.
1393 * solib.c (find_solib): Use catch_errors around call to
1394 solib_map_sections. Use warning instead of error if reading of
1395 the shared library name fails.
1396 (solib_map_sections): Change return and argument types to make
1397 it callable from catch_errors.
1398 (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL.
1399 * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections,
1400 symbol_add_stub): Ditto.
1401
f2a0822c
MM
1402Wed Apr 22 14:34:49 1998 Michael Meissner <meissner@cygnus.com>
1403
1404 * Makefile.in (INTL*): Add support to link in the intl library,
1405 and to add -I options to its source and object directories.
1406 (INTERNAL_CFLAGS): Ditto.
1407 (C{LIBS,DEPS}): Ditto.
1408
3e5fbf91
JL
1409start-sanitize-sky
1410Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
1411 * configure.in: Add configure option --with-sim-funit.
1412
1413end-sanitize-sky
88ff9e06
FCE
1414Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
1415
1416 * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
1417 with subtarget-specific `mach', rather than fixed default.
1418 * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
1419 disassembly `mach'.
1420start-sanitize-r5900
1421 * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
1422end-sanitize-r5900
1423start-sanitize-sky
1424 * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
1425end-sanitize-sky
1426
1427Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
1428
1429 * coffread.c (decode_base_type): Treat a long field with size greater
1430 than TARGET_LONG_BIT as long long.
1431 * values.c (value_from_longest): Print code value in error message.
1432
a38cd80a
JM
1433Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
1434
1435 * gdb/gdb_string.h (strdup): Declare only if not defined as a
1436 macro.
1437
1e50f1b4
JM
1438Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
1439
1440 * procfs.c: Added replacement macros for LWP stuff. Fixed support
1441 for UnixWare / SVR4.2MP targets and any targets which use
1442 multi-file /proc entries. Fixed support for hardware watchpoints.
1443 * solib.c: SCO needs some of the same code as SunOS. Change
1444 preprocessor conditionals.
1445
1446 * config/i386/i386sco5.mt: New file.
1447 * config/i386/tm-i386sco5.h: New file.
1448 * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
1449 * config/i386/nm-i386v42mp.h
1450 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
1451 Add other macros for hardware assisted watchpoints.
1452 * config/i386/nm-i386sco5.h: Correct attributions.
1453 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
1454 * config/i386/nm-linux.h (target_remote_watchpoint): Pass
1455 'type' through to i386_insert_watchpoint.
1456
1457Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1458
1459 * infrun.c (wait_for_inferior): Don't add signalled processes
1460 as new threads.
1461 * procfs.c (wait_fd): Note if LWP has exited.
1462 (procfs_wait): use GETPID to get process ID.
1463
7c0892b3
SC
1464Sat Apr 18 15:21:04 1998 Stan Cox <scox@cygnus.com>
1465
1466 * configure.tgt: Added sparc86x support.
1467
a17aca47
JM
1468Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
1469
1470 * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
1471 error string if in an ANSI C-ish environment.
1472
4a3f4c4c
MA
1473Wed Apr 15 18:59:48 1998 Mark Alexander <marka@cygnus.com>
1474
1475 * sparc-tdep.c (SPARC_HAS_FPU): Define.
1476 (sparc_extract_return_value): New function, required to handle
1477 machines without floating point.
1478 (sparc_store_return_value): Ditto.
1479 * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call
1480 sparc_extract_return_value instead of using inline code.
1481 (sparc_extract_return_value): Declare.
1482 (STORE_RETURN_VALUE): Call sparc_store_return_value instead
1483 of using inline code.
1484 (sparc_store_return_value): Declare.
1485
65c0c978
MH
1486Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>
1487
1488 * solib.c (enable_break): Only call warning once
1489 instead of three times.
1490
e50f526e
MA
1491Tue Apr 14 16:52:59 1998 Mark Alexander <marka@cygnus.com>
1492
1493 * sparc-tdep.c (sparc_extract_struct_value_address): Make it
1494 work correctly on little-endian hosts.
1495 (sparc_push_arguments): New function.
1496 (gdb_print_insn_sparc): New function.
1497 (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default
1498 disassembler, so that SPARClite-specific instructions will
1499 be recognized.
1500 * sparcl-tdep.c (readchar): Print debugging information.
1501 (debug_serial_write): New function, a replacement for SERIAL_WRITE
1502 that prints debugging information.
1503 * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define.
1504 (sparc_push_arguments): Declare.
1505
a47fe057
JM
1506Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>
1507
74317310 1508 * gdbcfgxref (xref_menu): Call new regex and wild card searches
822730df 1509 Now you can type in a specific triple like mips64-vr4300-elf or
74317310
JM
1510 somthing like mips*.h
1511 (triple_search) wildcardsearch): The new functions
1512
822730df 1513start-sanitize-vr4320
a47fe057
JM
1514 * configure.tgt: Switch over to use tm-4320.h. Since I switched to
1515 MIPS EABI the fixes are no longer backward compatible with 4300.
1516 * tm-vr4320.h: Added
1517 * vr4320.mt: Added
1518
822730df 1519end-sanitize-vr4320
e6e9507d
EZ
1520Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1521
1522 * utils.c: (warning) added call to warning_hook
1523
1524 * source.c: (find_source_lines) modified to call warning in case
1525 of source vs. executable time stamp mismatch. Simplified object
1526 file check. Initialized mtime to 0.
1527
1528 * defs.h: added warning_hook prototype
1529
1530 * top.c: added warning_hook prototype.
1531
29d867f8
KS
1532Mon Apr 13 09:54:08 1998 Keith Seitz <keiths@andros.cygnus.com>
1533
1534 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
1535 definition.
1536
f0fce3b8
JM
1537Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1538
1539 Update support for x86 Solaris 2.
1540 * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration
1541 files for x86 Solaris 2.
1542 * config/i386/i386sol2.mt, i386sol2.mh: Use them.
1543 * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract
1544 carry flag from a given regset.
1545 (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name
1546 is a SunPro transformed name.
1547 * i386-tdep.c (sunpro_static_transform_name): New function to
1548 extract the source name from a SunPro transformed name.
1549 * inferior.h (procfs_first_available, procfs_get_pid_fd):
1550 Add prototypes.
1551 * infrun.c (wait_for_inferior): Handle breakpoint hit in
1552 signal handler without intervening stop in sigtramp.
1553 * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY
1554 instead of direct access to the status register.
1555 (procfs_get_pid_fd): New function, returns procfs fd for a given pid.
1556 * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given
1557 lwpid.
1558 (sol_find_new_threads): Handle failed libthread_db initialization
1559 gracefully.
1560 * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME
1561 to check for a SunPro transformed symbol name.
1562
6aeec893
JM
1563Fri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
1564
c66e3d64
JM
1565 * utils.c (fmthex): A formatting function for hexdumps
1566
6aeec893
JM
1567 * mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
1568 bit pattern interpretations. mips_fetch_instruction does not work
1569 for 16 bit instructions. Some confusion remains about sign
1570 extension in backward branches.
1571 (mips32_relative_offset): Sign extension
1572 (mips32_next_pc): Major debugging, bit pattern interpretation
1573 (print_unpack): debugging printf
1574 (fetch_mips_16): new funtion, key on PC low bit, not symbol table
1575 (mips16_next_16): Initial major debugging of this function. Lots
1576 of bit pattern mistakes.
1577 (mips_next_pc): key on low bit of PC, not symbol table.
1578 * symfile.c(generic_load) : Added a download verification which
1579 reads back the loade code. Download chunk size is now a defined
1580 macro. Fixed a bug in which downloading slips into loading one
1581 byte at a time. Lower level functions in monitor.c can load long
1582 sequences of bytes and make use of these fixups. Referencing
1583 bfd-start_address directly was incorrectly getting zero for start.
1584
cf93a3aa
ILT
1585Thu Apr 9 19:20:32 1998 Ian Lance Taylor <ian@cygnus.com>
1586
1587 * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
1588 with dynamic size.
1589
bf9084c0
JM
1590Wed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
1591
1592 * top.c (print_gdb_version): Print 1998 now.
1593
6760a872
JM
1594Wed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>
1595
1596 * source.c: Remove obsolete decl of strstr().
1597
5b944218
JM
1598Wed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)
1599
1600 * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's
1601 patch of March 23 1998.
1602 * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's
1603 patch of March 23 1998.
1604
af473842 1605Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
5b944218 1606
af473842
DP
1607 * mdebugread.c (parse_partial_symbols): If this is an .mdebug
1608 section in an ELF file, override a symbol's ECOFF section with its
1609 ELF section. Also, fix stabs continuation where a stabs string
1610 continues for more than one continuation.
1611
912e805f
AC
1612Mon Apr 6 09:17:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
1613
1614 * mips-tdep.c (mips_push_arguments): Specify dimention of valbuf
1615 using MAX_REGISTER_RAW_SIZE.
1616
24a38525 1617Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
f0fce3b8 1618
24a38525
DP
1619 * infrun.c: Fix prototype of signals_info to match static funtion.
1620
1621Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com>
f0fce3b8 1622
24a38525
DP
1623 * sol-thread.c (sol_thread_store_registers): Save & restore new
1624 value of single updated register to prevent accidental clobbering.
1625
c8b77887
MA
1626Wed Apr 1 22:01:09 1998 Mark Alexander <marka@cygnus.com>
1627
1628 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
1629 * config/sparc/sparclite.mt: Link in the erc32 simulator.
1630
3dcac15f
JM
1631Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
1632
1633 * ns32k-tdep.c (flip_bytes, ns32k_localcount,
1634 ns32k_get_enter_addr, sign_extend): Restore functions mysteriously
1635 deleted.
1636
1637 * ns32knbsd-nat.c: New (?) file to support fetching and storing
1638 registers on NetBSD hosts.
1639
1640 * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of
1641 ns32k-nat.o
1642
1643 * ns32km3-nat.c (reg_offset): Get order of floating point
1644 registers correct. Add extra 32382 register offsets.
1645 (REG_ADDRESS): define to point at correct part of thread
1646 state. Use calls to "warning" instead of "message".
1647
1648 * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS,
1649 REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382
1650 fpu registers.
1651
32e3c8b8
JM
1652Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>
1653
1654 * NEWS: m68k-motorola-sysv host support added.
1655 * coffread.c (coff_start_symtab): Accept the filename as an argument,
1656 set it here. Callers updated.
1657
d0136bf3
AC
1658Wed Apr 1 23:13:23 1998 Andrew Cagney <cagney@b1.cygnus.com>
1659
1660 * config/mips/tm-mips.h (REGISTER_VIRTUAL_TYPE): Handle 32 bit SR,
1661 FSR and FIR registers.
1662 (REGISTER_VIRTUAL_SIZE): Compute using REGISTER_VIRTUAL_TYPE.
1663 (REGISTER_RAW_SIZE): Define using REGISTER_VIRTUAL_SIZE.
1664
1665 * config/mips/tm-mips64.h: Ditto.
1666
4269399c
NC
1667Tue Mar 31 21:30:39 1998 Nick Clifton <nickc@cygnus.com>
1668
1669 * arm-tdep.c (gdb_print_insn_arm): Attach a fake Thumb symbol
1670 vector to the info structure when disassembling thumb
1671 instructions.
1672
1673 * coffread.c (coff_symtab_read, read_one_sym,
1674 process_coff_symbol): Support Thumb symbol types.
1675
1676 * dbxread.c (process_one_symbol): Call SMASH_TEXT_ADDRESS (if it
1677 is defined) for function symbols.
1678
19735aea
AC
1679Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1680
1681 * d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to
1682 return odd sized register quantities with only half of the first
1683 register used!
1684
1685 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when
1686 size > 8.
1687
b0d7af2a
MS
1688Tue Mar 31 16:39:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1689
1690 * tracepoint.c (get_tracepoint_by_number): change warning to note.
1691 (delete_trace_command): suppress y/n query if no tracepoints, or
1692 if not from_tty. (trace_pass_command): reject junk at end of args.
1693 (read_actions): an action list consisting only of "end" is discarded.
1694 (validate_actionline (for collect command)): an argument beginning
1695 with a dollar_sign but not recognized as a special argument is
1696 parsed like any other expression -- if it isn't a register name,
1697 it's rejected. Also reject an empty argument to while-stepping.
1698 (trace_find_command): reject a negative frame number argument.
1699 (_initialize_tracepoint): set $traceframe initially to -1.
1700
f45d8080
JM
1701Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
1702
1703 * rdi-share/Makefile.am, rdi-share/aclocal.m4,
1704 rdi-share/configure: New files.
1705 * rdi-share/configure.in: Rewritten to be an autoconf input file.
1706 * rdi-share/Makefile.in, rdi-share/configure: Generated by
1707 automake/autoconf.
1708 * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
1709 to check environment.
1710
57a39824
KS
1711Sun Mar 29 15:17:16 1998 Keith Seitz <keiths@onions.cygnus.com>
1712
1713 * tracepoint.c (trace_start_command): Set trace_running_p.
1714 (trace_stop_command): Clear trace_running_p.
1715
dfbb701a
SS
1716Sat Mar 28 15:19:48 1998 Stan Shebs <shebs@andros.cygnus.com>
1717
1718 * NEWS: Update for 4.17 release.
1719
b0d7af2a
MS
1720Fri Mar 27 10:15:50 1998 David Taylor <taylor@tito.cygnus.com>
1721
1722 * tracepoint.c (parse_and_eval_memrange): Fix memory leaks.
1723 (encode_actions): Use the new gen_trace_for_expr function
1724 instead of expr_to_address_and_size; collect registers when
1725 using expressions. (clear_collection_list): Fix memory leak.
1726
17271998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
1728
1729 * ax-gdb.h (gen_trace_for_expr): Add prototype.
1730
1731Thu Mar 26 17:24:23 1998 David Taylor <taylor@texas.cygnus.com>
1732
1733 * tracepoint.c (validate_actionline): Fix memory leak.
1734 (encode_actions): Fix memory leak.
1735
1736Thu Mar 26 16:16:55 1998 David Taylor <taylor@tito.cygnus.com>
1737
1738 * tracepoint.c (trace_mention): New function.
1739 (trace_command): Call it.
1740
17411998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
1742
1743 * ax-general.c (ax_reqs): New function.
1744 * ax.h (enum agent_flaws, struct agent_reqs): New types.
1745 (agent_reqs): New extern prototype. Well, actually, this was
1746 there before, due to a premature checkin.
1747 (struct aop_map): Add new `data_size' member.
1748 * ax-general.c (aop_map): Supply its value.
1749 * ax-gdb.c (agent_command): Call ax_reqs, for testing.
1750
1751 * ax-general.c (ax_print): If we encounter an invalid or
1752 incomplete opcode, don't abort; just print an error message.
1753
1754 * ax-gdb.c: Generate trace bytecodes, as appropriate.
1755 (trace_kludge): New variable.
1756 (gen_fetch, gen_bitfield_ref): Emit trace bytecodes, if asked
1757 nicely.
1758 (expr_to_agent): Ask for no trace bytecodes.
1759 (gen_trace_for_expr): New function.
1760 (agent_command): Call it, and display the result appropriately ---
1761 no struct axs_value, so no type or kind information.
1762
1763 * ax-gdb.c: Use TARGET_CHAR_BIT throughout, not HOST_CHAR_BIT.
1764
41158958
EZ
1765Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1766
1767 * tracepoint.c (trace_status_command): Recognize a boolean return
1768 value from the stub to indicate whether trace experiment is
900dc14b 1769 running. Export this value as a global state variable.
41158958
EZ
1770 (trace_running_p) for use by the GUI. (from Michael Snyder)
1771 (trace_pass_command) added call to modify_tracepoint_hook.
1772
900dc14b 1773 * tracepoint.h export trace_running_p.
41158958 1774
b0d7af2a
MS
1775Thu Mar 26 13:08:01 1998 David Taylor <taylor@texas.cygnus.com>
1776
1777 * tracepoint.c (validate_actionline): do not error out if
1778 exp->elts[0].opcode is not on short line -- let
1779 expr_to_address_and_size handle it.
1780
17811998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
1782
1783 * tracepoint.c: Include "ax.h", not "agentexpr.h".
1784
1785 * tracepoint.c (encode_actions): Call expr_to_address_and_size,
1786 not simply expr_to_agent.
1787
1788 * ax-general.c: Comment out code in progress, so everyone else can
1789 at least compile.
1790
1791 * gdbtypes.c: Doc fix.
1792
1793 * ax.h, ax-gdb.h, ax-general.c, ax-gdb.c: New files.
1794 * Makefile.in (REMOTE_OBJS): Add ax-general.o and ax-gdb.o.
1795 (SFILES): Add ax-general.c, ax-gdb.c.
1796 (ax_h): New variable.
1797 (ax-general.o, ax-gdb.o): New rules.
1798
41158958
EZ
1799start-sanitize-sky
1800Wed Mar 25 11:45:19 1998 Frank Ch. Eigler <fche@cygnus.com>
1801
1802 * configure.in (sim-gpu2): Added target type checking to make
1803 --with-sim-gpu2 option only valid for sky target.
1804 * configure: Regenerated.
1805end-sanitize-sky
1806
1807Tue Mar 24 16:22:40 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1808
1809 * Makefile.in: Derive SHELL from configure.
c19916b7 1810 * config/d10v/d10v.mt config/m32r/m32r.mt
2c9fd4b1
ILT
1811 config/mn10200/mn10200.mt config/mn10300/mn10300.mt
1812 config/d30v/d30v.mt : Remove -lm from SIM. This prevents
1813 dependency checking of -lm (under NT native builds). (It is
1814 automatically added by configure if it exists.)
41158958
EZ
1815 * doc/configure mswin/configure nlm/configure
1816 testsuite/gdb.base/configure testsuite/gdb.c++/configure
1817 testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
1818 testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
1819 Regenerate with autoconf 2.12.1 to fix shell issues for NT native
1820 builds.
1821
fecf06cf
JM
1822Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
1823
1824 * solib.c (solib_create_inferior_hook): Rewrite previous
1825 change to check the type of file via BFD.
1826
124e64bb
JM
1827Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)
1828
1829 * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events
1830 like bp_breakpoints.
1831 * solib.c (solib_create_inferior_hook): Relocate section addresses
1832 if the alleged start address doesn't agree with the PC.
1833
b236defa
FCE
1834start-sanitize-sky
1835Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com>
1836
1837 * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure
1838 option, to allow gdb+sim linking with sky GPU2 library.
83c7ab51 1839 * configure: Regenerated.
124e64bb 1840
b236defa 1841end-sanitize-sky
b236defa
FCE
1842Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1843
1844 merged changes from Foundry (list follows by file/author):
1845
1846 - Tom Tromey <tromey@cygnus.com>
1847 * Makefile.in (gdbres.o): New target.
1848 (WINDRES): New define.
1849 * configure: Rebuilt.
1850 * configure.in (WINDRES): Define.
1851 (CONFIG_OBS): Include gdbres.o on Windows.
1852 * gdbtool.ico: New file.
1853 * gdb.rc: New file.
1854
1855 * ser-unix.c
1856 - Keith Seitz <keiths@onions.cygnus.com>
1857 (wait_for): Don't reset the timeout_remaining for CYGWIN32,
1858 since we now effectively poll the serial port.
1859 Don't reset the current_timeout, either, since this member is used
1860 by hardwire_readchar to track the timeout and call the ui_loop_hook.
900dc14b
SS
1861 (hardwire_readchar): Poll the serial port for Cygwin32. We timeout
1862 every second, update the UI, and loop around doing this until we
1863 have hit the real timeout or we get data or an error. This will
1864 allow the UI to stay active while gdb is "blocked" talking to the
1865 target.
1866 - Martin M. Hunt <hunt@cygnus.com>
1867 (wait_for): Do reset current_timeout because it is only used to
1868 keep track of what the current timeout for the scb is.
b236defa
FCE
1869
1870 * top.c
1871 - Martin M. Hunt <hunt@cygnus.com>
1872 (quit_confirm): Change exit message again
1873 for GUI.
1874 (pc_changed_hook): Add prototype.
1875 - Tom Tromey <tromey@cygnus.com>
1876 (quit_confirm): Added missing `else'.
1877 (quit_confirm): Special-case message if init_ui_hook is
1878 set.
1879
1880 * symtab.c
1881 - Martin M. Hunt <hunt@cygnus.com>
1882 (find_pc_sect_line): If no symbol information
1883 is found, return correct pc anyway.
1884 (find_methods): Comment out an apparently
1885 bogus error message because it messes up Foundry.
1886
1887 * serial.c
1888 - Martin M. Hunt <hunt@cygnus.com>
1889 (_initialize_serial): Add a description of
1890 "set remotelogbase".
1891
1892 * findvar.c
1893 - Martin M. Hunt <hunt@cygnus.com>
1894 (write_register_gen): Add call to
1895 pc_changed_hook if the PC is being changed.
1896
1897 * defs.h
1898 - Martin M. Hunt <hunt@cygnus.com>
1899 (pc_changed_hook): Define.
1900
1901 * command.c
1902 - Martin M. Hunt <hunt@cygnus.com>
1903 (do_setshow_command): If no arguments are supplied,
1904 don't dump core, instead print out an error message.
1905
1906 * breakpoint.c
1907 - Martin M. Hunt <hunt@cygnus.com>
1908 Make set_raw_breakpoint, set_breakpoint_count,
1909 and breakpoint_count non-static so they are accessible from
1910 gdbtk.c.
1911 (enable_breakpoint): Enable breakpoint
1912 with same disposition instead of changing all breakpoints
1913 to donttouch.
1914
1915 * annotate.h
1916 - Keith Seitz <keiths@onions.cygnus.com>
1917 Add declarations for annotation hooks.
1918
1919 * annotate.c
1920 - Keith Seitz <keiths@onions.cygnus.com>
1921 Add hooks: annotate_starting_hook, annotate_stopped_hook,
1922 annotate_signalled_hook, annotate_exited_hook.
1923 (annotate_starting): If hook exists, call it instead.
1924 (annotate_stopped): If hook exists, call it instead.
1925 (annotate_exited): If hook exists, call it instead.
1926 (annotate_signalled): If hook exists, call it instead.
1927
d1732185
MS
1928Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1929
1930 * gdbserver/Makefile.in: add dependency on XM_CLIBS.
1931 * gdbserver/low-sim.c (registers) force into alignment.
1932 (create_inferior): Fix typo on new_argv; add abfd arg to
1933 sim_open, sim_create_inferior. Add reg_size arg to
1934 sim_fetch_register, sim_store_register. Make simulator
1935 take a single-step to get into a known running state.
1936 * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
1937 * gdbserver/server.c: Add remote_debug variable to control
1938 debug output.
1939 * gdbserver/server.h: Add prototypes for enable/disable_async_io.
1940 * gdbserver/remote-utils.c: add verbose debugging output controlled
1941 by "remote_debug" variable. Add call to "disable_async_io()"
1942 to avoid being killed by async SIGIO signals.
1943 * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
1944 so that gdbserver can be built with the m32r simulator.
1945
980714f9
AC
1946Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
1947
1948start-sanitize-r5900
1949 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as
1950 expression from REGISTER_VIRTUAL_TYPE.
1951 (REGISTER_RAW_SIZE): Ditto.
1952 (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit
1953 registers.
1954
1955end-sanitize-r5900
1956 * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin
1957 types.
1958start-sanitize-r5900
1959 (builtin_type_{,u}int128): Ditto.
1960end-sanitize-r5900
1961
1962 * gdbtypes.c (_initialize_gdbtypes): Initialize new types.
1963
1964 * mips-tdep.c (do_gp_register_row): Pad register value when GP
1965 register is smaller than MIPS_REGSIZE.
1966
1967 * findvar.c (value_of_register): When raw and virtual register
1968 values identical, check that sizes are consistent.
1969
f4f7d594
MS
1970Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1971
1972 * minsyms.c (compare_minimal_symbols): If addresses are identical,
1973 then compare on names. Sorted list should have symbols with
1974 identical addresses AND names adjacent, so dups can be discarded.
1975
c298bd54
JL
1976Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com)
1977
1978 * stabsread.c (define_symbol): Don't look for ',' as a LRS
1979 indicator.
1980
3f7e239d
NC
1981Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
1982
1983 * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
1984
c7ab546c
JM
1985Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1986
1987 * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
1988 when compiling with native cc, the compiler has broken long long
1989 support.
1990
60c7c376
JM
1991Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1992
1993 * config/m68k/xm-sun3os4.h: Remove malloc declarations, they
1994 are handled via autoconf now.
1995 * remote.c (remote_ops, extended_remote_ops): Replace static
1996 forward declaration by moving the static definition to the top of
1997 the file, for old K&R compilers.
1998 * tracepoint.c (collect_symbol, trace_start_command):
1999 Replace ANSI string concatenation with K&R compatible simple string.
2000
20011998-03-11 Fred Fish <fnf@ninemoons.com>
2002
2003 * source.c (select_source_symtab): Don't reach error if we have
2004 a current_source_symtab from reading in partial symbol table.
2005
e0848028
GRK
2006start-sanitize-vr4320
2007Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
2008
2009 * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
2010
2011end-sanitize-vr4320
3ffbdf15
FF
2012Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com>
2013
2014 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
2015 SERIAL_FLUSH_OUTPUT.
2016 * serial.h (struct serial_ops): Add drain_output, pointer to
2017 function that waits for output to drain.
2018 (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
2019 * ser-unix.c (hardwire_drain_output): New function and prototype.
2020
2021 * ser-unix.c (hardwire_ops): Add entry for drain_output function.
2022 * ser-tcp.c (tcp_ops): Ditto.
2023 * ser-ocd.c (ocd_ops): Ditto.
2024 * ser-mac.c (mac_ops): Ditto.
2025 * ser-go32.c (dos_ops): Ditto.
2026 * ser-e7kpc.c (e7000pc_ops): Ditto.
2027
d6acae68
MS
2028Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2029
2030 * sparcl-tdep.c: fix #endif comments
2031
56deac4b
JM
2032Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
2033
2034 * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
2035
17772016
KS
2036Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
2037
2038 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
2039 error () so that we abort out of bdm_ppc_open.
2040
1d7a3fd7
MH
2041Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
2042
2043 * serial.c (_initialize_serial): Add a description of
2044 "set remotelogbase".
2045
2046 * command.c (do_setshow_command): If no arguments are supplied,
2047 don't dump core, instead print out an error message.
2048
94ec3e76
JM
2049Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
2050
2051 * gdbtk.c (gdb_listfiles): Fix thinko in last change.
2052
d7363521
JM
2053Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
2054
2055 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
2056
4f0f84e7
RU
2057Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com>
2058
2059 * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into
2060 MAKE_MSYMBOL_SPECIAL
2061 * config/mips/tm-mips.h: ditto
2062
3a012857
JM
2063Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com>
2064
f893ebe3 2065start-sanitize-vr4111
900dc14b 2066 * config/mips/tm-vr4xxx.h: implements vr4111 as separate from 4300
d7363521 2067 * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300
3a012857 2068 * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx
f893ebe3 2069end-sanitize-vr4111
d7363521 2070 * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from
3a012857
JM
2071 TARGET_PTR_BIT rather from sizeof(char *) on host.
2072
716e3a4f
JM
2073Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2074
2075 * alpha-nat.c (fetch_osf_core_registers): Renamed from
2076 fetch_aout_core_registers.
2077 (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change
2078 flavour to bfd_target_unknown_flavour for OSF core files.
2079
e4e30cdc
GRK
2080start-sanitize-vr4320
2081Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com>
2082
2083 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
2084 Added.
2085
2086end-sanitize-vr4320
58299977
MS
2087Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2088
2089 * breakpoint.c (_initialize_breakpoint): Make "en" an alias
2090 for "enable" (so that it doesn't conflict with "end").
2091
d0b6f2ad
JM
2092Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
2093
2094 * Makefile (VERSION): Bump to 4.17.1.
2095
290d79e0
JM
2096Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
2097
2098 * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
2099
37ac9ecc
JM
2100Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
2101
2102 * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
2103
c87c674a
JM
2104Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
2105
2106 * Makefile.in (distclean): Add `rm $(YYFILES)'.
2107
79f0b613
JM
2108Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
2109
2110 * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
2111 is unsigned.
2112
6cc922a9
JM
2113Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
2114
2115 * configure.host, configure.tgt: Add sparc-linux.
2116 * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
2117 * config/sparc/*linux*: New files.
2118
4321ed53
JM
2119Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
2120
2121 * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
2122 if we're big endian; else call print_insn_little_arm.
2123
9a760d24
JM
2124Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com>
2125
2126 * Makefile.in (BISON): Don't even pretend to use yacc.
2127 (c-exp.tab.o): Use bison -o to use a unique intermediate file.
6e8bee16
SG
2128 (f-exp.tab.o, m2-exp.tab.o): Likewise.
2129start-sanitize-java
2130 (jv-exp.tab.o): Likewise.
2131end-sanitize-java
9a760d24 2132
5af9fc5f
AC
2133Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
2134
2135 * remote-sim.c (gdbsim_fetch_register): Don't abort when the
2136 register size is wrong.
2137
2138start-sanitize-r5900
24d084d9 2139Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com>
5af9fc5f
AC
2140
2141 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
2142 REGISTE_RAW_SIZE): Re-define.
2143
2144end-sanitize-r5900
c3cf44c4
JM
2145Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
2146
24d084d9 2147 * target.c (debug_to_fetch_registers,debug_to_store_registers,
863b20a3
JM
2148 debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing
2149 64 bit targets crashed long long printfs.
c3cf44c4
JM
2150
2151Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2152
2153 * symfile.c (read_target_int_array): rename read_target_long_array
2154 and force the sizeof an ovly_table element to sizeof(long),
2155 instead of sizeof(int).
2156
f8611801
FCE
2157Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com>
2158
2159 * remote-mips.c (mips_request): Use unsigned long during parsing
2160 returned value from monitor, to prevent accidental sign extension.
2161
dd600735
JM
2162Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2163
2164 * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
2165 * configure.in: Ditto.
2166 * configure: Regenerated.
2167
2168Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2169
2170 * gdbtypes.c (check_typedef): Do not try to resolve the length of
2171 a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
2172 set TYPE_FLAG_TARGET_STUB as well.
2173
bccb2e7f
AC
2174Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
2175
2176 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
2177 Pass register size to sim_{fetch,store}_register. Check nr of
2178 register bytes transfered is correct.
2179
6c3beaaf
AC
2180Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2181
2182 * remote-d10v.c (remote_d10v_open): Call push_remote_target
2183 instead of open_remote_target.
2184
2185 * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS
2186 to translate addr/size when defined.
2187 (open_remote_target): Delete.
2188
2189 * target.h (open_remote_target): Delete.
2190
2191 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define.
2192
2193Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2194
2195 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
2196 sizeof type > 1.
2197
2198Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2199
2200 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
2201 sizeof type > 1.
2202
678fa7ff
RU
2203Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com>
2204
2205 * parse.c (write_dollar_variable): call new function
2206 target_map_name_to_register to allow targets to define their own
2207 register name aliases.
2208 * infcmd.c (registers_info): use target_map_name_to_register so that
2209 "print $reg" and "info reg $reg" use the same register name aliases.
2210
8970f2fd
SS
2211Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com>
2212
2213 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
2214 * config/i386/xm-i386mk.h: Fix an include.
2215 * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
2216
a469b84c
FCE
2217Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com>
2218
2219 * remote-mips.c (mips_enter_debug): Sleep before sending CR to
2220 monitor.
2221 (mips_exit_debug): Accept any whitespace / verbiage before monitor
2222 prompt reappears.
2223
9df3ba70
AC
2224Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
2225
2226 * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
2227 accumulators.
2228
93087920
AC
2229Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
2230
2231 * valops.c (value_at): For d10v, make read pointers with
2232 read_target_unsigned_integer, keep addresses unsigned.
2233 (value_fetch_lazy): Ditto.
2234
dd0ce8f6
AC
2235Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
2236
2237 * remote-d10v.c: New file. Layer the d10v GDB->remote memory map
2238 on top of the remote serial memory transfer functions.
2239
2240 * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o
2241
2242 * Makefile.in (remote-d10v.o): Add dependencies.
2243
2244 * remote.c (remote_open_1): Add arg extended_p, engage extended
2245 protocol when extended_p.
2246 (remote_open, extended_remote_open): Pass !extended_p /
2247 extended_p to remote_open_1.
2248
2249 * remote.c (open_remote_target), target.h: New function.
2250
6bcc5ba3
AC
2251Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
2252
2253 * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o.
2254
a5f4fbff
KS
2255Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
2256
2257 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
2258 if it exists.
2259 Remove static declaration of free_actions.
2260
2261 * tracepoint.h: Add declaration of free_actions.
2262
2263Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
2264
2265 * symtab.c (decode_line_1): Revert change that mistakenly
2266 removed assignment of sals[0].pc field.
2267
75a1d67a
JM
2268Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
2269
2270 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
2271 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
2272 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
2273 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
2274 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
2275 (FRAME_NUM_ARGS): New macro.
2276 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
2277 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
2278 patch.
2279
f6826586
AC
2280Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
2281
2282 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
2283 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
2284
2285 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
2286 (DMEM_START): Move to 0x00......
2287 (STACK_START): Move to 0x00..7ffe.
2288 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
2289
2290 * d10v-tdep.c (d10v_xlate_addr): Delete function.
2291
9c01dbfb
DE
2292Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
2293
2294 * symtab.c (fixup_psymbol_section): Move forward declaration to
2295 top of file with other such decls. Make it a static function.
2296 * symtab.h: Minor formatting tweaks.
2297
cb5cd5b4
SS
2298Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
2299
2300 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
2301 Remove redefinition.
2302 * config/i960/tm-i960.h (BREAKPOINT): Define.
2303
89f2ecdb
ILT
2304Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
2305
2306 * Makefile.in (init.c): Ignore errors when making init.c. Seems
2307 necessary to work around bug in Solaris make.
2308
75a1d67a 2309Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
4434e2dc
JM
2310
2311 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
2312 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
2313 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
2314 because floating-point values return via %fp0.
2315 (CLEAR_INSN_CACHE): New macro.
2316 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
2317 to use DOUBLEST.
2318 (REGISTER_CONVERT_TO_RAW): Ditto.
2319 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
2320 call it after having written in child process's memory.
2321 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
2322 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
2323
4cb36674
JL
2324Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
2325
2326 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
2327 override.
2328 (TARGET_LONG_LONG_BIT): Likewise.
2329 (TARGET_PTR_BIT): Likewise.
2330start-sanitize-r5900
2331 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
2332end-sanitize-r5900
2333
5f3ba16b
DE
2334start-sanitize-sky
2335Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
2336
2337 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
2338 * config/mips/txvu.mt (SIM): txvu -> mips.
2339
2340end-sanitize-sky
608addd4
AC
2341Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
2342
2343 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
2344 D10V_CONVERT_DADDR_TO_RAW): Define.
2345
2346 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
2347 registers, regardless of their size, when they fit.
2348
9961ca7a
AC
2349Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
2350
2351 * d10v-tdep.c (d10v_extract_return_value): For function pointers
2352 translate address to IMAP area.
2353
2354 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
2355 struct.
2356 (POP_FRAME): Point at generic_pop_current_frame.
2357
2358 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
2359 handled earlier.
2360 (d10v_push_return_address): New function.
2361 (d10v_pop_dummy_frame): Delete.
2362 (d10v_fix_call_dummy): Delete.
2363 (d10v_call_dummy_address): Delete.
2364
2365 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
2366 frameless.
2367
2368 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
2369
2370 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
2371 address of structure from first ARG1_REGNUM.
2372
2373 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
2374 even-odd register pair. Store 1 and 2 byte args in registers.
2375
2376 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
2377 is fetched in the correct byte order.
2378 (value_at): Ditto. Also ensure data pointers are mapped to data
2379 segment.
2380
2381 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
2382
2383 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
2384 (d10v_pop_frame): Replace R13 with LR_REGNUM.
2385 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
2386 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
2387 (d10v_extract_return_value): Access return value with RET1_REGNUM.
2388
2389 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
2390 Define.
2391 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
2392 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
2393 location.
2394
44d33d55
AC
2395Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
2396
2397 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
2398 longer valid.
2399
2400 * blockframe.c (generic_pop_current_frame), frames.h: New
2401 function.
2402
1931ea8d
AC
2403Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
2404
2405 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
2406 before /re/starting the simulator.
2407
df419eec
JM
2408Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
2409
2410 * top.c (do_nothing): Remove signal handler after signal is caught.
2411
d9ba1c3f
MS
2412Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2413
2414 * tracepoint.c (tracepoint_operation): call free_actions instead
2415 of free. (free_actions): eliminate some memory leaks for actions.
2416 (validate_actionline): pass string arg by reference, so we can
2417 change the pointer. Change all memrange collection arguments to
2418 canonical form (literal address and size), to enforce early
2419 evaluation. Accept UNOP_MEMVAL (assembly variables) for
2420 trace collection. (parse_and_eval_memrange): accept expressions
2421 for the address and size fields of a memrange (and evaluate
2422 them immediately). (several places): use -1 instead of zero
2423 to distinguish an absolute memrange from a register-relative one.
2424 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
2425
c7bb1531
JM
2426Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
2427
2428 * Makefile.in (SFILES): add tracepoint.c.
2429 (LINTFILES): add @CONFIG_SRCS@.
2430 (SOURCES): Ditto.
2431 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
2432 * configure: Regenerated.
2433
70b3329c
JM
2434Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
2435
2436 * infptrace.c (child_resume): Don't try to step if
2437 NO_SINGLE_STEP is defined.
2438
c09eab00
JM
2439Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
2440
2441 * Makefile.in (VERSION): Bump to 4.16.2.
2442
2443Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
2444
2445 * alpha-nat.c (fetch_aout_core_registers): Rename from
2446 fetch_core_registers.
2447 (fetch_elf_core_registers): New function.
2448 (supply_gregset): Use ALPHA_REGSET_BASE.
2449 (supply_fpregset): Likewise.
2450 (fill_fpregset): Likewise.
2451 (alpha_aout_core_fns): Rename from alpha_core_fns.
2452 (alpha_elf_core_fns): New.
2453 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
2454 Disable MMALLOC.
2455 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
2456 (TARGET_ELF64): Likewise.
2457 (ALPHA_REGSET_BASE): New.
2458 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
2459 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
2460
2461 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
2462 (info_sharedlibary_command): Likewise.
2463
2464 * configure.host: Match alpha*.
2465 * configure.tgt: Likewise.
2466
6981a588
DT
2467Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
2468
2469 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
2470 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
2471 whether we are in the dynamic symbol resolution code
2472 (wait_for_inferior): invoke it.
2473 * solib.c (in_svr4_dynsym_resolve_code): new function
2474 (enable_break): record start and end of the dynamic linker
2475 text and plt sections for use in in_svr4_dynsym_resolve_code.
2476 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
2477 (in_svr4_dynsym_resolve_code): declare it.
2478 * config/nm-gnu.h (solib.h): move inclusion to after definition
2479 of SVR4_SHARED_LIBS.
2480 * config/nm-sysv4.h (solib.h): ditto.
2481 * config/i386/nm-i386sco5.h (solib.h): ditto.
2482 * config/i386/nm-linux.h (solib.h): ditto.
2483 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
2484
3e269acb
SS
2485Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
2486
2487 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
2488 never be defined.
2489 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
2490 Remove, no longer needed.
2491 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
2492 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
2493 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
2494 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
2495
7074cd4e
SS
2496Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
2497
2498 Suggested by Chris Walter <walter@budoe.bu.edu>:
2499 * dwarfread.c (set_cu_language): Recognize Fortran.
2500 * dwarf2read.c (set_cu_language): Ditto.
2501 (read_array_type): Fix language test.
2502
2a913d71
MS
2503Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2504
2505 * blockframe.c (generic_frame_chain_valid): A frame pointer may
2506 be valid if it is equal to the frame pointer of its caller (ie.
2507 not necessarily strictly INNER_THAN). Allows frameless functions.
2508
29df6f4b
MA
2509Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
2510
2511 * monitor.c (monitor_vsprintf): New function to handle
2512 printing of large addresses using %A format specifier.
2513 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
2514 instead of vsprintf.
2515 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
2516 to print addresses.
2517
4b95e9a1
JM
2518Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
2519
2520 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
2521 when using GNU ld.
2522
bf1fb2e0
JM
2523Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
2524
2525 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
2526 Add closing parenthesis. From HJ Lu.
2527
d8365eee
MA
2528Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
2529
2530 * dve3900-rom.c: Improve performance by using memory commands
2531 that print less fluff. Minor cosmetic changes.
2532 Eliminate compiler warnings.
2533
f03cdc5e
MH
2534Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
2535
2536 * breakpoint.c (enable_breakpoint): Preserve breakpoint
2537 disposition when enabling a breakpoint.
2538
2539 * symtab.c (find_pc_sect_line): If no symbol information
2540 is found, return correct pc anyway.
2541
9a2e2aba
SS
2542Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
2543
2544 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
2545 ns32k-*-mach3*): Fix file names.
2546 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
2547 recognition, no source files for these.
2548 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
2549 to powerpc-*-aix*.
2550 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
2551 no longer needed.
2552
1a31a33a
MA
2553Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
2554
2555 * monitor.c (monitor_write, monitor_readchar): New functions.
2556 * monitor.h (monitor_write, monitor_readchar): Declare.
2557 * dve3900-rom.c: Add support for fast loading on ethernet connections.
2558
77636dea
FF
2559Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
2560
2561 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
2562 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
2563 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
2564 (d10v_write_fp, d10v_read_fp): Add prototypes.
2565 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
2566 * symfile.c (simple_overlay_update, simple_overlay_update_1):
2567 Ignore the size of overlay sections. This check is redundant anyway.
2568 * printcmd.c (print_frame_args): Ditto.
2569 * valops.c (value_fetch_lazy): Ditto.
2570 * values.c (unpack_long): Ditto.
2571 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
2572 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
2573 works properly.
2574 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
2575 (d10v_read_fp, d10v_write_fp): New functions.
2576 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
2577 (d10v_push_arguments): Fix for pointers and structs.
2578 (d10v_extract_return_value): Fix for pointers and chars.
2579
4133151f
SS
2580Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
2581
2582 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
2583 recognition, no source files for these (note that the i386 Mach
9a2e2aba 2584 config is for pre-Mach 3).
4133151f
SS
2585 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
2586 * config/mips/mipsel64.mt: Remove, never referenced.
2587
59ae1b0f
SS
2588Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
2589
2590 * top.c (print_gdb_version): Restore to original message.
2591
76bf9192
ILT
2592Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
2593
b5edcb45
ILT
2594 From cgf@bbc.com (Chris Faylor):
2595 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
2596 let the child exit.
2597 (child_kill_inferior): Respond to all debug events as the child is
2598 terminating.
2599
76bf9192
ILT
2600 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
2601 (uninstall): Add $(EXEEXT) to file name to remove.
2602 (gdb$(EXEEXT)): Rename target from plain gdb.
2603 (gdb1$(EXEEXT)): Rename target from plain gdb1.
2604 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
2605
23f38c9e
FL
26061998-01-16 Felix Lee <flee@cygnus.com>
2607
2608 * top.c (print_gdb_version): delete stutter.
2609
ed3e2cfe
NC
2610Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
2611
2612 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
2613 to prevent spurous error messages on non-ICE targets.
2614
8d9371a5
SS
2615Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
2616
2617 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
2618 Remove, no longer used.
2619
f27bb101
MM
2620Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
2621
2622 Patch from Jim Wilson.
2623 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
2624 declare void function before use.
2625
2626 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
2627
0728afad
FF
2628Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
2629
2630 * configure.in (--with-mmalloc): Add new configure arg to use the
2631 mmalloc package. Default is to not use it.
2632 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
2633 the string "2".
2634 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
2635 * configure: Regenerated.
2636 * config.in: Regenerated.
2637 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
2638 (MMALLOC): Set using configure.
2639 (MMALLOC_CFLAGS): Set using configure.
2640
2641 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
2642 than just defining it.
2643 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
2644 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
2645 * objfiles.c: ditto.
2646 * defs.h: ditto.
2647
2648 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
2649 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
2650 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
2651 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
2652 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
2653 * gdbserver/Makefile.in (MMALLOC_*): Remove.
2654 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2655 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2656 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2657 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2658 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2659 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2660 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2661 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2662 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
2663 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2664 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2665 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2666 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2667 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
2668
e21fb2ae
MS
2669Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2670
8f05bc95
MS
2671 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
2672 default to void pointer type (so that their default radix is hex).
2673
e21fb2ae 2674 * symtab.c: move rbreak_command from no_class to class_breakpoint
8f05bc95 2675 so it will be listed under "help breakpoints".
e21fb2ae 2676
0a51a5af
SS
2677Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
2678
2679 * rdi-share/hostchan.c: Remove gettimeofday declaration.
2680
3a9c3d12
NC
2681Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
2682
2683 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
0a51a5af 2684 to implement the Angel remote debugging interface.
3a9c3d12
NC
2685
2686 * Makefile.in: Add build rules for remote-rdi.c and
0a51a5af 2687 rdi-share/libangsd.a.
3a9c3d12
NC
2688
2689 * configure.tgt: Updated from source on branch.
2690 * config/arm/tm-arm.h: Updated from source on branch.
2691 * arm-tdep.c: Updated from source on branch.
2692
0a51a5af
SS
2693 * rdi-share: New directory, RDI library contributed by ARM.
2694
352f9e9d
MA
2695Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
2696
2697 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
2698 * monitor.c (monitor_wait): Echo program output.
2699 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
2700 add MO_PRINT_PROGRAM_OUTPUT flag.
2701
4d132e40
DT
2702Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
2703
2704 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
2705 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
2706 defined.
2707 * top.c (return_to_top_level, catch_errors): use the new macros
2708 * main.c (SET_TOP_LEVEL): ditto.
2709 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
2710
3435297a
MA
2711Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
2712
2713 * configure.in: Double up brackets in shell case pattern.
2714
99fa2de0
MS
2715Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2716
2717 * tracepoint.c (finish_tfind_command): improved algorithm for
2718 deciding when we've "stepped" into a new stack frame.
2719 (map_args_over_tracepoints): loop over tracepoint list "safely",
2720 since list elements may be deleted during loop.
2721 (read_actions): add actions to history list.
2722
6d0b229c 2723For older changes see ChangeLog-97
bd5635a1
RP
2724\f
2725Local Variables:
55d3002f 2726mode: change-log
bd5635a1
RP
2727left-margin: 8
2728fill-column: 74
2729version-control: never
2730End:
This page took 0.778722 seconds and 4 git commands to generate.