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