]> Git Repo - binutils.git/blame - gdb/ChangeLog
* Makefile.in (config.status): changed target so that
[binutils.git] / gdb / ChangeLog
CommitLineData
eba08643
C
1Wed May 17 15:55:53 1995 J.T. Conklin <[email protected]>
2
e61853dd
C
3 * Makefile.in (config.status): changed target so that
4 config.status --recheck is executed if configure script changes.
5
eba08643
C
6 * monitor.c (monitor_printf): Changed format specification in
7 error message to work with pre-ansi compilers.
8 (monitor_load_srec): reduced length of s-records from 128 to 32
9 bytes so download is more reliable with the rom68k monitor.
10
11 * rom68k-rom.c: Added trailing space to prompt string.
12
13 * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
14 * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
15 Removed.
16 * defs.h, config/{xm-lynx.h, xm-nbsd.h},
17 config/i386/{xm-i386bsd.h, xm-linux.h},
18 config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
19 config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
20 (PSIGNAL_IN_SIGNAL_H): Removed.
21
0a5a1821
C
22Tue May 16 13:16:06 1995 J.T. Conklin <[email protected]>
23
eba08643
C
24 * Makefile.in (Makefile): Added config.status to dependency list.
25
0a5a1821
C
26 * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
27 gdb_host_cpu, gdb_target_cpu and nativefile.
28 * configure: regenerated.
29
943b7032
PS
30Mon May 15 23:50:51 1995 Peter Schauer ([email protected])
31
32 * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
33 symbols, their value is the displacement from the procedure address.
34 * top.c (init_main): Add missing newlines to help strings for
35 `if' and `while' commands, fix help string for `show commands'.
36
75cbae71
SG
37Mon May 15 18:37:56 1995 Stu Grossman ([email protected])
38
39 * breakpoint.c: Move defaults of watchpoint related macros into
40 target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
41 constants.
42 * infrun.c (wait_for_inferior): Enhance comment near
43 STOPPED_BY_WATCHPOINT.
44 * target.h: Macros from breakpoint.c.
45
5436fc65
C
46Mon May 15 17:11:38 1995 J.T. Conklin <[email protected]>
47
48 * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
49 config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
50 mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
51 out by autoconf.
52 * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
53
54 * Makefile.in, configure.in: Converted to use autoconf
55 * aclocal.m4: New file, local autoconf macro definitions.
56 * configure: New file, generated with autoconf 2.3.
57
dfd7f395
SS
58Mon May 15 14:46:41 1995 Stan Shebs <[email protected]>
59
60 * remote.c (remote_kill): Add prototype.
61 * cpu32bug-rom.c (cpu32bug_open): Properly define as static.
62 * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
63
c66ed884
SG
64Mon May 15 12:12:34 1995 Stu Grossman ([email protected])
65
24e1a4e0
SG
66 * sparclite/salib.c (win_ovf win_unf): Make window size constant
67 into a variable (__WINSIZE) so that it can be controlled via the
68 .h file.
69 * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
70 for the 933 board.
71
c66ed884
SG
72 * infrun.c: Add #ifdef HP_OS_BUG to all references to
73 trap_expected_after_continue.
74 * (wait_for_inferior): Fix for remote watchpoints. Don't try to
75 insert breakpoints while target is running (this only works on
76 *some* native targets). This may also speed up native watchpoints
77 considerably.
78
f133a597
JK
79Sat May 13 13:55:04 1995 Jim Kingdon ([email protected])
80
81 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
bbb053fd
JK
82 mdebugread.c (struct symloc), hpread.c (struct symloc),
83 xcoffread.c (struct symloc): Fix inaccurate comment introduced
84 20 Apr 1995.
f133a597 85
a367db89
JK
86Sat May 13 13:34:18 1995 Jim Kingdon <[email protected]>
87
88 * rs6000-tdep.c (find_toc_address): Revise comment.
89 * symfile.c, symfile.h (init_psymbol_list): New function;
90 consolidate duplicated copies from os9kread.c, dbxread.c
91 and dwarfread.c.
92 * defs.h: Declare info_verbose.
93 * xcoffread.c: Extensive changes to support psymtabs.
94
511ffbf2
SG
95Fri May 12 13:48:41 1995 Stu Grossman ([email protected])
96
97 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
98
48b2d07e
JK
99Fri May 12 06:39:30 1995 Jim Kingdon ([email protected])
100
101 * partial-stab.h: Expand comments.
102
2d2959e8
JL
103Thu May 11 19:01:37 1995 Jeff Law ([email protected])
104
105 * Support debugging using native MACH primitives on hppa*-*-osf*.
106 * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
107 * config/pa/hppaosf.mh: New file.
108 * config/pa/nm-hppao.h: Likewise.
109 * hppam3-nat.c: Likewise.
110 * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
111 (MACHINE_CPROC_*_OFFSET): Define.
112 (TRACE_*): Define.
113 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
114
d8afcce9
SG
115Wed May 10 18:59:26 1995 Stu Grossman ([email protected])
116
117 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
118 * (unwind_command): Clean it up and make it print things out
119 nicer.
120 * monitor.c: Add ^C handling capability (mostly ripped off from
121 remote.c).
122 * (monitor_printf): Make it check the command echo.
123 * (monitor_printf_noecho): Similar to above, but doesn't check
124 for echo.
125 * (monitor_stop): No longer waits for prompt. That is the job of
126 the caller. This makes things work much better for monitor_wait,
127 which waits for the prompt itself.
128 * (monitor_open): Deal with new monitor_stop semantics. Also,
129 flush input after sending init strings to get rid of junk that may
130 be output. Also, don't always send \r to remote. Use
131 monitor_ops->line_term cuz proper character isn't always \r.
132 * (monitor_fetch_register): Switch to completely different
133 algorithm to deal with lame-ass monitors which put spaces in the
134 middle of numbers, and prompt with a space!!!!!
135 * (monitor_read_memory_single): New routine to be used with
136 monitors that can only return one byte/short/long at a time. This
137 is selected via MO_GETMEM_READ_SINGLE.
138 * (monitor_load_srec): Use monitor_printf_noecho for sending S
139 records. Most targets don't echo them.
140 * (monitor.h): Get rid of cmd_delim. Add line_delim.
141 * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
142 * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
143 ^Q to prevent error message.
144 * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
145 instruction sequence at end to make restore_pc_queue happy.
146
bec6c6db
TG
147Wed May 10 15:59:00 1995 Torbjorn Granlund <[email protected]>
148
149 * remote-est.c (est_open): Make static to match prototype.
150
c7b44b04
MM
151Tue May 9 16:58:50 1995 Michael Meissner <[email protected]>
152
153 * configure.in: Add little endian PowerPC support.
154 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
155 support.
156 * config/powerpc/tm-ppcle-eabi.h: ditto.
157
5e3f4eac
C
158Mon May 8 12:11:38 1995 J.T. Conklin <[email protected]>
159
7e1bfb70
C
160 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
161 These variables not used.
162
5e3f4eac
C
163 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
164
774e5d7f
SS
165Wed May 3 17:54:47 1995 Stan Shebs <[email protected]>
166
167 * monitor.c (monitor_command): Don't use PROMPT until monitor
168 target is known to be open.
169 (monitor_make_srec): Don't define size of hextab.
170
171Tue May 2 18:32:24 1995 Stan Shebs <[email protected]>
172
173 * configure.in (--enable-netrom): New configuration option.
174 * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
175 value of NETROM_OBS.
176 (NETROM_OBS): New variable.
177 * remote-nrom.c: New file, NetROM target support.
178 * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
179 REMOTE_OBS instead of REMOTE_O.
180start-sanitize-arc
181 * config/arc/arc.mt: Ditto.
182end-sanitize-arc
183
e2bc2606
SG
184Fri Apr 28 23:30:00 1995 Stu Grossman ([email protected])
185
186 * array-rom.c (_initialize_array array_open): Move baud_rate
187 initialization from _initxxx to array_open to fix bug with
188 overriding -b command line option.
189
ad0c0b7f
DE
190Thu Apr 27 20:29:34 1995 Doug Evans <[email protected]>
191
192 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
193
5d747d61
SC
194Wed Apr 26 19:01:08 1995 Steve Chamberlain <[email protected]>
195
196 * remote-hms.c: Rewrite to use new monitor conventions.
197
ab52cc44
JK
198Tue Apr 25 11:27:14 1995 Jim Kingdon ([email protected])
199
200 * dbxread.c: Add comment explaining lowest_text_address.
0f60fbb8 201 Add comment regarding stringtab_global and psymtabs.
ab52cc44 202
4a8b575e
JL
203Sat Apr 22 01:26:29 1995 Jeff Law ([email protected])
204
87e33b84
JL
205 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
206
4a8b575e
JL
207 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
208 handle "short", "int" and small structures returned in registers.
209
cdd2212f
KH
210Fri Apr 21 12:57:53 1995 Kung Hsu <[email protected]>
211
212 * minsyms.c: add new function lookup_minimal_symbol_text, to look
213 for text symbol only.
214 * breakpoint.c (create_longjmp_breakpoint): call
215 lookup_minimal_symbol_text instead of lookup_minimal_symbol.
216 * symtab.h: add lookup_minimal_symbol_text prototype.
217
66d05e03
SS
218Fri Apr 21 12:03:44 1995 Stan Shebs <[email protected]>
219
220 * sh-tdep.c (sh-opc.h): Don't include.
221 (gdbcore.h): Include.
222 (frame_find_saved_regs): Remove unused local.
223
989d9cba
JK
224Thu Apr 20 10:12:21 1995 Jim Kingdon ([email protected])
225
226 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
227 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
228 up comments.
229
7486c68d
SG
230Wed Apr 19 16:58:11 1995 Stu Grossman ([email protected])
231
232 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
233 constants into PA instructions.
234 * Put #ifdefs around all signal handling code. Not generally
235 needed for embedded boards.
236 * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
237 allow different dummys to be used by this code. Use
238 INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
239 Conditionalize setup of _sr4export fixup. Improve comments.
240 * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
241 call dummy if PA_LEVEL_0 is defined. Better comments for call
242 dummys. Define offsets for LDIL/LDO instructions which load
243 function addresses.
244 * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
245 PA_LEVEL_0 to disable mucking with space regs and such.
246
247Mon Apr 17 15:37:08 1995 Stu Grossman ([email protected])
248
249 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
250 w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
251 * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
252 * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
253 * w89k-rom.c: Fix copyrights.
254
fe4bce98
SG
255Sun Apr 16 14:00:55 1995 Stu Grossman ([email protected])
256
257 * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
258 unnecessary remoteloadprotocol and remoteloadtype support.
259 * (expect expect_prompt): Change names to monitor_expect and
260 monitor_expect_prompt. Make them global.
261 * (printf_monitor): Change name to monitor_printf. Make global.
262 * (monitor_read_memory): Flush command echo to avoid parsing
263 ambiguity with CPU32Bug monitor.
264 * (monitor_load): Remove remoteloadprotocol and remoteloadtype
265 support. Call target_ops->load_routine, default to
266 monitor_load_srec.
267 * (monitor_load_srec): Remove everything but S-record support.
268 * monitor.h (monitor_ops): Add load_routine to provide monitor
269 specific download capability.
270 * remote-est.c: Clean up copyrights and comments.
271 * w89k-rom.c: Use new xmodem support.
272 * xmodem.c xmodem.h: New files to support xmodem downloads.
273 * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
274 entry to monitor_ops.
275 * cpu32bug-rom.c: New file to support Moto BCC debuggers.
276 * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
277 * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
278
51558740
JK
279Sat Apr 15 18:00:15 1995 Jim Kingdon ([email protected])
280
281 * rem-multi.shar: Removed; superceded by gdbserver.
282
e2adc41a
JK
283Fri Apr 14 12:10:24 1995 Jim Kingdon <[email protected]>
284
285 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
286 with coffread.c.
287
288 * breakpoint.c (fixup_breakpoints): Removed.
289 * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
290 (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
291
292 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
293 sections, not just SECT_OFF_MAX-1.
294
295 * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
296 to be indexed by SECT_OFF_* instead of xcoff section numbers.
297 * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
298 * symtab.h: Revise comment about block_line_section.
299 * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
300
8befb594
SS
301Sat Apr 15 14:15:14 1995 Stan Shebs <[email protected]>
302
303 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
304 command, not allowed by some version of MPW Make.
305 * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
306
b3636ee5
JK
307Sat Apr 15 14:05:09 1995 Jim Kingdon ([email protected])
308
309 * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
310 VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
311 TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
312
313Sat Apr 15 14:04:32 1995 Per Bothner <[email protected]>
314
315 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
316 TYPE_CODE_INT.
317
6fd934a6 318start-sanitize-gdbtk
d7c4766c
SS
319Sat Apr 15 13:52:24 1995 Stan Shebs <[email protected]>
320
321 * gdbtk.c (gdb_disassemble): Read from inferior if connected
322 to a VxWorks target.
323
6fd934a6
SG
324Fri Apr 14 10:18:20 1995 Stu Grossman ([email protected])
325
326 * README.GDBTK: New file. Contains the obvious.
6fd934a6 327end-sanitize-gdbtk
d7c4766c 328
3e437fe6
RS
329Thu Apr 13 16:17:04 1995 Rob Savoye <[email protected]>
330
331 * remote-array.c: New file for Array Tech LSI33k based controller
332 board.
333
546e6a39
KH
334Thu Apr 13 12:23:31 1995 Kung Hsu <[email protected]>
335
336 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
337 extract_address.
338 * remote-vxsparc.c: New file, preliminary check in, this configuration
339 not supported yet.
340 * remote-vxmips.c: ditto.
341
342Thu Apr 13 12:10:14 1995 Michael Meissner <[email protected]>
343
344 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
345 to declare the function.
346
d108166f
SS
347Wed Apr 12 16:40:20 1995 Stan Shebs <[email protected]>
348
349 * monitor.h (init_monitor_ops): Declare.
350 * rom68k-rom.c: Clarify some comments.
351 (rom68k_open): Define as static, to match decl.
352
ade01652
JK
353Wed Apr 12 16:36:44 1995 Jim Kingdon ([email protected])
354
56b73ad2
JK
355 * gdb.gdb: New file.
356 * .gdbinit: Move list-objfiles to gdb.gdb.
357
ade01652
JK
358 * values.c (set_internalvar): Set modifiable flag of newval.
359
f8203ed0
JK
360Wed Apr 12 14:34:31 1995 Jim Kingdon <[email protected]>
361
362 * xcoffread.c: Call complain() rather than error() or printing a
363 warning.
364
32513ed1
DE
365start-sanitize-arc
366Wed Apr 12 08:15:27 1995 Doug Evans <[email protected]>
367
368 * arc-tdep.c: #include "gdbcmd.h".
369 (codestream_seek): Pass CORE_ADDR.
370 (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
371 (debug_pipeline_p): Likewise.
372 (X_...): Instruction field access macros.
373 (BUILD_INSN): Define.
374 (codestream_tell): Allow for stream elements > 1 byte.
375 (codestream_fill): Likewise.
376 (setup_prologue_scan): New function.
377 (arc_get_frame_setup): Call it. Update to current spec
378 regarding prologues. Use BUILD_INSN.
379 (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
380 (arc_frame_saved_pc): New function.
381 (frame_find_saved_regs): Use BUILD_INSN.
382 (get_insn_type, single_step): New functions.
383 (one_stepped): New global.
384 (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
385 (arc_set_cpu_type): New function.
386 (_initialize_arc_tdep): Define new `set' commands `cpu',
387 `displaypipeline', and `debugpipeline'.
388 * remote-arc.c (break_insn): Add bi-endian support.
389 (arc_insert_breakpoint): Likewise.
390 (arc_remove_breakpoint): Likewise.
391 (switch_command): Delete.
392 * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
393 (TARGET_BYTE_ORDER_SELECTABLE): Define.
394 (DEFAULT_ARC_CPU_TYPE): Define.
395 (SKIP_PROLOGUE_FRAMELESS_P): Define.
396 (BREAKPOINT): Delete.
397 (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
398 (DECR_PC_AFTER_BREAK): Change to 8.
399 (NO_SINGLE_STEP): Define.
400 (ARC_PC_TO_REAL_ADDRESS): Define.
401 (SAVED_PC_AFTER_CALL): Use it.
402 (NUM_REGS, REGISTER_BYTES): Fix.
403 (FRAME_SAVED_PC): Call arc_frame_saved_pc.
404 (FRAME_LOCALS_ADDRESS): Fix.
405end-sanitize-arc
406
0c0c911b
JK
407Tue Apr 11 16:42:37 1995 Jim Kingdon ([email protected])
408
409 * top.c, utils.c, defs.h: Remove error_hook. It is currently
410 unused and would need to hook into error_begin()/return_to_top_level(),
411 instead of error(), if it were to be used.
412
8989d4fc
JK
413Tue Apr 11 13:46:25 1995 Jim Kingdon <[email protected]>
414
415 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
416 consistency with error_begin. Also print warning_pre_print.
417 Document it better.
418 * utils.c (warning): Use it.
419 * utils.c (error_begin): Doc fix.
88a5c3fc
JK
420 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
421 symfile_objfile, nuke it.
8989d4fc 422
0b078540
JK
423Tue Apr 11 09:35:20 1995 Jim Kingdon ([email protected])
424
f1cd942d
JK
425 * printcmd.c (print_address_numeric): Pass use_local to
426 print_longest, rather than always passing 1.
427
0b078540
JK
428 * nlm/Makefile.in: Remove comments discussing munch.
429
d7c4766c 430start-sanitize-gdbtk
45f90c50
MM
431Tue Apr 11 11:07:12 1995 Michael Meissner <[email protected]>
432
433 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
434 F_SETOWN is, use that.
d7c4766c 435end-sanitize-gdbtk
45f90c50 436
cb5aa38b
SS
437Mon Apr 10 18:31:57 1995 Stan Shebs <[email protected]>
438
439 Merge in support for Mac MPW as a host.
440 (Old change descriptions retained for informational value.)
441
442 * mpw-config.in (i386-unknown-go32): Change from aout.
443 (sh-hitachi-hms): New target.
444 * mpw-make.in (BISON): Use byacc instead of bison.
445 (VERSION): Bump to 4.14.1.
446 (*-pinsn.*): Remove mentions everywhere.
447 (all): Don't build MacGDB.
448 (gdb, SiowGDB): Depend on Version.r.
449 (Version.r): Generate from version info.
450 * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
451 (main) [MPW]: Remove debugging hook.
452 * mac-xdep.c (debug_openp): New flag.
453 (mac_init): Set flag if env variable defined.
454 * ser-mac.c (mac_open): Clarify error message.
455 (mac_readchar): Call PROGRESS while looping.
456 (mac_write): Call sleep instead of sec_sleep.
457 (sec_sleep): Remove.
458 * source.c (openp) [MPW]: Only print debugging info if debugging.
459 * utils.c (query) [MPW]: Clarify that behavior is a bug.
460
461 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
462
463 * main.c, source.c: Remove hacks that replace long strings
464 with shorter ones, now solved portably.
465
466 * config/m68k/xm-mpw.h (spin.h): Include.
467 (ALMOST_STDC): Only define if MPW_C.
468 * config/m68k/tm-mac.h: New file, Mac target definitions.
469
470 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
471 i386-unknown-aout): New targets.
472 (mk.tmp): Add *DEPFILES definitions.
473 * mpw-make.in: Remove gC rules, clean up definitions for other
474 include files, bump version, fix bogus \ that should be \Option-d.
475 (init.c): Build correctly.
476
477 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
478 (ALLDEPFILES): Add somsolib.c.
479 (somsolib.o): Add some dependencies.
480
481 * mpw-config.in: Use nm-empty.h if host is not target.
482 (xdepfiles): Add mac-xdep.c.o.
483 (xm_file): Remove.
484 * mpw-make.in: Add Fortran files.
485 (XDEPFILES): Remove.
486
487 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
488 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
489
490 * mpw-make.in: Use {s} instead of {srcdir} everywhere.
491 (bindir, libdir): Remove extra colon.
492 (source.c): Compile with C instead of gC.
493 (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
494 (install-only): Don't install MacGDB.
495 * source.c (openp) [MPW]: Add a debugging display.
496 (open_source_file) [MPW]: Use MPW basename finders.
497 [MPW_C]: Briefer versions of help for line and list commands.
498
499 * mpw-make.in: Change references from paread.c to somread.c
500
501 * mpw-make.in (VERSION): Update to 4.12.3.
502 (SiowGDB): New target, GDB using SIOW library.
503 (init-new.c): New target, attempt to generate init.c from sources.
504 (main.c.o, top.c.o): Put each in its own segment.
505 * main.c (main) [MPW]: Always call mac_init.
506 * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
507 an extra newline otherwise.
508 * mac-xdep.c: More comments in various places, remove junk.
509 (mac_init): Add tests for MPW and SIOW.
510 (use_wne, has_color_qd): Renamed.
511 (use_color_qd): New variable.
512 (grow_window): Only do console resizing to console window,
513 call resize_console_window.
514 (zoom_window): Call resize_console_window.
515 (resize_console_window, scroll_text): New functions.
516 (adjust_console_sizes): Always align viewrect to even multiples of
517 text lines.
518 (adjust_console_text): Always scroll by whole lines.
519 (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
520 recalculation of scroll positions if a newline was output.
521 (hacked_fflush): Similarly, for flushing.
522 (hacked_fgetc): New function, aborts if called in MacGDB.
523 * ser-mac.c (mac_readchar): Rename starttime to start_time,
524 remove debugging printf.
525 (mac_write): Sleep on first 4 writes.
526 (sec_sleep): New function, works like standard sleep.
527 * macgdb.r: Adjust positioning and contents of About box.
528 Set minimum size to 2000K, preferred size to 5000K.
529 * config/m68k/xm-mpw.h (fgetc): Define as a macro.
530
531 * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
532 (top.c.o, annotate.c.o): Add build rules.
533 * macgdb.r (SysTypes.r): Include.
534 ('vers'): New resource, version info.
535 (mFile, mEdit, mDebug): Enable all menu items.
536 (mDebug): Add key equivalents for continue, step, next.
537 (wConsole): Add zoom and close boxes to window.
538 * mac-xdep.c (new_console_window): New function, code taken from
539 mac_init.
540 (mac_command_loop): Use GetCaretTime for wait interval, call
541 do_idle on null events.
542 (do_idle): New function.
543 (zoom_window): Implement zooming.
544 (v_scroll_proc): New function, handles vertical scrolling.
545 (activate_window): Do activation of console window.
546 (do_menu_command): Implement items of file, edit, and debug menus.
547 (do_keyboard_command): Fix command extraction.
548 (adjust_console_sizes, adjust_console_text): New functions.
549 (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
550 hacked_putc): Don't call draw_console.
551 * ser-mac.c (mac_open): Add an error message for invalid ports.
552 (first_mac_write): New global.
553 (mac_write): Use first_mac_write to sleep on first several writes.
554
555 * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
556 (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
557 (TSOBS): Don't compile inflow.c.
558 (all, install): Add MacGDB.
559 * main.c (main): Do Mac-specific init and command loop if a
560 standalone app, skip full option help message if compiling
561 with MPW C.
562 (gdb_readline): If MPW, add a newline after the (gdb) prompt.
563 * utils.c (_initialize_utils): If MPW, don't try to use termcap to
564 compute the window size.
565 * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
566 fflush): Define as macros that expand into hacked_... versions.
567 (StandAlone, mac_app): Declare.
568 * macgdb.r (SIZE): Set the default partition to 4000K.
569 * mac-xdep.c (readline.h, history.h): Include.
570 (terminal.h): Don't include.
571 (mac_app): Define.
572 (gdb_has_a_terminal): Define Mac-specific version.
573 (do_keyboard_command): Simplify search for command string.
574 (readline): Define as gdb_readline.
575 Add other history/readline stubs to make main gdb link.
576 (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
577 hacked_fputc, hacked_fflush): New functions, intercept output to
578 stdout and stderr, send to console window.
579
580 * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
581 (XDEPFILES): Define.
582 (main.c.o): Compile with gC instead of C.
583 * mac-defs.h: New file, menu etc definitions shared between
584 C and Rez files.
585 * macgdb.r: New file, Rez (resource compiler) resource
586 definitions.
587 * mac-xdep.c: New file, Mac host interface code.
588 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
589 DIRNAME_SEPARATOR.
590 (PATHNAME_SEPARATOR_STRING): Remove.
591 (SIGQUIT, SIGHUP): Define.
592 (fileno, R_OK): Define.
593
594 * mpw-config.in: New file, MPW configuration fragment.
595 * mpw-make.in: New file, MPW makefile fragment.
596 * config/m68k/xm-mpw.h: New file, MPW host definitions.
597 * ser-mac.c: New file, Mac serial interface.
598
c08c3640
KH
599Mon Apr 10 16:47:57 1995 Kung Hsu <[email protected]>
600
73dab896
KH
601 * valprint.c (print_longest): Fix a syntax error in #ifdef
602 PRINTF_HAS_LONG_LONG.
603
604 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
c08c3640
KH
605 PRINTF_HAS_LONG_LONG.
606 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
607
41270571
PS
608Sat Apr 8 02:47:45 1995 Peter Schauer ([email protected])
609
610 * mdebugread.c (parse_symbol): Use new variable
611 nodebug_var_symbol_type as type of variables which don't have any
612 ecoff debug info associated with them.
613 (parse_symbol, parse_procedure): Use heuristics to determine if
614 functions were compiled without debugging info and change their
615 type to nodebug_function_symbol_type.
616 (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
617
618 * source.c (line_info): Clear sal.pc for `info line' without
619 arguments.
620
7952bce6
SG
621Fri Apr 7 17:43:01 1995 Stu Grossman ([email protected])
622
623 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
624 send_xmodem_packet shows up to do the obvious. Lots of fixes to
625 xmodem downloads including resetting of block number at start of
626 new transfers, fix for buffer overrun problem, addition of CRC
627 generation code.
628 * (monitor_open): loadtype_str and loadproto_str now default to
629 first entry in monitor_ops->loadtypes.
630 * (monitor_wait): Lengthen register dump buf, because of verbose
631 Winbond monitor.
632 * (monitor_fetch_register): Report unimplemented registers as 0.
633 * (monitor_read_memory): Only do 16 byte aligned transfers
634 because of formatting weirdness with the Winbond monitor. Also,
635 ignore non-hex, non-whitespace formatting between bytes (same
636 monitor).
637 * (monitor_load): Clean up logic.
638 * (monitor_load_srec): Re-do xmodem support. Move lots of it
639 into send_xmodem_packet.
640 * (getacknak): Get rid of polls and timeouts. Handle CRC
641 requests from receiver.
642 * (monitor_make_srec): Efficiency improvements. Don't call
643 sprintf to output two digit hex numbers.
644 * (crcinit, docrc): New, CRC-16 support routines.
645 * (send_xmodem_packet): New routine to generate either CRC-16 or
646 checksummed xmodem packets.
647
648 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
649 Reduce tables down to only the load types supported by each
650 monitor.
651
652 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
653 register dumps.
654 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
655 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
656 registers commands.
657
0ac704d2
SG
658 * config/pa/tm-hppa.h: Define lots register offsets needed by
659 w89k-rom.c.
660
5d747d61 661
77a89957
MM
662Thu Apr 6 17:00:46 1995 Michael Meissner <[email protected]>
663
664 * Makefile.in (X11_INCLUDES): Define as empty.
665 (X11_CFLAGS): Define as including $(X11_INCLUDES).
666 (X11_LIB_SWITCHES): Define as empty.
667 (X11_LIBS): Define as -lX11.
668
cb5aa38b 669start-sanitize-gdbtk
77a89957
MM
670 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
671 and --x-libraries switches, setting the X11_INCLUDES and
672 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
673 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
674
675 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
676 it. This means that the stop button doesn't work, but is better
677 than nothing.
cb5aa38b 678end-sanitize-gdbtk
77a89957 679
8066e434
JK
680Wed Apr 5 19:57:38 1995 Jim Kingdon ([email protected])
681
682 * mips-tdep.c (mips_print_register): Remove unused variable
683 our_type and call to init_type. Fixes memory leak. Reindent function.
684
685 * mips-tdep.c (mips_print_register), findvar.c
686 (write_register_bytes): Make buffer char[] instead of unsigned
687 char[].
688
dee80384
JK
689Mon Apr 3 19:28:14 1995 Jim Kingdon ([email protected])
690
8066e434 691 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
dee80384
JK
692 variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
693 (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
694 print sym") could output extraneous stuff.
695 * objfiles.c: Don't declare error_pre_print; defs.h does it.
696
697Mon Apr 3 13:48:28 1995 Stu Grossman ([email protected])
698
699 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
700 * monitor.c (monitor_read_memory): Use previously mentioned flag
701 to send proper format memory examine commands to the w89k monitor.
702 Also, try to handle bizarre format of memory dump...
703
704 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
705
576c3913
PS
706Sat Apr 1 03:22:20 1995 Peter Schauer ([email protected])
707
708 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
709 Handle relocated symbol address.
710 * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
711 Do not relocate a zero address.
712
23a1346e
JK
713Thu Mar 30 19:46:36 1995 Jim Kingdon ([email protected])
714
7c7c4f0a
JK
715 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
716 is nowhere used.
717
23a1346e
JK
718 * stabsread.c (read_range_type): Remove FIXME comment about
719 type-id (I presume this meant a number followed by = followed by a
720 type) versus type number; Per fixed it.
721
1e1dd175
SS
722Wed Mar 29 09:56:04 1995 Jason Molenda ([email protected])
723
724 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
725
a2f0cf2f
SS
726Wed Mar 29 18:30:03 1995 Stan Shebs <[email protected]>
727
728 * remote-e7000.c (why_stop): Add new kinds of strings to expect
729 from the emulator.
730 (e7000_wait): Add interpretations for more stop reasons,
731 including warnings for write protect and cycle address errors.
732
a706069f
SG
733Wed Mar 29 17:09:29 1995 Stu Grossman ([email protected])
734
735start-sanitize-gdbtk
736 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
737 locations (per-host) for X11 include files.
738 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
739 the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
740 of the R5 include files.
741end-sanitize-gdbtk
742 * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
743 support for interrupting target.
744 * monitor.c (monitor_open): Send stop command before doing
745 anything else.
746 * (monitor_load_srec): Fix record size calculation to prevent end
747 of segment from getting trashed.
748 * rom68k-rom.c: Update to latest version of struct monitor_ops.
749 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
750 problems. Makes DOS hosted function calling work.
751 * sparclite/crt0.s: Define _start to make COFF happy.
a706069f 752
3e8fdb61
MM
753Wed Mar 29 09:11:51 1995 Michael Meissner <[email protected]>
754
755 * defs.h (atof): Don't provide an external declaration if atof is
756 a macro.
757
e137e850
PS
758Wed Mar 29 00:01:07 1995 Peter Schauer ([email protected])
759
760 * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
761 the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
762 tests.
763
e55a5796
PB
764Tue Mar 28 17:04:04 1995 Per Bothner <[email protected]>
765
766 * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
767 set, set TYPE_FLAG_TARGET_STUB.
768 (check_stub_type): Recalculate TYPE_LENGTH for range type.
769 * stabsread.c (read_range_type): If index type number is followed
770 by '=', back up, call read_type. and assume we have a true range.
771 * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
772
3f403f6a
PS
773Mon Mar 27 22:51:54 1995 Peter Schauer ([email protected])
774
775 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
776 sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
777 registers with zero to handle recent read_register_bytes change.
778 * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
779 fill_gregset): Fix handling of CAUSE_REGNUM.
780 * mips-nat.c (store_inferior_registers): Handle unwritable
781 registers when storing a single register.
782 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
783 Fix definitions.
784
785 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
786 allocated mips_extra_func_info, if the debug info is corrupt,
787 the PDR to fill it in might be missing.
788
3b94a0b8
KH
789Mon Mar 27 14:43:00 1995 Kung Hsu <[email protected]>
790
791 * vx-share/regPacket.h: a new file interfacing with vxworks.
792
d582898a
JK
793Sun Mar 26 13:22:47 1995 Jim Kingdon ([email protected])
794
795 * breakpoint.c (bpstat_do_actions): Once we've executed the
796 commands, set bs->commands to NULL.
797
b9e58503
PS
798Sat Mar 25 01:16:10 1995 Peter Schauer ([email protected])
799
800 * buildsym.c (patch_subfile_name): Update last_source_file
801 with the real source file name.
802 * dbxread.c (end_psymtab): Handle static functions in the
803 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
804 to lookup_minimal_symbol.
805 (process_one_symbol): Ignore extra outermost context from
806 SunPRO cc and acc.
807 * stabsread.c (define_symbol): Do not complain for SunPRO
808 static variable encoding if STATIC_TRANSFORM_NAME is defined.
809 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
810 (sunpro_static_transform_name): Renamed from
811 solaris_static_transform_name.
812 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
813 Define to sunpro_static_transform_name for acc 3.0 compiled
814 executables.
815 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
816 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
817 if defined.
818 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
819 `unsigned long' and use `lx' format for printing it.
820
821Fri Mar 24 15:45:42 1995 Stu Grossman ([email protected])
822
823 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
824 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
825 the beginning of the code.
826 * (write_register_gen): New routine. Analogous to
827 read_register_gen.
828 * (write_register_bytes): Another rewrite! Make it smarter about
829 not updating regs with the same value.
830 * monitor.c (printf_monitor readchar): Use stderr instead of
831 stdout to output debug info. Also cleanup readchar a little.
832 * (expect): Make sure that excessive responses are null
833 terminated.
834 * (monitor_open): Check for magic number in monitor_ops struct.
835 Allow multiple commands as init strings. Also, clear all
836 breakpoints.
837 * (monitor_resume monitor_wait): Send a command to dump all the
838 regs for those targets which don't do so when waking up after a
839 continue command.
840 * (monitor_wait): Handle excessive response output better.
841 * (monitor_write_memory): Use block fill, word, and long word
842 commands (if they exist) to write memory more efficiently.
843 * General cleanups to use flag bits instead of individual flag
844 words in monitor_ops struct.
845 * (monitor_command): Return output from command.
846 * (monitor_load_srec): Allocate buffer only once. Use alloca.
847 Wait for load response string instead of using a timeout to start
848 sending S-records. Fix bug where value of srec_frame shrinks. If
849 hashmark is set, print `-' for retransmissions. General cleanups.
850 * (monitor_make_srec): Get rid of S-record default type kludge.
851 * monitor.h: Use seperate struct for memory and register
852 read/write commands. Memory commands can come in byte, word,
853 long, and longlong forms.
854 * (monitor_ops): Change lots of fields. Generalize some stuff.
855 Put all flags into flags word. Allow init to be a list of commands.
856 Add command for clearing all breakpoints, block fill, dumping all
857 registers.
858 * remote-est.c: Rewrite to use new monitor conventions.
859 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
860 * config/m68k/tm-est.h: Set NUM_REGS to 18.
861 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
862 more thoroughly.
863
9bfed1ee
JL
864Thu Mar 23 23:20:00 1995 Jeff Law ([email protected])
865
866 * somsolib.c (som_solib_add): Handle case where a shared library
867 referenced by a core file has sections without the SEC_ALLOC bit
868 set (eg stabs sections).
869
1c04536e
JK
870Thu Mar 23 15:07:08 1995 Jim Kingdon ([email protected])
871
872 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
873 chain, do all the commands regardless of whether they run the
874 inferior.
875
aa949c08
DE
876Wed Mar 22 19:17:06 1995 Doug Evans <[email protected]>
877
878 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
879 BREAKPOINT if mono-endian.
880 (break_insn): Deleted.
881 (big_break_insn, little_break_insn): Define.
882 (memory_insert_breakpoint): Handle bi-endian cpus.
883 (BREAKPOINT_LEN): Define.
884 (memory_remove_breakpoint): Use it.
885 (memory_breakpoint_size): Likewise.
886
9cc2cd4f
KH
887Tue Mar 21 17:03:17 1995 Kung Hsu <[email protected]>
888
889 * sparc-stub.c: add nop after 'bg good_wim'.
890 * sparcl-stub.c: ditto.
891
1968ed13
JK
892Tue Mar 21 13:34:12 1995 Jim Kingdon ([email protected])
893
894 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
895 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
896
e6059f4a
JL
897Mon Mar 20 10:09:59 1995 Jeff Law ([email protected])
898
899 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
900
a15f6b0a
SG
901Mon Mar 20 07:34:48 1995 Stu Grossman ([email protected])
902
903 * hppah-nat.c (store_inferior_registers): Move check for
904 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
905 found by test suite during function calls, which attempts to write
906 unwritable registers.
907
5c26250b
PS
908Sat Mar 18 02:02:24 1995 Peter Schauer ([email protected])
909
910 * mdebugread.c (parse_symbol): If finishing a function without
911 known parameter type info, set that from parameter symbols.
912 Remove commented-out add_param_to_type support.
913
914Thu Mar 16 16:38:03 1995 Jim Kingdon ([email protected])
915
916 * xcoffread.c (process_linenos): Make sure filename we pass to
917 start_subfile will cause deduce_language_from_filename to return
918 the correct thing. Reindent function to GNU standards.
919
334655aa
C
920Thu Mar 16 15:54:00 1995 J.T. Conklin <[email protected]>
921
922 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
923 as it is not available on NetWare 3 or PIN.
924 * nlm/ppc.c (StopBell): Removed.
925
8367c66b
JK
926Thu Mar 16 12:14:41 1995 Jim Kingdon ([email protected])
927
d1f14b46
JK
928 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
929 inferred from the traceback tags, give its type the name
930 "<non-float parameter>".
931
8367c66b
JK
932 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
933
2081365f
SG
934Wed Mar 15 15:09:29 1995 Stu Grossman ([email protected])
935
936 * findvar.c (read_register_bytes write_register_bytes): Make
937 these routines much smarter about updating registers from the
938 target, only doing so when absolutely necessary. This really
939 speeds up register modification on some remote targets.
940
941 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
942 BFD makes this unnecessary. Lots of debugging speedups.
943 * (expect): NULL terminate return string.
944 * (monitor_open monitor_supply_register parse_register_dump
945 monitor_wait monitor_fetch_register): Switch to using GNU regexp
946 library to parse multi-register displays.
947 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
948 * (monitor_create_inferior): Call clear_proceed_status to make run
949 command notice first breakpoint.
950 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
951 address and reset symbol table stuff to make loads put things into
952 a fresh state.
953 * (monitor_load_srec): Lower sleep time to 1 second.
954
955 * monitor.h (struct monitor_ops): Add register_pattern and
956 supply_register to monitor_ops.
957
958 * rom68k-rom.c: Add new support for handling register dumps.
efe4e52d
SG
959 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
960 dump handling.
2081365f 961
a7f6f40b
JK
962Wed Mar 15 15:18:27 1995 Jim Kingdon ([email protected])
963
964 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
965 argument be an int, not a char. Using a prototype followed by an
966 old-style function definition in a case where an argument is
967 widened is a GCC-ism not supported by the native AIX compiler.
968
b1dda26e
C
969Wed Mar 15 12:22:35 1995 J.T. Conklin <[email protected]>
970
68c1bc9c
C
971 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
972 long ago.
973
a64bbacf 974 * configure.in (alpha-*-netware*): Removed configuration.
68c1bc9c
C
975 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
976 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
977 alpha.c, alpha.h, altdebug.h}: Removed.
978
b1dda26e
C
979 * nlm/gdbserve.c (main): Add support for processing BOARD=
980 argument, deprecate NODE=.
981
961b8ebd
JK
982Wed Mar 15 10:58:26 1995 Jim Kingdon ([email protected])
983
984 * c-exp.y (yylex): Make an empty character constant an error.
985
912cb3fd
PB
986Tue Mar 14 15:00:54 1995 Per Bothner <[email protected]>
987
988 * valops.c (value_arg_coerce): Do possible value_coerce_array
989 before determining type argument to value_cast.
990
1990231d
KH
991Tue Mar 14 10:41:41 1995 Kung Hsu <[email protected]>
992
993 * remote-es.c: Replace ignore with 0.
994
a3012272
JK
995Tue Mar 14 05:52:36 1995 Jim Kingdon ([email protected])
996
2e12bf4f
JK
997 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
998 If VALUE_REPEATED is already set, just error out.
999
36633dcc
JK
1000 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
1001 FIXME-type-allocation comments.
1002
a3012272
JK
1003 * gdbtypes.h (struct type): Fix comment about what units the
1004 TYPE_LENGTH is in.
1005
477b2425
SS
1006Mon Mar 13 18:27:25 1995 Stan Shebs <[email protected]>
1007
1008 * ch-valprint.c (annotate.h): Include.
1009 * eval.c (evaluate_subexp_standard): Remove unused variable.
1010 (calc_f77_array_dims): Add parens to expression.
1011 * f-exp.y (yylex): Add parens to expression, remove unused label.
1012 * f-lang.h (calc_f77_array_dims): Declare.
1013 * f-valprint.c (f_val_print): Remove unused variables.
1014
4f69fe46
JK
1015Mon Mar 13 15:25:47 1995 Jim Kingdon <[email protected]>
1016
1017 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
1018 use the PDR, just examine prologues instead.
1019
477b2425 1020start-sanitize-arc
c230fbb6
KH
1021Fri Mar 10 16:13:18 1995 Kung Hsu <[email protected]>
1022
c230fbb6
KH
1023 * config/tm-arc.h: Change arc register names.
1024end-sanitize-arc
1025
a1a0d974
PS
1026Fri Mar 10 02:49:40 1995 Peter Schauer ([email protected])
1027
1028 Fix problems with infinite recursion when printing a class
1029 that contains a static instance of the class.
1030 * cp-valprint.c (dont_print_vb_obstack): Renamed from
1031 dont_print_obstack, made static.
1032 (dont_print_statmem_obstack): New obstack, controls printing
1033 of static member classes.
1034 (_initialize_cp_valprint): Initialize it.
1035 (cp_print_static_field): New function, handles printing of
1036 static members.
1037 (cp_print_value_fields): New parameter dont_print_statmem to
1038 handle recursive printing of static member classes, use
1039 cp_print_static_field to handle printing of static members.
1040 * c-valprint.c (cp_print_value_fields): Update prototype and
1041 call to include additional dont_print_statmem parameter.
1042 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
1043 extern declaration.
1044
1045 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
1046
1047 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
1048 alpha_find_saved_regs if fi->saved_regs is still NULL.
1049
1050 * elfread.c (elf_symtab_read): Ensure that the filename field
1051 of a minsym is nonempty. Ignore solib trampoline symbols from
1052 the main symbol table, they might have a bogus value.
1053
1054 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
1055 Fix typos in comments.
1056
45d6f623
JK
1057Thu Mar 9 17:19:47 1995 Jim Kingdon <[email protected]>
1058
1059 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
1060 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
1061 we know whether the PDR ever got set.
1062 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
1063 use the PDR, just examine prologues instead.
1064
1065Wed Mar 8 23:35:10 1995 Jeff Law ([email protected])
1066
1067 * somsolib.c (som_solib_section_offsets): Get offset of text
1068 section right.
1069
34c40fd7
SG
1070Wed Mar 8 16:12:21 1995 Stu Grossman ([email protected])
1071
8cbf6efc 1072start-sanitize-gdbtk
9468f8aa
SG
1073 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
1074 type is not bp_breakpoint.
8cbf6efc 1075end-sanitize-gdbtk
9468f8aa 1076
34c40fd7
SG
1077 * source.c (forward_search_command reverse_search_command): Set
1078 convenience variable $_ to be the line # of the match.
1079 * symtab.c (decode_line_1): Allow convenience variables to be
1080 used in line specs (for breakpoints and such).
1081
95618211
SS
1082Wed Mar 8 12:51:00 1995 Stan Shebs <[email protected]>
1083
1084 * Makefile.in (VERSION): Bump to 4.14.1.
1085 * NEWS, README: Update for 4.14.
1086 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
1087 (i386_insert_nonaligned_watchpoint): Call aligned instead of
1088 generic watchpoint insertion.
1089
830a65b3
PB
1090Tue Mar 7 19:26:10 1995 Per Bothner <[email protected]>
1091
1092 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
1093
236274b9
SG
1094Tue Mar 7 00:23:47 1995 Stu Grossman ([email protected])
1095
95618211 1096 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
32fa4b59
SG
1097 into monitor.c.
1098 * monitor.c (monitor_create_inferior): Allow run command to start
1099 program.
1100
f17aed8b
SG
1101 * monitor.c (monitor_load): Set PC to start address when done
1102 loading.
1103
95618211 1104 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
f17aed8b
SG
1105 Remove ref to monitor_create_inferior.
1106
8f078234
SG
1107 * monitor.c: More general cleanups. Add prototypes, remove
1108 unused routines. Fix bug with wrong number of args to error().
1109
cc60ad63
SG
1110 * main.c (main): Don't start up GUI when running under gdb mode
1111 in emacs.
1112
1265e2d8
SG
1113 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
1114 Sun make (with VPATH) work...
1115
95618211 1116 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
1265e2d8 1117 (rom68k) target work right.
95618211 1118 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
1265e2d8
SG
1119 monitor.c interface. More work needs to be done here.
1120 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
1121 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
1122 floating-point for this card.
1123
95618211 1124 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
85c8b135
SG
1125 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
1126 (needed for IDP board?!?!?).
1127
95618211
SS
1128 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
1129 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
7baea946
SG
1130 putc_unfiltered (it's superfluous).
1131
95618211 1132 * command.h, command.c, top.c: Add var_enum command type. It's
09374c98 1133 like var_string but allows only only one of the specified strings.
236274b9 1134
e70bba9f
JK
1135Mon Mar 6 15:03:59 1995 Jim Kingdon ([email protected])
1136
1137 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
1138 compilers (such as SunOS4 /bin/cc) don't generally support it
1139 except in some contexts.
1140
f7a69ed7
PB
1141Fri Mar 3 17:42:48 1995 Per Bothner <[email protected]>
1142
2379f65c 1143 * valops.c (value_cast): Check for cast to array type *before*
f7a69ed7
PB
1144 we coerce array to pointer (in case arg2 is already array).
1145
1146 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
1147 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
1148 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
1149
1150 * valops.c (call_function_by_hand): Re-arrange code for pushing
1151 paramaters on the stack so we can do better STACK_ALIGN.
1152
1153 * valops.c (call_function_by_hand): Call error if the number
1154 of arguments is fewer than parameter types in function type.
1155
732ff6af
DE
1156Fri Mar 3 17:13:05 1995 Doug Evans <[email protected]>
1157
1158 * sparc-tdep.c (sparc_extract_struct_value_address): Move
1159 sparc64 support to here.
1160 (sparc64_extract_struct_value_address): Deleted.
1161 (dump_ccreg): Add a prototype so long long arg -> int.
1162 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
1163 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1164
13ffa6be
JL
1165Fri Mar 3 15:12:12 1995 Jeff Law ([email protected])
1166
3a0fbb3b
JL
1167 * hpread.c (hpread_record_lines): New argument "offset". All
1168 callers changed. Use it to handle dynamic address relocation.
1169 (hpread_build_psymtabs): Adjust texthigh as we read each function
1170 debug symbol. Fix computation of texthigh.
1171 (hpread_read_subrange_type): Work around macro bugs in HP's
1172 compilers.
1173 (hpread_process_one_debug_symbol): Correctly map source lines.
1174
2097152a
JL
1175 * somread.c (check_strange_names): Filter names emitted by the HP
1176 compiler when generating PIC code.
1177
13ffa6be
JL
1178 * valops.c (value_struct_elt_for_reference): Work around macro
1179 bugs in HP's compilers.
1180 * c-exp.y (block): Likewise.
1181
0d172a2e
JK
1182Fri Mar 3 12:27:28 1995 Jim Kingdon <[email protected]>
1183
5816555b
JK
1184 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
1185 store_address.
1186
0d172a2e
JK
1187 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
1188
629b6214
MM
1189Fri Mar 3 12:33:24 1995 Michael Meissner <[email protected]>
1190
1191 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
1192 registers that GCC emits on the PowerPC by default in addition to
1193 the store multiple instruction used on the Power series.
1194
8b0f5a9d
DE
1195Fri Mar 3 00:54:58 1995 Doug Evans <[email protected]>
1196
1197 * sparc-tdep.c (decode_asi): New function.
1198 (sparc_print_register_hook): Pretty print more v9 registers.
1199 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
1200
306d27ca
DE
1201Thu Mar 2 22:20:22 1995 Doug Evans <[email protected]>
1202
1203 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
1204 (target_to_host): Change result type to CORE_ADDR.
1205
1206Thu Mar 2 15:13:04 1995 Jim Kingdon ([email protected])
1207
1208 * rs6000-tdep.c: Fix byte-swapping sins.
1209
dc59e982
MM
1210Thu Mar 2 16:48:45 1995 Michael Meissner <[email protected]>
1211
1212 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
1213 code between branch unconditional and branch conditional cases.
1214
762cf56f
DE
1215Wed Mar 1 09:41:26 1995 Doug Evans <[email protected]>
1216
1217 Various changes for sparc64.
1218 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
1219 (SPARC_INTREG_SIZE): Define.
1220 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
1221 where appropriate.
1222 (enum branch_type): New value `done_retry'.
1223 (isbranch): Renamed from isannulled. All callers changed.
1224 Support new sparc64 branch insns.
1225 (single_step): Handle done_retry.
1226 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
1227 (get_saved_register): Likewise.
1228 (sparc_push_dummy_frame): Likewise.
1229 (sparc_frame_find_saved_regs): Likewise.
1230 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
1231 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
1232 (sparc64_extract_struct_value_address): New function.
1233 (dump_ccreg, sparc_print_register_hook): Likewise.
1234 * sp64-tdep.c: Deleted.
1235 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
1236 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
1237 (CC_HAS_LONG_LONG): Define.
1238 (REGISTER_NAMES): Delete cle/tle and reorganize.
1239 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
1240 sparc-tdep.c now.
1241 (REGISTER_BYTES): Update.
1242 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
1243 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
1244 (NO_SINGLE_STEP): Likewise.
1245 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
1246 * sparc/sp64.mt: Move simulator support ...
1247 * sparc/sp64sim.mt: ... to here.
1248
7e869571
KH
1249Wed Mar 1 13:14:42 1995 Kung Hsu <[email protected]>
1250
1251 * remote-vx960.c: new file for target specific register packaging.
1252 * remote-vx68.c: ditto.
1253 * config/i960/vxworks960.mt: add remote-vx960.o.
1254 * config/m68k/vxworks68.mt: add remote-vx68.o.
1255
8bfd30b2
MM
1256Wed Mar 1 13:42:49 1995 Michael Meissner <[email protected]>
1257
1258 * remote.c (remote_wait): Make calls to strtol be type correct by
1259 passing the address of a char * pointer instead of an unsigned
1260 char *.
1261
1262 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
1263 write_memory to make things type correct.
1264
ea082c0a
MM
1265Wed Mar 1 12:17:31 1995 Michael Meissner <[email protected]>
1266
1267 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
1268 standard Linux yacc by adding more names to be redefined with a
1269 prefix.
1270
bc28e68d
JK
1271Tue Feb 28 22:55:47 1995 Jim Kingdon ([email protected])
1272
1273 * hppa-tdep.c (pa_print_registers), monitor.c: Use
1274 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
1275 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
1276 Rename it to SWAP_FLOATING to make it clear it is no longer for
1277 integers.
1278
326ae3e2
KH
1279Tue Feb 28 14:38:39 1995 Kung Hsu <[email protected]>
1280
66aa7cf9
KH
1281 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
1282 compile time.
1283
8cbf6efc 1284start-sanitize-arc
abed6bc2
KH
1285 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
1286 processor.
1287 * remote-arc.c (arc_wait): when a processor stops, stop other two
1288 processors too.
1289 * remote-arc.c (switch_command): switch tm_print_insn.
8cbf6efc 1290end-sanitize-arc
abed6bc2 1291
bc01beb5
KH
1292 * vx-share/ptrace.h: merge in WRS new ptrace requests.
1293
75988f94
KH
1294 * defs.h: fix a syntax error.
1295
161520dc
KH
1296 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
1297 * remote-vx.c: move read_register and write_register out to
1298 target specific files.
1299 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
1300
326ae3e2
KH
1301 * defs.h: define SWAP_TARGET_AND_HOST macro.
1302 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
1303 SWAP_TARGET_AND_HOST.
1304
de7ad6d8
JK
1305Tue Feb 28 08:31:40 1995 Jim Kingdon ([email protected])
1306
689409ca
JK
1307 * alpha-tdep.c (find_proc_desc): Only attempt to set
1308 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
de7ad6d8 1309
431b7d5f
SS
1310Mon Feb 27 11:56:32 1995 Stan Shebs <[email protected]>
1311
1312 * monitor.c: General gcc -Wall lint cleanup and reformat.
1313 (monitor_command): If no args, send an empty command.
1314
82fc3432
SG
1315Thu Feb 23 21:07:25 1995 Stu Grossman ([email protected])
1316
1317 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
1318 after send LOAD_CMD to prevent loss of first S-record.
1319
835c2559
PB
1320Tue Feb 21 20:48:42 1995 Per Bothner <[email protected]>
1321
1322 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
1323 Call error if too few arguments.
1324 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
1325 copy and convert to reference *before* we calculate alignment.
1326 Also, make sure structs allocated for return values and invisible
1327 reference don't violate STACK_ALIGN.
1328
1d19172b
PB
1329Tue Feb 21 23:29:59 1995 Per Bothner <[email protected]>
1330
1331 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
1332 (same as C's '(TYPE[])EXPR')
1333
7f4b4b71
SS
1334Tue Feb 21 11:47:26 1995 Stan Shebs <[email protected]>
1335
1336 * top.c (print_gdb_version): Update the year.
1337
d940a47e
JK
1338Sun Feb 19 14:31:57 1995 Jim Kingdon <[email protected]>
1339
7f4b4b71 1340 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
d940a47e
JK
1341 `..' not in `../..'.
1342
f5de4904
PS
1343Sun Feb 19 11:05:28 1995 Peter Schauer ([email protected])
1344
1345 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
1346 in addition to a PIOCSSIG to kill the inferior.
1347
fda36387
PB
1348Thu Feb 16 15:06:12 1995 Per Bothner <[email protected]>
1349
1350 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
1351 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
1352 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
1353 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
1354 * c-typeprint.c (c_type_print_varspec_suffix): If array length
1355 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
1356
92c6bf4d
MM
1357Thu Feb 16 16:06:50 1995 Michael Meissner <[email protected]>
1358
1359 * dcache.c (insque, remque): Rewrite Linux support.
1360
677653a0
MM
1361Wed Feb 15 12:33:20 1995 Michael Meissner <[email protected]>
1362
1363 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
1364
fed9a8d4
MM
1365 * dcache.c (insque, remque): If compiling in standard C on Linux,
1366 protect insque and remque with macros to cast the pointer
1367 arguments to the proper type.
677653a0
MM
1368
1369Tue Feb 14 17:16:41 1995 Stu Grossman ([email protected])
1370
7f4b4b71 1371 * annotate.c, breakpoint.c, defs.h, top.c: Replace
677653a0 1372 enable/disable_breakpoint_hook with modify_breakpoint_hook.
7f4b4b71
SS
1373start-sanitize-gdbtk
1374 * gdbtk.c: Ditto.
1375 * gdbtk.c: General cleanups, get rid of unused variables. Redo
677653a0
MM
1376 handling of stdout/stderr to just return output as the result of
1377 the tcl command that caused the output. Cleanup -Wall stuff.
1378 * (breakpoint_notify): Now returns just action and breakpoint
1379 number.
1380 * (gdb_get_breakpoint_list): New routine. Does the obvious.
1381 * (gdb_get_breakpoint_info): Mostly derived from the old
1382 breakpoint_notify, but returns lots more info.
1383 * (dsprintf_append_element): Helper routine, works like printf,
1384 but appends a tcl element onto the specified DString. Good for
1385 building up lists as return values.
1386 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
1387 gdbtk_modify_breakpoint.
1388 * (*many routines*): Use new result protocol.
1389 * (call_wrapper): Make sure that recursive calls don't trash results.
1390 * gdbtk.tcl: New windows, autocmd, and breakpoints.
1391 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
1392 anymore. It's not needed (in fact, this routine may not be needed
1393 anymore).
1394 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
1395 notification protocol.
1396 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
1397 catches.
1398 * (interactive_cmd): Use this wrapper around button invocations
1399 of many commands. This will catch errors and put the results into
1400 the command window. It also updates all the other windows.
1401 * Also, change reliefs of most things to sunken. This actually
1402 looks better.
1403 * (create_file_win): Fix margin binding to allow breakpoints to
1404 work again.
1405 * (create_asm_win): Use return value of gdb_disassemble instead
1406 of implicit I/O to the command window.
1407 * (create_command_window): Use new result protocol to get output
1408 from commands.
7f4b4b71 1409end-sanitize-gdbtk
677653a0 1410
5466f20f
JK
1411Tue Feb 14 16:58:07 1995 Jim Kingdon ([email protected])
1412
1413 * expression.h: Move declaration of evaluate_subexp_with_coercion
1414 from here...
1415 * value.h: ...to here.
1416 * expression.h: Don't include value.h
1417
a6865104
JK
1418Tue Feb 14 11:46:07 1995 Jim Kingdon ([email protected])
1419
1420 * expression.h: Move include of value.h until after declaration of
1421 enum exp_opcode.
1422
faf4dcd7
SS
1423Sun Feb 12 13:47:30 1995 Stan Shebs <[email protected]>
1424
d5c8cefe
SS
1425 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
1426 simplify code, declare things, format to standards.
1427 (inferior.h, value.h, command.h, remote-utils.h): Include.
1428 (e7000_login): Rename to e7000_login_command.
1429 (e7000_ftp): Rename to e7000_ftp_command.
1430 (e7000_drain): Rename to e7000_drain_command.
1431
faf4dcd7
SS
1432 * irix5-nat.c (string.h): Include near beginning of file.
1433
18d3d859
JK
1434Sun Feb 12 12:36:38 1995 Jim Kingdon ([email protected])
1435
1436 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
1437 arg, it is a value not a symbol.
1438
1439 gcc -Wall lint:
1440 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
1441 * expression.h: ..to here.
1442 * expression.h: Include value.h.
1443 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
1444
60438e8e
PB
1445Sun Feb 12 11:03:47 1995 Per Bothner <[email protected]>
1446
7398958c
PB
1447 * language.h (struct language_defn): New field evaluate_exp.
1448 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
1449 f-lang.c (f_language_defn), language.c (unknown_language_defn,
1450 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
1451 Set evaluate_exp to evaluate_subexp_standard.
1452 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
1453 support for MULTI_SUBSCRIPT.
1454 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
1455 * eval.c (enum noside): Move from here ....
1456 * expression.h (enum noside): ... to here.
1457 (evaluate_subexp_standard): New prototype.
1458 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
1459 Removed lo-longer-needed test for chill_varying_type.
1460 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
1461
60438e8e
PB
1462 * ch-exp.y (maybe_expression_list): New non-terminal.
1463 (primitive_value): Allow empty parameter list.
1464
27202b6a
PB
1465Sun Feb 12 10:02:16 1995 Per Bothner <[email protected]>
1466
1467 * buildsym.c (finish_block): If finishing a function without known
1468 parameter type info, set that from parameter symbols.
1469 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
1470 print parameter types, if available.
1471 * ch-typeprint.c (chill_type_print_base): Likewise.
1472
1473 * gdbtypes.h (struct type): Remove function type field.
1474 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
1475 function types now that we're also storing parameter types.
1476 And the payoff is much less.
1477 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
1478 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
1479 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
1480
5222ca60
PB
1481 * valops.c (value_arg_coerce): Now takes param_type argument.
1482 (call_function_by_hand): Convert arguments with value_arg_coerce
1483 early, and overwrite original args with converted args.
1484 No longer need multiple calls to value_arg_coerce.
1485 (value_arg_push): Removed.
1486 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
1487 * mips-tdep.c (mips_push_arguments): Likewise.
1488 * alpha-tdep.c (alpha_push_arguments): Likewise.
1489 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
1490 Likewise.
1491 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
1492
1493 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
1494
7c606261
PB
1495 * symtab.c (add_param_to_type): Remove (commented-out) function,
1496 since that functionality has been re-written.
1497 * coffread.c: Remove commented-out add_param_to_type support.
1498 * mdebugread.c (parse_symbol): Likewise.
1499 * stabsread.c (define_symbol): Likewise.
1500
21af55c9
JK
1501Sun Feb 12 09:03:47 1995 Jim Kingdon ([email protected])
1502
1503 * buildsym.c (start_subfile): Set language for f2c like for cfront.
1504
1505Thu Feb 9 20:20:11 1995 Rob Savoye <[email protected]>
1506
1507 * op50n-rom.c: Add the control registers.
1508
76a457c0
SS
1509Thu Feb 9 15:46:39 1995 Stan Shebs <[email protected]>
1510
1511 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
1512 after, any host/target/native libraries.
1513 * dcache.c (insque, remque): Remove declarations.
1514 * gdbtypes.h (type_code): Remove trailing comma.
1515
1516 From Peter Schauer:
1517 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
1518 STATIC_NODEBUG_VARS inside case.
1519
137a07e6
JK
1520Thu Feb 9 07:43:41 1995 Jim Kingdon <[email protected]>
1521
1522 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
1523 * partial-stab.h: Call it.
1524 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
1525 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
1526 get the address.
1527 * sparc-tdep.c (solaris_static_transform_name): New function.
1528
506af7a7
JL
1529Thu Feb 9 12:09:09 1995 Jeff Law ([email protected])
1530
1531 * somread.c (som_symtab_read): Handle dynamic relocation for both
1532 text and data symbols.
1533 (som_symfile_offsets): If objfile is a shared library, then get
1534 text and data offsets from the shared library structures.
1535 * somsolib.c (som_solib_add): Copy the bfd pointer from the
1536 objfile rather than reopening the file again.
1537 (som_solib_section_offsets): New function.
1538 * somsolib.h (som_solib_section_offsets): Declare.
1539
2d336b1b
JK
1540Wed Feb 8 20:32:18 1995 Jim Kingdon <[email protected]>
1541
1542 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
1543 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
1544 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
1545 filename field.
1546 * elfread.c (record_minimal_symbol_and_info),
1547 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
1548 newly created symbol.
1549 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
1550 Set filename field of minimal symbol.
1551 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
1552 Print filename field.
1553 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
1554 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
1555 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
1556 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
1557 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
1558 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
1559 Find address of function from minimal symbols.
1560 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
1561 instead of getting pst->textlow from the stab.
1562 * minsyms.c (find_stab_function_addr): New function.
1563
151e7820
RS
1564Wed Feb 8 19:19:56 1995 Rob Savoye <[email protected]>
1565
1566 * monitor.c: Fix so all the output shows up in the GUI command
1567 window.
1568
9c4ecee6
SS
1569Mon Feb 6 18:50:59 1995 Stan Shebs <[email protected]>
1570
1571 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
1572 line, so init.c generation works correctly.
1573start-sanitize-arc
1574 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1575end-sanitize-arc
1576
16b3ea5e
RS
1577Mon Feb 6 14:44:36 1995 Rob Savoye <[email protected]>
1578
04697040
RS
1579 * config/mips/idt.mt: Add support for the lsi33k target.
1580 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
16b3ea5e
RS
1581 * array-rom.c: Finish the rest of the support commands needed by
1582 GDB.
1583 * mips-tdep.c: Add LSI33k register names and processor type.
1584
d039851f 1585start-sanitize-gdbtk
ddc0c38d 1586Sun Feb 5 20:32:44 1995 Jim Kingdon ([email protected])
9c4ecee6 1587
d039851f
JK
1588 * gdbtk.c (gdb_disassemble): Deference pointer to function before
1589 calling it (pre-ANSI compilers generally require this).
ddc0c38d 1590
f64a8968 1591end-sanitize-gdbtk
ddc0c38d
SS
1592Sat Feb 4 13:29:52 1995 Stan Shebs <[email protected]>
1593
1594 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
1595
6396e0c0
KH
1596Fri Feb 3 16:47:31 1995 Kung Hsu <[email protected]>
1597
1598 * ser-go32-para.c (dos_read): fix syntax errors.
1599
a76ef70a
SG
1600Fri Feb 3 11:19:20 1995 Stu Grossman ([email protected])
1601
ddc0c38d
SS
1602 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
1603 dis_asm_read_memory_hook. We can now call the disassemblers
1604 directly and have no need for this hook anymore.
1605start-sanitize-gdbtk
1606 * gdbtk.c (gdb_disassemble): Ditto.
1607end-sanitize-gdbtk
1608 * defs.h, printcmd.c: Make print_insn be static.
a76ef70a
SG
1609
1610 * ser-go32.c (dos_comisr): Make this 8 bit clean.
1611 * (dos_open dos_close): Allow multiple opens to the same device.
1612 Use a ref count to prevent unwanted deallocations.
1613 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
1614 happy.
1615 * (sparclite_ops): Switch to download_stratum.
1616 * target.h (enum strata): Move download_stratum before
1617 process_stratum so that executable targets get pushed on top of
1618 download targets.
1619
1b552670
RS
1620Thu Feb 2 19:02:45 1995 Rob Savoye <[email protected]>
1621
1622 * array-rom.c: Remove the non GDB remote protocol config stuff.
1623
1624 * monitor.c: All reading/writing functions for memory and
1625 registers work.
1626
75a5da5f
KH
1627Thu Feb 2 16:11:04 1995 Kung Hsu <[email protected]>
1628
ddc0c38d 1629start-sanitize-arc
75a5da5f
KH
1630 * config/arc/arc.mt: new target makefile for arc processor.
1631 * config/arc/tm-arc.h: new target header for arc processor.
1632 * config/arc/go32.mh: new go32 host makefile for arc processor.
1633 * config/arc/xm-go32.h: new go32 host header for arc processor.
1634 * arc-tdep.c: new target dependent codes for arc processor.
1635 * remote-arc.c: new file for arc-specific protocol through
1636 parallel line.
ddc0c38d 1637end-sanitize-arc
75a5da5f 1638 * ser-go32-para.c: new file for go32 parallel port communication.
75a5da5f 1639
2d144441
SS
1640Thu Feb 2 13:58:40 1995 Stan Shebs <[email protected]>
1641
1642 * Makefile.in (VERSION): Bump to 4.13.2.
1643
1644Thu Feb 2 07:27:56 1995 Jim Kingdon ([email protected])
1645
1646 Fix compiler warnings:
1647 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
1648 and have the caller do the sprintf. Saves us from varargs hell.
1649 (normal): Define before use.
1650 * remote-e7000.c: Reindent a few things.
1651
8a329002 1652Wed Feb 1 21:16:42 1995 Per Bothner <[email protected]>
6073b8de 1653
8a329002
PB
1654 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
1655 ranges in reverse order.
1656 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
1657
1658 * eval.c (evaluate_subscript): Don't call value_subscript, since
1659 it adjusts for lower bound and enforces ranges.
1660
1661 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
1662 * eval.c, parse.c: Removed uses of removed opcodes.
ead95f8a
PB
1663 * eval.c (evaluate_subexp): Clean up handling of
1664 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
1665
1666 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
1667 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
1668
1669 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
1670 duplicate function made redundant by chill_varying_type.
1671
1672 Re-write of f77 string and complex number support:
1673
1674 * language.h (struct language_defn): New fields string_lower_bound
1675 and string_char_type.
1676 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
1677 language.c (unknown_language_defn, auto_language_defn,
1678 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
1679 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
1680 * gdbtypes.c (create_string_type): Use new string_char_type field.
1681 * valops.c (value_string): Use new string_lower_bound field.
1682
1683 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
1684 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
1685 m2-lang.c (m2_create_fundamental_type),
1686 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
1687 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
1688 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
1689 Removed. Use builtin_type_complex and builtin_type_double_complex.
1690
1691 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
1692 and TYPE_CODE_LITERAL_COMPLEX.
1693 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
1694 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
1695 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
1696 f77_create_literal_string_type): Removed.
1697 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
1698 VALUE_SUBSTRING_MYADDR): Removed.
1699
1700 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
1701 OP_COMPLEX.
1702 * parse.c: Update accordingly.
1703
1704 * f-valprint.c (f77_print_cmplx): Removed.
1705 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
1706
1707 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
1708 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
1709 f77_value_literal_string.
1710 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
1711 f77_assign_from_literal_string, f77_assign_from_literal_complex):
1712 Removed.
1713 (value_assign): No longer need to handle literal types.
1714 * valops.c (f77_value_literal_complex), value.h: Re-written and
1715 renamed to value_literal_complex. Last arg is now a (complex) type.
1716 * valops.c (f77_cast_into_complex): Re-written and renamed to
1717 cast_into_complex.
1718 * eval.c (evaluate_subexp): Update accordingly.
1719
6073b8de
PB
1720 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
1721 print address for non-'s'-formats.
1722 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
1723 of chill_is_varying_struct.
1724
e3be225e
SS
1725Wed Feb 1 13:27:33 1995 Stan Shebs <[email protected]>
1726
1727 gcc -Wall lint.
1728 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
1729 (after_prologue): Remove unused local b.
1730 * procfs.c (thread.h): Include.
1731 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
1732 nested braces in initializer.
1733 * top.c (initialize_targets, initialize_utils): Declare.
1734 (locate_arg, insert_args): Add parens around tested assignments.
1735 * remote-utils.c (sr_scan_args): Remove decl of strtol.
1736 * remote.c (thread.h): Include.
1737 (remote_wait): Remove unused local p2.
1738 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
1739 registers array.
1740
1741 defs.h (stdlib.h): Include.
1742 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
1743 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
1744 strtok, strerror): Don't specify parameter types in declaration.
1745
f91a9e05
PB
1746Wed Feb 1 12:23:57 1995 Per Bothner <[email protected]>
1747
1748 * ch-exp.y (value_string_element, string_primitive_value,
1749 start_element, left_element, right_element, slice_size,
1750 lower_element, upper_element, first_element): Removed.
1751 (value_string_slice, value_array_slice): Replaced by ...
1752 (slice): New non-terminal, with working slice support.
1753 (primitive_value_lparen, rparen): New non-terminals.
1754 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
1755 (idtokentab): Added "up".
1756
1757 * value.h (COERCE_VARYING_ARRAY): New macro.
1758 * valarith.c (value_subscript): Use it.
1759 * valops.c (value_cast): Likewise. Also, do nothing if already
1760 correct type, and allow converting from/to range to/from scalar.
1761
1762 * valops.c, value.h (varying_to_slice, value_slice): New functions.
1763 * eval.c (OP_ARRAY): Add cast for array element.
1764 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
1765 * valops.c (chill_varying_type): Moved function frp, here ...
1766 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
1767 * parse.c (length_of_subexp, prefixify_subexp): Add support
1768 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
1769 * expprint.c (print_subexp, dump_expression): Likewise.
1770 * eval.c (evaluate_subexp): Likewise.
1771
1772 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
1773 value_x_binop on a Chill varying string.
1774
23676ab8
JK
1775Tue Jan 31 13:51:53 1995 Jim Kingdon ([email protected])
1776
1777 * config/m68k/monitor.mt,
1778 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
1779 depfiles in TDEPFILES not REMOTE_O.
1780
ccbae889
SC
1781Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
1782
1783 From [email protected].
1784 * ser-go32.c (dos_close): Don't crash if scb null.
1785 (dos_sendbreak): New function.
1786 (dos_ops): Point to dos_sendbreak.
1787 (dos_info): Calculate COM number correctly.
1788
a81ce07d
JK
1789Tue Jan 31 09:40:11 1995 Jim Kingdon ([email protected])
1790
1791 * xcoffread.c (process_xcoff_symbol): Use new variables
1792 func_symbol_type and var_symbol_type as type of functions and
1793 variables which don't have any stabs associated with them.
1794 Reindent most of function.
1795 (_initialize_xcoffread): Initialize *_symbol_type.
1796
1797 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
1798 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
1799 them (this part commented out as I didn't quite get it to work).
1800 (cs_to_section, find_targ_sec): New functions, to support above code.
1801 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
1802 actually present.
1803
0e887539 1804Mon Jan 30 17:34:24 1995 Stu Grossman ([email protected])
e3be225e 1805start-sanitize-gdbtk
78daa95e
SG
1806 * gdbtk.tcl (create_file_win): Disable old popup menu for source
1807 window.
e3be225e 1808end-sanitize-gdbtk
0e887539
SG
1809 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
1810 downloads to SPARClite demo boards.
1811
1812Sun Jan 29 09:43:22 1995 Jim Kingdon ([email protected])
1813
1814 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
1815 no hope of working as is for a long time (in particular, shebs' 27
1816 Jan 95 change confuses the issue further--target_read_memory and
1817 xfer_core_file do *not* do the same thing in this context).
1818 Revise comment.
1819
de537409
PS
1820Sat Jan 28 13:40:46 1995 Peter Schauer ([email protected])
1821
1822 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
1823 procedure linkage table symbols, it is no longer set due to the
1824 Jan 6 BFD change in bfd/elfcode.h.
1825
06c41b39
SS
1826Fri Jan 27 17:08:06 1995 Stan Shebs <[email protected]>
1827
f22661ee
SS
1828 * top.c (use_windows): Clarify comments.
1829
0d2d8412
SS
1830 * convex-tdep.c (xfer_core_file): Comment out.
1831 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
1832 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
1833 references to target_read_memory.
1834 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
1835 declarations.
1836 * corelow.c (core_open, core_detach): Make static.
1837
06c41b39
SS
1838 * arm-tdep.c: Make it compile.
1839 (exec_file_command, xfer_core_file): Comment out.
1840 (arm_print_insn): Remove, now in libopcodes.
1841 (skip_prologue): Comment out most of body.
1842 (arm_frame_find_saved_regs): Move here from tm-arm.h.
1843 (_initialize_arm_tdep): Set tm_print_insn.
1844 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
1845 (XFER_CORE_FILE): Remove.
1846 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
1847
0d6a571b
JK
1848Fri Jan 27 08:48:28 1995 Jim Kingdon ([email protected])
1849
1850 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
1851
bf644f8f
JK
1852Thu Jan 26 18:24:41 1995 Jim Kingdon <[email protected]>
1853
606ae2ba
JK
1854 * symtab.c (find_pc_line): When subtracting one to get a line
1855 number, make sure not to end up with zero.
1856
bf644f8f
JK
1857 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
1858 problems with those changes were (a) the file didn't compile, (b)
1859 they changed memset to bzero--memset is correct, (c) they took out
1860 code to deal with boards lacking floating point, (d) who knows
1861 what I didn't discover in a quick read.
1862
c746aa85
SG
1863Thu Jan 26 17:32:54 1995 Stu Grossman ([email protected])
1864
1865 * sparcl-tdep.c: Clean up formatting and indentation.
1866
d2d0e51d
SC
1867Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
1868
1869 * remote-hms.c (hms_ops): Change ref of hr_load_image
1870 to gr_load_image.
03fc5a0b
SC
1871 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
1872 dcache_poke, dcache_init): Deleted.
1873 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
1874 Use dcache routines provided by remote-util.h
d2d0e51d 1875
97544048
MM
1876Thu Jan 26 12:08:31 1995 Michael Meissner <[email protected]>
1877
1878 * configure.in: Add support for powerpc-*-eabi.
1879
1880 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
1881 PowerPC support.
1882
acc4efde
PB
1883Wed Jan 25 18:13:14 1995 Per Bothner <[email protected]>
1884
1885 * language.h (struct language_defn): New field c_style_arrays.
1886 * language.c (unknown_language_defn, auto_language_defn,
1887 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
1888 asm_language_defn): Set c_style_arrays to true.
1889 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
1890 f-lang.c (f_language_defn): Set c_style_arrays to false.
1891 * valops.c (value_string): If c_style_array is not set,
1892 allocate string in gdb (not inferior) using allocate_value.
1893
1894 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
1895 Only call value_coerce_array if current_language->c_style_arrays.
1896 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
1897
1898 * valops.c (chill_varying_type): New predicate.
1899 * valops.c (value_cast): Support assigning a fixed string or array
1900 to a variable string/array structure.
1901
1902 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
1903 Check index>=lowerbound, and then add lowerbound to index here,
1904 instead of in caller. Generalize to arbitrary lval_types.
1905 (value_subscript): Use enhanced value_subscripted_rvalue if
1906 c_style_arrays is false (and index is in range).
1907
8cbf6efc 1908start-sanitize-gdbtk
b66051ec
SG
1909Wed Jan 25 18:23:46 1995 Stu Grossman ([email protected])
1910
1911 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
1912 found.
1913 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
1914 popping up expression window for the first time.
8cbf6efc 1915end-sanitize-gdbtk
b66051ec 1916
ee3a45e7
PB
1917Wed Jan 25 18:13:14 1995 Per Bothner <[email protected]>
1918
1919 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
1920 TYPE_LENGTH is length in bytes, not bits.
1921
5024a43f
JK
1922Wed Jan 25 08:19:35 1995 Jim Kingdon ([email protected])
1923
1924 * infrun.c (proceed): Flush stdout before resuming inferior.
1925 * infcmd.c (step_1), annotate.c (annotate_starting):
1926 Don't bother to flush here.
1927
dc192b86
JL
1928Wed Jan 25 01:11:21 1995 Jeff Law ([email protected])
1929
1930 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
1931 by an ill-advised global search and replace.
1932
c81a3fa9
SG
1933Tue Jan 24 12:10:28 1995 Stu Grossman ([email protected])
1934
8e5bc49f
SG
1935 * gdbtk.tcl (create_registers_window): Work around a radiobutton
1936 widget bug to make Options|Natural button work.
1937
c81a3fa9
SG
1938 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
1939 g++ caused by out-of-order pc's.
1940 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
1941 add scrollbar.
1942
6bd7d9fa
SG
1943Mon Jan 23 17:21:09 1995 Stu Grossman ([email protected])
1944
1945 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
1946 doc!
1947
6d34c236
PB
1948Mon Jan 23 13:11:46 1995 Per Bothner <[email protected]>
1949
1950 Add support for Chill bitstring literals (e.h. H'FF00').
1951 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
1952 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
1953 just print B'<unimlemented>'.
1954 * gdbtypes.c (create_set_type): Fix bug in length calculation.
1955 * valops.c, value.h (value_bitstring): New function.
1956 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
1957
1958 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
1959 check that return type is non-void, and print in proper Chill syntax.
1960
ce51845b
RS
1961Mon Jan 23 12:20:34 1995 Rob Savoye <[email protected]>
1962
1963 * Makefile.in: Remove references to remote-mon.c.
1964 * remote-mon.c: remove. Replaced by rom68k-rom.c.
1965 * rom68k-rom.c: Support for Rom68k monitor.
1966
a9c67591
JK
1967Mon Jan 23 10:50:57 1995 Jim Kingdon ([email protected])
1968
1969 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
1970 gcc/ch/runtime not chillrt, since that is where the chill runtime
1971 lives now.
1972
0c699ac1
SC
1973Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
1974
1975 * remote-hms.c (hms_load): Delete.
1976 (target_ops): Use hr_load_image.
1977
1978 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
1979 Define memory_insert/remove_breakpoint.
1980 * xm-go32.h: Remove redundant SIGs.
1981
1982Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
1983
1984 * ser-go32.c: Rewritten by [email protected].
1985
dcda44a0
PB
1986Fri Jan 20 15:23:55 1995 Per Bothner <[email protected]>
1987
1988 * expression.h (OP_LABELED): New operator, for Chill
1989 labeled structre tuples.
1990 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
1991 New non-terminals, to handle labeled structure tuples.
1992 (tuple): Re-define using tuple_elements.
1993 * eval.c (evaluate_labeled_field_init): New function, to handle
1994 initialization of structure fields, possibly using OP_LABELED.
1995 (evaluate_subexp): Use it.
1996 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
1997 for Chill. Handled OP_LABELED.
1998 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
1999
2000 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
2001 * valarith.c (value_bit_index): Just treat bitstring as represented
2002 by an array of bytes. Alignment is handled by compiler.
2003
2004Wed Jan 18 19:00:29 1995 Stan Shebs <[email protected]>
2005
2006 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
2007 * sh-tdep.c (gdb_print_insn_sh): Ditto.
2008
6bbc99e3
KH
2009Wed Jan 18 11:25:43 1995 Kung Hsu <[email protected]>
2010
2011 * remote-os9k.c (rombug_open): Fix a bug in exception handling
2012 command.
2013 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
2014 write.
2015
eedb3363
JK
2016Tue Jan 17 09:48:38 1995 Jim Kingdon <[email protected]>
2017
2018 * parse.c (_initialize_parse): Improve wording of names of
2019 msym_*_symbol_type.
2020
daa4c5f8
ILT
2021Tue Jan 17 14:00:58 1995 Ian Lance Taylor <[email protected]>
2022
2023 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
2024 (mips_fpu): Change type to enum mips_fpu_type.
2025 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
2026 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
2027 Don't initialize.
2028 (mips_fpu_string): New static variable.
2029 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
2030 (mips_pop_frame): Likewise.
2031 (mips_extract_return_value): Likewise.
2032 (mips_store_return_value): Likewise.
2033 (mips_set_fpu_command): New static function.
2034 (mips_show_fpu_command): New static function.
2035 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
2036
3fb93d86
JK
2037Tue Jan 17 09:48:38 1995 Jim Kingdon <[email protected]>
2038
5ad32be2
JK
2039 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
2040
3fb93d86
JK
2041 * parse.c (write_exp_msymbol): Use new variables
2042 msym_*_symbol_type as type of msymbol expression.
2043 (_initialize_parse): Initialize them.
2044
18b46e7c
SS
2045Mon Jan 16 18:11:03 1995 Stan Shebs <[email protected]>
2046
2047 General cleanup and simplication of disassembler interface.
2048 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
2049 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
2050 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
2051 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
2052 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
2053 had been -pinsn.c files.
2054 * Makefile.in (ALLDEPFILES): Remove removed files.
2055 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
2056 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
2057 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
2058 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
2059 Remove compile actions.
2060 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
2061 vax-tdep.o: Add compile actions.
2062 * defs.h (tm_print_insn): New global.
2063 * a29k-tdep.c (gdb_print_insn_a29k): New function.
2064 (_initialize_a29k_tdep): Rename from _initialize_29k,
2065 set tm_print_insn.
2066 * alpha-tdep.c (print_insn): Remove.
2067 (_initialize_alpha_tdep): Set tm_print_insn.
2068 * arm-tdep.c (arm_print_insn): New function, was print_insn
2069 in arm-pinsn.c.
2070 * convex-tdep.c (convex_print_insn): New function, was print_insn
2071 in convex-pinsn.c.
2072 * h8300-tdep.c (print_insn): Remove.
2073 (gdb_print_insn_h8300): New function.
2074 (_initialize_h8300_tdep): New function.
2075 * h8500-tdep.c (print_insn): Remove.
2076 (_initialize_h8500_tdep): New function.
2077 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
2078 * i386-tdep.c (_initialize_i386_tdep): New function.
2079 * i960-tdep.c (mem, next_insn): New functions, were in
2080 i960-pinsn.c.
2081 (_initialize_i960_tdep): Set tm_print_insn.
2082 * m68k-tdep.c (_initialize_m68k_tdep): New function.
2083 * m88k-tdep.c (_initialize_m88k_tdep): New function.
2084 * mips-tdep.c (gdb_print_insn_mips): New function.
2085 (_initialize_mips_tdep): Set tm_print_insn.
2086 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
2087 in pyr-pinsn.c.
2088 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
2089 * sh-tdep.c (print_insn): Remove.
2090 (gdb_print_insn_sh): New function.
2091 (_initialize_sh_tdep): Set tm_print_insn.
2092 * sparc-tdep.c (_initialize_sparc_tdep): New function.
2093 * w65-tdep.c (print_insn): Remove.
2094 (_initialize_w65_tdep): New function.
2095 * z8k-tdep.c (print_insn): Remove.
2096 (gdb_print_insn_z8k): New function.
2097 (_initialize_z8k_tdep): Set tm_print_insn.
2098 * printcmd.c (print_insn): New function, generic disassembler.
2099 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
2100
83d9bb14
KH
2101Mon Jan 16 15:43:29 1995 Kung Hsu <[email protected]>
2102
2103 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
2104 and config/a29k/vx29k.mt.
2105 * configure.in: add new configuration a29k-*-vxworks.
2106 * remote-vx29k.c: new file merged from WRS.
2107 * remote-vx.c: merge changes from WRS.
2108 * config/a29k/vx29k.mt: new file for new configuration.
2109 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
2110
16041d53
SC
2111Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
2112
2113 * breakpoint.h (disable_breakpoint, enable_breakpoint):
2114 New declarations.
2115 (enum bpdisp): Change name of 'delete' member to 'del'.
2116 (struct bpstat): Changed name to 'bpstats'.
2117 * breakpoint.c (disable_breakpoint, enable_breakpoint,
2118 breakpoint_chain): Made globally visible.
2119 (bpstat_stop_status): Use new name for bpstat.
2120 (break_command_1, watch_command_1, catch_command_1,
2121 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
2122 instead of 'delete'.
2123 (set_breakpoint_sal): New function.
2124 * defs.h (registers_changed_hook): New declaration.
2125 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
2126 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
2127 * main.c (main): Don't scan options when in WIN32 and exit
2128 without entering main loop.
2129 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
2130 * symtab.h (struct symbol, struct partial_symbol): Changed name of
2131 member 'class' to 'aclass'.
2132 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
2133 * top.c (registers_changed_hook): New definition.
2134 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
2135 in same way as __GO32__.
2136 * value.h (c_typedef_print): Rename 'new' argument.
2137
be21628d
SC
2138 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
2139 * configure.in: Suppprt for w65,
2140
2141
22b1c54a
JK
2142Sat Jan 14 11:18:11 1995 Jim Kingdon <[email protected]>
2143
8248d21b
JK
2144 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
2145 not stop_pc, to proceed.
2146
22b1c54a
JK
2147 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
2148
b5088d10
JK
2149Fri Jan 13 17:52:57 1995 Jim Kingdon <[email protected]>
2150
2151 * infcmd.c (signal_command): Accept "signal 0"; the change to not
2152 accept it was accidental. "handle 0" and "info signal 0" remain
2153 illegal, though.
2154
218d43e5
SS
2155Fri Jan 13 15:19:01 1995 Stan Shebs <[email protected]>
2156
2157 * Makefile.in (all): Don't make libgdb-files.
2158 (libgdb): New action, makes libgdb-files.
2159
0f8631fb
PB
2160Thu Jan 12 21:23:25 1995 Per Bothner <[email protected]>
2161
2162 * stabsread.c (read_enum_type): When pending enum symbols are
2163 put into the enum type, they must be inserted in "backwards
2164 order, in case we've overflowed a struct pending buffer.
2165
218d43e5 2166start-sanitize-gdbtk
4604b34c
SG
2167Thu Jan 12 15:02:40 1995 Stu Grossman ([email protected])
2168
218d43e5 2169 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4604b34c
SG
2170 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
2171 including dismiss button, and better error handling.
2172 * (create_command_win): Bind button 2 to retrieve selection.
218d43e5 2173end-sanitize-gdbtk
4604b34c 2174
2592eef8
PS
2175Thu Jan 12 09:33:24 1995 Peter Schauer ([email protected])
2176
2177 * README: Add note about SPARCworks cc release 3.0 and higher.
2178
2179 Add procfs support for Alpha OSF/1-2.x.
2180 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
2181 OSF/1 native support.
2182 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
2183 (MUNCH_DEFINE): Removed.
2184 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
2185 for procfs support.
2186 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
2187 release 2.x and higher, else alpha-osf1.mh, as the procfs support
2188 in release 1.x is incomplete.
2189 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
2190 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
2191 fill_fpgregset): New routines for procfs support.
2192 * inftarg.c (_initialize_inftarg): Don't add ptrace support
2193 if we have an optional procfs and /proc is accessible.
2194 * procfs.c: Include sys/fault.h and sys/syscall.h before
2195 including sys/procfs.h.
2196 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
2197 is defined, additionally perform a PIOCSSIG to really terminate
2198 the inferior.
2199 (create_procinfo): Always return a result.
2200 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
2201 PROCFS_DONT_TRACE_IFAULT is defined.
2202 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
2203 argument to startup_inferior if it is defined.
2204 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
2205 of tracing exits from exec system calls. Needed for the user level
2206 loader under Alpha OSF/1.
2207 (do_detach): Clear any pending signal if we want to detach from
2208 a process without a signal.
2209 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
2210 don't issue a PIOCSSIG if pr_cursig already contains the signal we
2211 intend to set.
2212 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
2213 pending signals are numbered from 1 instead of 0.
2214 (info_proc_mappings): Increase size of output format for addresses
2215 if BFD_HOST_64_BIT is defined.
2216 (procfs_stop): Renamed from child_stop.
2217 (_initialize_procfs): Don't add procfs support if we have an
2218 optional procfs and /proc is not accessible.
2219
218d43e5 2220start-sanitize-gdbtk
724498fd
SG
2221Wed Jan 11 17:06:55 1995 Stu Grossman ([email protected])
2222
280c564c 2223 * gdbtk.tcl: Add button to control mixed source disassembly.
218d43e5 2224 Use text widgets in expr window. The give me more control over
280c564c 2225 layout.
218d43e5
SS
2226 Add auto-updating of exprs in expression window.
2227 Handle expressions out of scope a bit better.
2228 Make selected window pop up to the top when invoked via the
280c564c 2229 menubar.
218d43e5 2230 Make copyright message have raised relief.
280c564c 2231
724498fd
SG
2232 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
2233 during startup.
218d43e5 2234end-sanitize-gdbtk
724498fd 2235
b04a78d4
RS
2236Wed Jan 11 17:53:26 1995 Rob Savoye <[email protected]>
2237
2238 * array-rom.c: Add support for most commands.
2239
2240 * monitor.c: Add GDB remote protocol for the hybrid environment on
2241 the Array board.
2242
b47ae8fb
JL
2243Wed Jan 11 00:44:01 1995 Jeff Law ([email protected])
2244
2245 * command.c (show_user_1): Use print_command_line to show a user
2246 defined command (including control structures).
2247
2248 * top.c (init_main): Change documentation for user defined
2249 commands to indicate they may accept up to ten arguments.
2250
1d9489c1
JK
2251Tue Jan 10 16:22:41 1995 Jim Kingdon <[email protected]>
2252
2253 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
2254 `move $s8, $sp' instruction.
2255
3b55fbe3
JK
2256Sun Jan 8 12:45:34 1995 Jim Kingdon <[email protected]>
2257
2258 * target.c, target.h (target_signal_from_command): New function.
2259 * infrun.c (handle_command, signals_info), infcmd.c
2260 (signal_command): Use it.
2261 * infrun.c, infcmd.c: Update docstrings for these commands.
2262
2263 * target.h (enum target_signal), target.c (signals), target.c
2264 (target_signal_from_host, target_signal_to_host): Add
2265 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
2266 * config/tm-lynx.h: Define signal numbers for realtime events.
2267
02b40a19
PS
2268Sat Jan 7 07:23:53 1995 Peter Schauer ([email protected])
2269
2270 * dbxread.c (process_one_symbol): Handle N_FUN symbols
2271 for Sun acc 3.0 under SunOS4.
2272
2273 Changes to improve handling of runtime common symbols
2274 under SunOS4.
2275 * minsyms.c (get_symbol_leading_char): New routine to determine
2276 the leading symbol character for an objfile.
2277 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
2278 Use it.
2279 * objfiles.h (rt_common_objfile): New global, points to objfile
2280 containing the runtime common minimal symbols.
2281 * objfiles.c (free_objfile): Mark rt_common_objfile as
2282 unallocated before freeing it.
2283 * solib.c (allocate_rt_common_objfile): New routine to allocate
2284 an objfile for the runtime common minimal symbols.
2285 (solib_add_common_symbols): Allocate an objfile for the runtime
2286 common symbols if necessary and put common symbols into it.
2287 Clean up code and comments.
2288 (solib_add, special_symbol_handling): Cleanup comments regarding
2289 runtime common symbols.
2290 * stabsread.c (scan_file_globals_1): New routine, contains
2291 old scan_file_globals code. Checks if there are any unresolved
2292 global symbols before starting the expensive minimal symbol table
2293 search.
2294 (scan_file_globals): Now calls scan_file_globals_1 for the passed
2295 objfile and eventually for the runtime common objfile. Complains
2296 about any unresolved global symbols and removes them from the
2297 global symbol chain to avoid dangling pointers into the symbol
2298 table if the symbol table is reread.
2299
09722039
SG
2300Thu Jan 5 17:38:29 1995 Stu Grossman ([email protected])
2301
4a4f9e3b 2302 * Makefile.in (install_only uninstall): Indent for clarity.
09722039
SG
2303
2304 * core.c (dis_asm_read_memory): Add call to
2305 dis_asm_read_memory_hook to provide alternate way for disassembler
2306 to read memory.
2307
2308 * defs.h: Protect from multiple inclusion. Add decl for
2309 dis_asm_read_memory_hook.
2310
4a4f9e3b
SS
2311 * top.c: Make window startup be the default.
2312 * Add dis_asm_read_memory_hook.
2313
2314start-sanitize-gdbtk
09722039
SG
2315 * gdbtk.c (finish_saving_output): Don't do anything if not saving
2316 output.
2317 * (breakpoint_notify): Don't send null filename to tcl.
2318 * (gdb_eval): New tcl command to eval an expression.
2319 * (gdb_disassemble): New tcl command to do disassembly. This
2320 allows tcl code to choose between exec file and target memeory,
2321 and can also do mixed source and assembly.
2322 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
2323 that more of the environment is set up. Also, create link between
2324 gdb and tcl vars disassemble{-_}from{-_}exec.
2325
2326 * gdbtk.tcl: New expression window support.
2327 * Make assembly window be 80 columns wide.
2328 * Use new disassembly method. Add menu items to select
2329 disassembly from exec file or target.
2330 * Change View menubar item to Options.
2331
2332 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
2333 since they don't exist yet.
2334
2335 * Pop up a copyright window on startup.
4a4f9e3b 2336end-sanitize-gdbtk
09722039 2337
117a817d
JL
2338Thu Jan 5 01:16:40 1995 Jeff Law ([email protected])
2339
2340 * stabsread.c (define_symbol): Handle `a' symbol type used for
2341 reference parameter passed in a register.
2342
c4a5c37c
SS
2343start-sanitize-gdbtk
2344Wed Jan 4 19:49:10 1995 Stan Shebs <[email protected]>
2345
2346 * gdbtk.tcl (build_framework): Add standard commands menu, more
2347 windows to standard windows menu.
2348 (not_implemented_yet): Clarify message.
2349end-sanitize-gdbtk
2350
034022bf
KH
2351Wed Jan 4 12:27:29 1995 Kung Hsu <[email protected]>
2352
c023fbf4
KH
2353 * defs.h: move include tm.h up, so that the type LONGEST can
2354 also based on the target requirement to determine. In this case
2355 target mips64.
2356
034022bf
KH
2357 * remote-os9k.c (rombug_open): catch exception e in rombug.
2358 * remote-os9k.c (rombug_wait): print message before register display
2359 from rombug.
2360
fd2ae9ec
JK
2361Wed Jan 4 09:18:27 1995 Jim Kingdon ([email protected])
2362
2363 * top.c (locate_arg): Call strchr not index.
2364
3bcf4181
PB
2365Tue Jan 3 16:52:03 1995 Per Bothner <[email protected]>
2366
2d67c7e9
PB
2367 * ch-exp.y (literal): Recognize NULL.
2368 (tuple): Parse simple unlabelled tuples.
2369 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
2370 evaluate brace-initializer-expressions depending on context.
2371 (evaluate_subexp case UNOP_CAST): Pass the target type as
2372 expected type when evaluating the expression.
2373
3bcf4181
PB
2374 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
2375 BOOL from TYPE_NAME.
2376 * ch-valprint.c (chill_print_type_scalar): New function, to handle
2377 TYPE_CODE_RANGE better than print_type_scalar does.
2378 (chill_val_print_array_elements): Use above new function.
2379
6dd6578b
SS
2380Mon Jan 2 15:02:51 1995 Stan Shebs <[email protected]>
2381
2382 * remote-udi.c (udi_load): Tell symbol_file_add that the
2383 program being loaded is the main program.
c4ea046a 2384
986c54ca 2385For older changes see ChangeLog-94
bd5635a1
RP
2386\f
2387Local Variables:
2388mode: indented-text
2389left-margin: 8
2390fill-column: 74
2391version-control: never
2392End:
This page took 0.914813 seconds and 4 git commands to generate.