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