(target_ptr_bit, set_target_ptr_bit): Deleted, can no longer set this
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
94d4b713
JK
1Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2
d0bff94e
JK
3 * config/m68k/{cisco.mt,tm-cisco.h}: New files.
4 * Makefile.in (ALLPARAM, ALLCONFIG): Add them.
5 * configure.in: Recognize m68*-cisco*-*.
6
94d4b713
JK
7 * Makefile.in (TAGS): Use variables directly, rather than using
8 find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
9 and means that these filenames no longer need be unique across all
10 the config/* directories.
11 * configure.in: Put the config/*/ into TM_FILE, etc.
12
13 * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
14 and trapv exceptions.
15
16 * target.h (struct section_table), objfiles.h (struct obj_section):
17 Change name of field sec_ptr to the_bfd_section. More mnemonic
18 and avoids the (sort of, for the ptx compiler) name clash with
19 the name of the typedef.
20 * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
21 solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
22
23 * utils.c: Include readline.h.
24 * Makefile.in (utils.o): Add dependency.
25
26 * remote.c (getpkt): Add support for run-length encoding.
27
8eec3310
SC
28Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
29
30 * utils.c (prompt_for_continue): Call readline, not gdb_readline.
31
ee6d646a
JK
32Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33
20657f71
JK
34 * dstread.c (record_minimal_symbol): New arg objfile. Pass it to
35 prim_record_minimal_symbol.
36 Callers: Pass it.
37
ee6d646a
JK
38 * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by
39 computing their offset from the start of the old buffer and adding
40 to the new buffer, rather than by assuming we can add the
41 difference between the old buffer and the new buffer (it might not
42 fit in an int). Merge in cosmetic differences from emacs regex.c
43 version of this macro.
44
478d3811
JK
45Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
46
47 * Makefile.in (install-only): Fix use of program_transform_name.
48
c42b8af8
JK
49Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
50
f8715549 51 * printcmd.c: Remove "set print fast-symbolic-addr off" command.
478d3811 52 The bug which it worked around was fixed on 25 Feb 94 in coffread.c,
f8715549
JK
53 so I'm nuking the command.
54 * symtab.c (find_addr_symbol): Comment out, no longer used.
55
a645ccc9
JK
56 * main.c (main): Don't init_source_path for the -cd argument. Now
57 that source_path doesn't contain the current_directory from when
58 GDB started up, init_source_path is no longer useful (and is
59 harmful because it clobbers a source_path set in $HOME/.gdbinit).
60
c42b8af8
JK
61 * TODO: Remove item about line numbers being off. It is useless
62 and confusing without a reproducible test case (it mentions
63 proceed(), but I was able to step through proceed without trouble).
64
ae6d035d
PS
65Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
66
67 For Sunos 4.x targets, enable gdb to set breakpoints in shared
68 library functions before the executable is run. Retrieve dynamic
69 symbols from stripped executables.
70 * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type.
71 * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
72 symtab.c (list_symbols): Handle mst_solib_trampoline.
73 * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline
74 for all targets, remove IBM6000_TARGET dependencies.
75 * dbxread.c (read_dbx_dynamic_symtab): New function.
76 * dbxread.c (dbx_symfile_read): Use it.
77 * dbxread.c (SET_NAMESTRING): Set namestring to
78 "<bad string table index>" instead of "foo" if the string index is
79 corrupt.
80 * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead
81 of mst_unknown.
82 * symtab.c (list_symbols): Take from_tty as parameter and pass it
83 to break_command. Handle mst_file_* minimal symbol types.
84 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
85
b427690a
KH
86Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com)
87
88 * c-exp.y(yylex): fix potential memory overflow.
89
f93b941b
JK
90Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
91
92 * environ.c (set_in_environ): Eliminate special handling of PATH and
93 GNUTARGET.
94 * putenv.c: Removed, conflicts with system declaration of
95 putenv on RS/6000 running AIX 3.2.5, and above change makes it
96 unnecessary.
97 * Makefile.in: Change accordingly.
98 * procfs.c (procfs_create_inferior): Change comment accordingly.
99
17221e41
JK
100Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
101
102 * rs6000-tdep.c: Change value to value_ptr.
103
8eb79598
JK
104Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
105
c4ad6b09
JK
106 * i386m3-nat.c: Include floatformat.h.
107 (get_i387_state): Use memset not bzero.
108
5fa83062
JK
109 * Version 4.12.3.
110
111 * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
112 ieee-float.h to floatformat.h.
113
79f3d586
JK
114 * valprint.c (val_print_string): Ignore error if the error
115 happened after a terminating '\0'.
116
117 * c-valprint.c (c_val_print): Never add 1 to return value from
118 val_print_string; just return what it returns.
119
8eb79598
JK
120 * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
121 looping through all of the enums.
122 * infrun.c (signals_info): Use it.
123
c4de6b30
JK
124Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
125
8e4c7b3e
JK
126 * main.c (main): When printing warning about bad baud rate, don't
127 use warning(); it relies on current_target which isn't set up yet.
128
c4de6b30 129 * breakpoint.c (_initialize_breakpoint): Update docstring for
d1bdad57
JK
130 tbreak to match what the code actually does. Don't mention tbreak
131 in docstrings for "enable once" or "enable breakpoints once".
c4de6b30 132
d78d4d16
JK
133Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
134
135 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
136 while (0). That defeats the whole purpose of using do . . . while (0).
137 * mdebugread.c (parse_partial_symbols): Don't use ?: expression as
138 list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
139 using a ?: expression as an lvalue is not portable.
140
141 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
142 convert a LOC_ARG to a LOC_REF_ARG. Update code which combines
143 'p' and 'r' symbol descriptors into a single symbol to look for a
144 LOC_REF_ARG.
145 * README, config/sparc/tm-sparc.h: Update comments.
146
10373914
PS
147Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
148
149 * mdebugread.c (parse_type): Do not complain for types with
150 an `indexNil' aux index, these are simply undefined types.
151 Remove indexNil check from caller of parse_type.
152 * mdebugread.c (parse_partial_symbols): Do not enter
153 stGlobal, scCommon symbols into the minimal symbol table, their
154 value is the size of the common, not its address.
155 Handle scInit, scFini, scPData and scXData sections.
156 Use minimal symbol type mst_file_* for stLabel symbols, instead of
157 mst_*.
158 Enter stProc symbols into the global_psymbols list once, not into
159 the static_psymbols_list.
160 Get rid of dummy psymtab if it is empty, to allow proper detection
161 of stripped executables.
162 * mdebugread.c (cross_ref): Allow cross references to Fortran
163 common blocks.
164
fddb9bda
JK
165Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
166
167 * stabsread.c (common_block_end, fix_common_block): Stash the
168 struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
169 as to not assume that a pointer fits in an enum.
170
d9389f37
KH
171Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com)
172
173 * os9kread.c (fill_sym): check compiler verion number for pre-
174 UltraC compiler.
175 * os9kread.c (os9k_process_one_symbol): address of symbol is
176 relative to section not module.
177 * stabsread.c (define_symbol): add symbol type 's' as local
178 symbol for os9k.
179 * remote-os9k.c: add command 'set monitor_log' to turn on or off
180 monitor logging.
181 * remote-os9k.c: fix bug in delete breakpoint, single step trace.
182 * remote-os9k.c: fix bug in 'set remotebaud' function.
183 * remote-os9k.c (rombug_link): minimize checking so to improve
184 speed.
fddb9bda 185 * symfile.c (symbol_file_command): check if failed to link, also make
d9389f37
KH
186 the command be able to accept more than one filenames.
187 * target.c (target_link): check if failed to link with rombug.
188 * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
189
cdc7029d
JK
190Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
191
192 * remote-es.c (es1800_child_ops): Don't declare it static.
193
352c21dd
JK
194Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com)
195
196 * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
197
ce2f21b2
JK
198Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
199
9d2b8d50
JK
200 * dbxread.c: New variable lowest_text_address.
201 (record_minimal_symbol, read_dbx_symtab): Set it.
202 (read_dbx_symtab): Use lowest_text_address + text_size instead of
203 end_of_text_address.
204 * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
205
206 * dbxread.c (end_psymtab): Remove old and commented out
207 capping_global and capping_static. Fix comments regarding
208 N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro.
209
79448221
JK
210 * parser-defs.h: Add "extern" to start of variable declarations so
211 we don't end up with commons.
212 * parse.c: Define these variables.
213
ce2f21b2
JK
214 * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
215 as one.
216
7810d333
JK
217Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
218
219 * alpha-tdep.c: Change value to value_ptr.
220
a6e21fba
PS
221Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
222
223 * solib.c (elf_locate_base): New function to locate the address
224 of the dynamic linker's runtime structure in the dynamic info section.
225 * solib.c (locate_base): Use it instead of iterating over the list
226 of mapped address segments.
227 * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer
228 necessary.
229
70e43abe
JL
230Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
231
232 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
233 (pc_in_interrupt_handler): New function. Also add PARAM decl.
234 (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
235 signal trampoline and interrupt routines.
236 (frame_saved_pc): Handle signal trampolines and interrupt routines.
237 (frame_chain, frame_chain_valid): Likewise.
238 (hppa_frame_find_saved_regs): Likewise. Also deal with special
239 saved regs convention for SP.
240
241 * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
242 (FRAME_BASE_BEFORE_SIGTRAMP): Define.
243 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.
244
245 * tm-hppah.h (IN_SIGTRAMP): Define.
246
833a2895
JK
247Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
248
93dc3414
JK
249 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
250 alphabetic character as the start of a name.
251
b855dfe7
JK
252 * sparclite/Makefile.in (all install): Build and install aload.
253
d9a5e91f
JK
254 * configure.in: Accept i[34]86-*-*sysv32 because that is what
255 config.guess and config.sub produce.
256
833a2895
JK
257 * mips-tdep.c: Change value to value_ptr.
258
82a2edfb
JK
259Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
260
261 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
262 cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
263 objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
264 valarith.c, valops.c, valprint.c, value.h, values.c: Replace
265 value with value_ptr. This is for the ptx compiler.
266 * objfiles.h, target.h: Don't declare a "sec_ptr" field using a
267 "sec_ptr" typedef.
268 * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
269 #if 0 i386_float_info.
270 * symm-tdep.c (round): Remove. Also remove sgttyb.
271 * symm-tdep.c: Remove lots of stuff which duplicates stuff from
272 i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb.
273 * i386-tdep.c (i386_frame_find_saved_regs): Put in
274 I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
275 someday.
276 * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move
277 stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
278 symm-nat.c. Define CHILD_WAIT and declare child_wait().
279 * config/i386/tm-symmetry.h: Remove call function stuff; stuff in
280 tm-i386v.h is apparently OK.
281 * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
282 HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
283 USE_O_NOCTTY.
284
c485c7a9
PS
285Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
286
287 * osfsolib.c (xfer_link_map_member): Update to use new
288 target_read_string interface.
289
d1c0c6cf
JK
290Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
291
292 * infrun.c (wait_for_inferior): In checking
293 remove_breakpoints_on_following_step, check
294 through_sigtramp_breakpoint as well as step_resume_breakpoint.
295
25200748
JK
296Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
297
298 * os9kread.c (os9k_process_one_symbol): Rename
299 VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
300 * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
301 (CORE_ADDR)0, from target_link, since that is what it uses.
302 Process name at end, not during parsing (like we did before Kung's
303 change), so that -readnow and -mapped can appear anywhere.
304 Make text_relocation a local variable.
305 * config/i386/i386os9k.mt: Fix comment.
306 * Makefile.in (ALLDEPFILES): Add remote-os9k.c.
307 * os9kread.c: Put "comments" after #endif inside /* */.
308 * stabsread.h: Add os9k_stabs variable.
309 * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
310 Set it.
311 * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
312 descriptor in global_symbols not local_symbols.
313 (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
314 descriptors.
315 (read_type): If os9k_stabs, accept function parameters after 'f'
316 type descriptor.
317 (read_array_type): If os9k_stabs, don't expect index type and
318 expect lower and upper to be separated by ',' not ';'.
319 (read_enum_type): If os9k_stabs, read a number before the first
320 enumeration constant.
321 (os9k_init_type_vector): New function.
322 (dbx_lookup_type): Call it when starting new type vector.
323 * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
324 * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
325 * os9kstab.c: Removed.
326 * Makefile.in: Update accordingly.
327 * objfiles.c (objfile_relocate_data): Removed.
328 * remote-os9k.c (rombug_wait): Call objfile_relocate
329 not objfile_relocate_data.
330 * objfiles.h, objfiles.c: Remove find_pc_objfile.
331 * remote-os9k.c (rombug_wait): Call find_pc_section not
332 find_pc_objfile.
333 * main.c (quit_command): Check inferior_pid; revert Kung change.
334 * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
335
1340861c
KH
336Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com)
337
338 * os9kread.c: New file to read os9000 style symbo table.
339 * os9kstab.c: new file to read os9000 style stabs.
340 * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
341 * objfiles.c (find_pc_objfile): new function to search objfile
342 from pc.
343 * objfiles.c (objfile_relocate_data): new function to relocate
344 data symbols in symbol table.
345 * objfiles.h: Add two aux fields in struct objfile to handle
346 multiple symbol table files situation like in os9000.
347 * symfile.c: Change so 'symbol-file' command can handle multiple
348 files. Also call target_link() to get relocation infos.
349 * target.c (target_link): new function to get relocation info when
350 a symbol file is requested to load.
351 * main.c (quit_command): take out 'inferior_pid != 0' condition,
352 because in cross mode there's no inferior pid, bit they need to
353 be detached.
354 Makefile.in: add os9kread.c os9kstab.c and .o's.
355 configure.in: add i386os9k target.
356 config/i386/i386os9k.mt: new add.
357 config/i386/tm-i386os9k.h: new add.
358
137b6849
PS
359Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
360
361 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
362 * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
363
4ad0021e
JK
364Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
365
366 * target.c, target.h (target_read_string): Provide error detection to
367 caller. Put string in malloc'd space, so caller need not impose
368 arbitrary limits.
369 * solib.c (find_solib): Update to use new interface.
370 * irix5-nat.c (find_solib): Read o_path from inferior
371 (clear_solib): Free storage for o_path.
372 * valprint.c (val_print_string): Add comments.
373
e3d6ec4a
PS
374Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
375
376 * symtab.c (decode_line_1): Handle the case when skip_quoted does not
377 advance `p'.
378
c8ff77be
JK
379Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
380
30974778
JK
381 * value.h (struct value): Add modifiable field.
382 * values.c (allocate_value, record_latest_value, value_copy): Set it.
383 (record_latest_value): Don't mess with VALUE_LVAL of value.
384 * valops.c (value_assign): Check it. Reword existing error
385 message on not_lval.
386
b5aff268
JK
387 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
388 (STEP_SKIPS_DELAY): Added.
389 * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
390 the delay slot.
391
c8ff77be
JK
392 * valprint.c (val_print_string): If errcode is set, always print
393 an error, regardless of force_ellipsis. In the non-EIO case,
394 just print the error message rather than calling error(). Don't
395 access *(bufptr-1) if bufptr points to the start of the buffer.
396 When looking for '\0', don't increment bufptr and addr if bufptr
397 started out already at limit. If an error happens on fetching the
398 first character, don't print the string.
399
2882219f
JK
400Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
401
402 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
403 obsolete.
404
405 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
406 i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
407 config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
408 m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
409 * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
410 * findvar.c: Update comment regarding ieee-float.h.
411
28ee4b42
PS
412Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
413
414 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,
415 FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
416 Define to make backtracing through the various sigtramp handlers
417 work.
418 * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch
419 the saved pc from ucontext on the stack for SVR4 signal handling.
420
25354cef
JK
421Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
422
c20c1bdf
JK
423 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
424 target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
425 baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate;
426 just use the global variable itself. When printing baud rate,
427 don't print a baud rate if baud_rate is -1.
428
25354cef
JK
429 * coffread.c (read_coff_symtab): Pass mst_file_* to
430 record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT
431 symbols in the minimal symbols regardless of SDB_TYPE.
432
7126c1d0
JK
433Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
434
bcc37718
JK
435 * breakpoint.h (enum bptype): New type bp_through_sigtramp.
436 (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
437 * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
438 if we hit a bp_through_sigtramp breakpoint. Remove kludge which
439 ignored bs->stop for a bp_step_resume breakpoint.
440 * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
441 which performs one (the check_sigtramp2 one) of the functions
442 which had been handled by the step_resume_breakpoint. For each
443 use of the step_resume_breakpoint, make it still use the
444 step_resume_breakpoint, use the through_sigtramp_breakpoint, or
445 operate on both.
446 Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
447 When setting the frame address of the step resume breakpoint, set
448 it to the address for frame *before* the call instruction is
449 executed, not after.
450
3fed1c4a
JK
451 * mips-tdep.c (mips_print_register): Print integers using
452 print_scalar_formatted rather than duplicating all the
453 CC_HAS_LONG_LONG and so on.
454 (mips_push_dummy_frame): Use read_register_gen rather than using
455 read_register and then putting it back in target format with
456 store_unsigned_integer. If registers are more than 4 bytes, give
457 an error rather than have some registers overwrite other
458 registers.
459 #if 0 unused include of opcode/mips.h.
460
461 * symfile.h: Don't declare arguments for coff_getfilename.
462
7126c1d0
JK
463 * defs.h: Revert Kung change regarding FORCE_LONG_LONG.
464
6bfd168c
JL
465Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
466
467 * configure.in (hppa*-*-osf*): New configuration.
468 * config/pa/hppaosf.mt: New target makefile fragment.
469 * config/pa/tm-hppao.h: New target include file.
470
5c07a10b
PS
471Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
472
473 * exec.c (print_section_info): Print entry point for exec_bfd only.
474 * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
8ce2cfc0
PS
475 * dwarfread.c: Remove second inclusion of <sys/types.h>, which
476 causes problems if <sys/types.h> has no multiple inclusion protection.
5c07a10b 477
fce7695f
JL
478Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com)
479
480 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
481 the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
482 (CALL_DUMMY_LENGTH): Changed accordingly.
483
318ee78a
SG
484Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com)
485
75a006d9
SG
486 * sparc-stub.c (trap_low): Make trap handler work for arbitrary
487 numbers of register windows.
488
318ee78a
SG
489 * sparclite/hello.c: Add factorial function for testing.
490 * salib.c: Use macros instead of constants for I/O addresses to
491 make 931 support easier.
492 * sparclite.h: Change constraint for LOC to "rJ" to force use of
493 register in sta/lda instructions.
494
56dd4126
JK
495Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com)
496
497 * dbxread.c (process_one_symbol): Set
498 block_address_function_relative for COFF like we do for ELF and SOM.
499
847d9775
PS
500Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
501
502 * mdebugread.c (new_psymtab): Pass in section_offsets and set
503 them in the pst.
504 * mdebugread.c (handle_psymbol_enumerators): New function to enter
505 the enumerators of an ecoff enum into the partial symbol table.
506 * mdebugread.c (parse_partial_symbols): Call it.
507 * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next.
508 * symmisc.c (dump_psymtab): Fix typo, clean up output of section
509 offsets. Cast psymtab->read_symtab to PTR before passing it to
510 gdb_print_address.
511 * i386-tdep.c (i386_skip_prologue): Skip over instructions that
512 set up the global offset table pointer in pic compiled code.
513 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
514 error() on TYPE_CODE_FLT arguments whose size is greater than 8,
515 swap all other TYPE_CODE_FLT arguments as mips_push_arguments
516 ensures that floats are promoted to doubles before they are pushed
517 on the stack.
518
9f35e15a
SG
519Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com)
520
521 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
522 Fixup cache_on and flush_i_cache so that they work for both the
523 930 and 932 processors. Rewrite most low level funcs (uart
524 access & cache stuff) to use new ASI access macros in sparclite.h.
525 Also make it easy to access second serial port.
526
56173dc5
ILT
527Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
528
529 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
530 <sys/stat.h>; not needed.
531
c84bab2d
JK
532Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
533
534 * stack.c (print_frame_info): In "pathological" case, don't
535 distrust the line number information.
536
748d77d7
KH
537Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com)
538
539 * mips-tdep.c (mips_print_register): handle 64 bits register.
540 * valprint.c (print_longest): fix a bug in printing 64 bits value.
541
889f1f03
JK
542Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
543
1eb89b9e
JK
544 * Version 4.12.2.
545
ef1a0540
JK
546 * Makefile.in (install): Do the sed for program_transform_name
547 ourselves instead of worrying about INSTALL_XFORM. This enables
548 users to override INSTALL_PROGRAM in the standard way.
549
550 * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
551 depend on Makefile.in.
552
fb0f4231
JK
553 * defs.h, valprint.c: Make longest_to_int a function not a macro.
554 Only test against INT_MIN if a LONGEST is bigger than an int.
555
889f1f03
JK
556 * README: Change GhostScript to Ghostscript.
557
662f3b3f
JK
558Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com)
559
d5cb2f7d
JK
560 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
561 Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
562 character file names.
563 * Makefile.in (ALLPARAM): Add these files.
564
662f3b3f
JK
565 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
566 character file names.
d5cb2f7d 567 * Makefile.in: Add Kung's new mips64 files.
662f3b3f 568
70126bf9
KH
569Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com)
570
571 * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
572 mips64el-*-ecoff and mips64-big-*.
573 * defs.h: get rid of FORCE_LONG_LONG.
574 * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
575 parsing. Change register size to be MIPS_REGSIZE.
576
c4a081e1
DM
577Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com)
578
579 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
580 osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
581 xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
582
3b5442f9
SC
583Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
584
585 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
586 (remove_commands, add_commands): Add/remove hms-drain when target
587 is connected.
588
d87d7b10
SG
589Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com)
590
591 * configure.in: Add Lynx/rs6000 support.
592 * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error
593 messages. Add rs6000 support. Don't try to modify unwritable
594 registers.
595 * rs6000-nat.c: Move lots of native dependent stuff (like core
596 file support) from rs6000-tdep.c & xcoffexec.c to here.
597 * rs6000-tdep.c: Move native dependent stuff to nat.c.
598 * xcoffexec.c: Move native dependent stuff to nat.c.
599 * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here
600 from tm file.
601 * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're
602 really native.
603 * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
604 New files to support Lynx/rs6000.
605
ba47c66a
PS
606Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
607
608 * README: Remove note about gcc warnings on alpha, these should be
609 gone now.
610 * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
611 m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
612 remote-utils.c, stabsread.c: Include <string.h>.
613 * regex.c: Include "defs.h", change re_comp argument to const char *.
614 * infptrace.c (fetch_register, store_inferior_registers): Change
615 regaddr to type CORE_ADDR.
616 * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
617 Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
618
619Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
620
621 * symtab.h: Always define BYTE_BITFIELD to nothing.
622
ea5dad7f
JK
623Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
624
625 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
626 * configure.in: Remove comment about m68k-em.mt.
627 * Makefile.in: Remove references.
628
6ddba992
JK
629Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
630
631 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
632 BFD_HOST_64_TYPE.
633
01cd70b9
JK
634Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
635
1dd29bef
JK
636 * target.c (target_preopen): If target_kill doesn't remove the
637 target from the stack, use pop_target to do it.
638
704aea43
JK
639 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
640 of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
641 changes to stabsread.c from summer 1993.
642
4a00e1de
JK
643 * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
644 printing the program, rather than passing NULL to printf.
645 (udi_detach): Set udi_session_id to -1 so that udi_close doesn't
646 try to call UDIDisconnect again. Print better message.
647 (udi_kill): Just call UDIDisconnect ourselves, rather than doing
648 it via udi_close.
4a00e1de
JK
649 (udi_create_inferior): If udi_session_id is negative, open a new
650 TIP rather than giving an error.
651
01cd70b9
JK
652 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
653 config/ns32k/ns32km3.mh: Define NAT_FILE.
654 * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
655 (it was inconsistent and namespace-wrong) to NM_M3_H.
656 * m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
657 (m3_open): New function.
658 (m3_ops): Use it.
659 * TODO: Update Mach section.
660
661 * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
662
d41b3eed
PB
663Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
664
665 * printcmd.c (printf_command): Add missing single-letter
666 backslash-escape sequences, and improve error message.
667
7343d716
JK
668Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
669
842cf831
JK
670 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
671 rather than trying to shove an int into a pointer and back out
672 again. This avoids compiler warnings.
673
7343d716
JK
674 * defs.h (alloca): Declare as void *, not char *, on hpux.
675 Don't prototype it, just declare the return type.
676
57a9fee3
PS
677Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
678
679 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
680 (REGISTER_CONVERT_TO_RAW): Add missing backslash.
681
a1bd6534
JK
682Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
683
021b10e3
JK
684 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
685 ZERO_REGNUM, just read it as zero without talking to the board.
686
8b0a85ba
JK
687 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
688 backslash.
689 * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
690 to store_floating, not nonexistent variable len.
691
aa56c716
JK
692 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
693 New functions.
694 (mips_store_word): Change calling convention to return errors, and
695 to provide old contents if the caller wants it.
696 (mips_xfer_memory): Deal with errors from mips_store_word.
697 * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
698 define now that remote-mips.c doesn't use BREAKPOINT.
699
700 * remote-mips.c (mips_create_inferior): Call warning if arguments
701 specified, and then execute "set args" command. Call error, not
702 mips_error, if executable file not specified.
703
29fc92e8
JK
704 * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
705 remote_debug.
706
a1bd6534
JK
707 * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast
708 to unsigned int.
709
65e98f5b
PS
710Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
711
712 * value.h (print_longest): Rename "value" to "val" in prototype
713 declaration because some compilers don't like arguments whose
714 names are the same as types.
715 * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char *
716 before passing it to remote_*_bytes.
717
edd01519
SC
718Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
719
720 * h8500-tdep.c (saved_pc_after_call): The size of the
721 pc is memory model dependent. (segmented_command,
722 unsegmented_command, _initialize_h8500_tdep): New commands to
723 change memory model.
29fc92e8 724 * remote-e7000.c (_initialize_remote_e7000): Change name of snoop
edd01519 725 command.
678ee700
SC
726 * remote-hms.c (hms_load): Remove breakpoints when loaded.
727 (hms_wait): Use new status structure
728 (hms_open): Push the target here. (hms_before_main_loop): Not
729 here. (supply_val, hms_fetch_register, hms_store_register): Cope
730 with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE.
731 * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
732 all registers in a compact way.
edd01519 733
9c01440d
JK
734Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
735
736 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
737 as CORE_ADDR to match definition in rs6000-tdep.c.
738
4386eff2
PS
739Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
740
741 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
742 * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
743 definitions into the psymtab.
744
d351c7a6
JK
745Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
746
747 * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide
748 a special exceptionSize for the 68332.
749
750 * remote-udi.c (udi_attach): If no arguments, print error.
751
4901e77d
FF
752Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com)
753
754 * Makefile.in (VERSION): Bump to 4.12.1
755 * NEWS, README: Update to match 4.12 release.
756
159ada02
JK
757Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
758
4901e77d
FF
759 * command.c (empty_sfunc): New function.
760 (add_set_cmd): Use it instead of not_just_help_class_command.
761 (not_just_help_class_command): Change calling convention back to
762 what it was before yesterday's change.
763
159ada02
JK
764 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
765 of the type if present.
766
5b3591ab
JK
767Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
768
eade0c6c
JK
769 * printcmd.c (decode_format): Don't blithely set the size for
770 an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
771
772 * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
773 If BFD64, make a LONGEST a BFD_HOST_64_BIT.
774 * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
775 always just check against INT_MIN and INT_MAX (this also fixes things
776 if sizeof (long) > sizeof (int), e.g. Alpha).
777 * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
778 Don't define LONGEST or BUILTIN_TYPE_LONGEST.
779 * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
780 BUILTIN_TYPE_UNSIGNED_LONGEST.
ce855594
JK
781 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
782 longest_int and longest_unsigned_int.
eade0c6c
JK
783 * value.h (struct value): Just align to LONGEST, rather than worrying
784 about CC_HAS_LONG_LONG.
b1de1647
JK
785 * valarith.c (value_binop): Figure out type ourself based on
786 sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
787 point is that we don't depend on CC_HAS_LONG_LONG anymore.
eade0c6c
JK
788 * valprint.c (val_print_type_code_int): Just call
789 extract_unsigned_integer directly, rather than going through
790 unpack_long.
791 * printcmd.c (decode_format): Remove code which would sometimes
792 change 'g' size to 'w' for integers. print_scalar_formatted handles
793 printing huge integers well enough, thank you.
794
4901e77d 795 * command.c (add_set_cmd, not_just_help_class_command): Change
719d9abb
JK
796 to make this the sfunc, not cfunc, since that is how we call it.
797 * command.h: Comment difference between sfunc and cfunc.
798 * demangle.c (set_demangling_command): Add third arg since that
799 is how it is called.
800 (_initialize_demangler): Use sfunc, not cfunc, for
801 set_demangling_command, since that is how it is called.
802 Remove show_demangling_command; it has no effect.
803
5b3591ab
JK
804 * command.c (shell_escape): Report errors correctly (with error
805 message from strerror).
806
37f24dc9
ILT
807Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
808
809 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
810 x_scnlen.l rather than x_scnlen to match corresponding change in
811 coff/internal.h.
812
61932a8e
JK
813Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
814
815 * gdbtypes.h, ch-typeprint.c, ch-valprint.c:
816 Change comments regarding TYPE_CODE_BOOL.
817 * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
818 regardless of the language.
819 (value_true): Just call value_logical_not regardless of language.
820 * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
821 Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
822 * language.h: Improve comment for la_builtin_type_vector.
823 * m2-lang.c (_initialize_m2_language): Don't add any fields to
824 builtin_type_m2_bool.
825
7bec77b4
JK
826Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com)
827
828 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
829 Define IN_SIGTRAMP and backtrace correctly through signal handlers.
830
8afd05c0
JK
831Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
832
833 * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
834 by restarting the ioctl.
835
10b9bb56
JK
836Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
837
838 * target.h (target_wait): Add comment about calling
839 return_to_top_level.
840
bf8d9d28
ILT
841Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
842
843 * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
844 additional arguments.
845 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
846
efe3ff3e
SG
847Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com)
848
849 * sparc-stub.c: Remove unnecessary #include of memory.h.
850
37dea45f
JK
851Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
852
14d79562
JK
853 * mips-tdep.c: Remove code which sets saved_regs from
854 init_extra_frame_info and put it in new function mips_find_saved_regs.
855 (READ_FRAME_REG): Remove macro and replace uses with the expansion.
856 * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
857 check if it is NULL and call mips_find_saved_regs if so.
858
47d52968
JK
859 * remote-mips.c: Use unfiltered, not filtered, output most places.
860
37dea45f
JK
861 * blockframe.c (get_prev_frame_info): Detect and stop an infinite
862 backtrace. Revise comments.
863
0434c1a0
PS
864Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
865
866 * mdebugread.c (parse_procedure): Remove _sigtramp kludges for
867 alpha and irix. The _sigtramp case has to be handled properly
868 in the tdep files if we have no ecoff debugging info.
869 * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain),
870 mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames
871 without PC_REGNUM kludge.
872 * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg):
873 Clean up handling of mips sigtramp frames, improve comments.
874
d64956fa
JL
875Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
876
877 * paread.c (read_unwind_info): Fix typo.
878
879 * paread.c (pa_symtab_read): Update the "check_strange_names"
880 filter to match GCC's current output. Filter out section symbols
881 (which the HP linker sometimes puts in the wrong place).
882
9db58d3a
JK
883Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
884
3a479851
JK
885 * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
886
a0b352c0
JK
887 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
888
889 * Makefile.in: Remove all references to sparcly-nat.c.
890
891 * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
892 remote-sim.h directly, rather than via $(remote_utils_h). This avoids
893 duplicating serial.h and target.h.
894
7a78db15
JK
895 * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
896 are not used anywhere (a 5 Oct 1993 change removed the uses).
897
895efe6b
JK
898 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
899 * config/m68k/es1800.mt: Add comment.
3a479851 900 * remote-es.c: Extensive changes to update to current conventions.
895efe6b 901
9db58d3a
JK
902 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
903 If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
904 to achieve the desired timeout.
905 * serial.h (serial_t): Add field timeout_remaining.
906
f28c6e38
JK
907Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
908
909 * c-exp.y (yylex): Reenable nested type code.
910
b09f44d2
JK
911Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
912
7f2ffa58
JK
913 * a29k-tdep.c (examine_tag): Add comment regarding argcount.
914
796d1fd3
JK
915 * remote-mips.c (mips_ops): Fix docstring.
916
97cc0428
JK
917 * remote-bug.c (bug_ops): Remove spurious newline from docstring.
918
ddd0223e
JK
919 * config/m68k/tm-monitor.h: Changes to bring this into accordance
920 with the old tm-m68k-em.h:
921 (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
97cc0428 922 (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
ddd0223e
JK
923 (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
924 Add FIXME regarding GET_LONGJMP_TARGET.
925
b09f44d2 926 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
97cc0428
JK
927 * infptrace.c (kill_inferior): Add comments.
928 * main.c (quit_command): Call target_close after we kill or
929 detach.
930 * remote-udi.c (udi_close): Don't error() if QUITTING.
b09f44d2 931
0ffba029
RS
932Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
933
934 * configure.in: Make m68k-coff and aout add monitor support in
935 addition to the standard serial support.
936
bb7cb982
JK
937Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
938
939 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
940 index indexNil.
941
9fdb3f7a
JK
942Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
943
944 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
945 * elfread.c (record_minimal_symbol_and_info),
946 dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
947
a28d16d3
JK
948Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
949
6202263d
JK
950 * i386-stub.c: Add ".text" right before "mem_fault:".
951
9c41f6a6
JK
952 * main.c (baud_rate): Add FIXME comment about printing -1 value.
953
954 * remote-utils.c (usage): Fix message to be accurate and conform
955 more closely to normal conventions.
956
957 * remote-utils.c (gr_files_info): Have the exec_bfd test control
958 whether to show information about exec_bfd, and not control whether
959 to show information about device and speed.
960
961 * remote-utils.c (gr_open): If sr_get_device returns NULL, give
962 usage message, don't dump core.
963
964 * remote-bug.c (bug_write_memory): Use alloca, not GCC extension
965 for variable size array.
966 (bug_fetch_register, bug_store_register): Rename "value" to
967 "fpreg_buf" because some compilers don't like variables whose
968 names are the same as types.
969 (bug_store_register): Use a cast when converting char * to
970 unsigned char *.
971
d5c551c9
JK
972 * symmisc.c (maintenance_print_symbols): Don't refer to the name
973 of the command in error message (the text was referring to the old
974 name of the command).
975
976 * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
977
0e4ad984
JK
978 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
979 full details on structure elements without names. This partially
980 reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
981 of those changes was accidental.
982
577da8cb
JK
983 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
984 defined, make it an error to specify a single argument which is not
985 a frame number.
986
a28d16d3
JK
987 * Makefile.in (version.c), main.c (print_gdb_version): Use
988 host_alias and target_alias, not host_canonical and
989 target_canonical, to print configuration.
990
833e0d94
JK
991Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
992
d92f3f08
JK
993 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
994 of builtin_type_long. It is necessary to get a type which is
995 TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
996
833e0d94
JK
997 Fix many sins which will come up in 32 bit x 64 bit GDB, and
998 various miscellaneous things discovered in the process:
999 * printcmd.c, defs.h (print_address_numeric): New function.
1000 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
1001 breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
1002 cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
1003 printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
1004 Use it.
1005 * utils.c, defs.h (gdb_print_address): New function.
1006 * expprint (dump_expression), gdbtypes.h: Use it.
1007 * breakpoint.c (describe_other_breakpoints),
1008 symmisc.c (dump_symtab, print_symbol):
1009 Use filtered not unfiltered I/O.
1010 (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well
1011 just run gdb under a debugger for this (and it had problems with
1012 printing addresses, how to print b->shadow, etc.).
1013 * buildsym.c (make_blockvector), core.c (memory_error),
1014 exec.c (print_section_info), maint.c (print_section_table),
1015 mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
1016 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
1017 Add comments saying code is broken. Marked with "FIXME-32x64".
1018 * dbxread.c (process_one_symbol), partial-stab.h (default),
1019 remote-vx.c (vx_run_files_info):
1020 Don't cast int being passed to local_hex_string.
1021 * symmisc.c (print_symbol): Don't cast long being passed to %lx.
1022 * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
1023 only being a long.
1024 * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
1025 and LOC_LOCAL.
1026 * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
1027 * source.c: Include <sys/types.h> regardless of USG.
1028
67e9b3b3
PS
1029Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1030
1031 * valops.c (value_assign): Set `type' after coercing toval.
1032 * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
1033 Use extract_unsigned_integer to get the address of a reference.
1034
36464897
JK
1035Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1036
91a0575c
JK
1037 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
1038 AIX can use ? instead of \ for continuation. Deal with it.
1039
36464897
JK
1040 * paread.c (read_unwind_info): Just assign to objfile->obj_private,
1041 not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
1042 the HP compiler in ANSI mode doesn't like.
1043
1044 * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
3bc45b7a
JK
1045 based on USG, rather than defining HAVE_SIGSETMASK to an
1046 expression containing defined. Having a macro used in #if expand
1047 to an expression containing "defined" is undefined according to
1048 ANSI, and the HP compiler in ANSI mode doesn't do what we wanted
1049 it to.
36464897 1050
2ba6182b
JG
1051Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com)
1052
1053 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1054 Clean up the changes of 11 Jan, as recommended by Peter Schauer.
1055
96b6b765
PB
1056Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
1057
1058 * ch-exp.y (match_string_literal): Allow a zero-length string.
1059 * ch-lang.c (chill_printstr): Don't print zero-length string funny.
1060
dfd4c728
JK
1061Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1062
1063 * i386aix-nat.c (i386_float_info): Reverse order of registers before
1064 passing them to print_387_status.
1065 (print_387_status): Don't subtract top from 7 before using it.
1066 * i387-tdep.c: Remove comment about AIX wanting "top" subtracted
1067 from 7; the above explains it.
1068
5efd597b
PS
1069Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1070
1071 * mips-tdep.c (init_extra_frame_info): Use frame relative stack
67e9b3b3 1072 pointer value when fixing up the frame at the start of a function.
5efd597b 1073
e90445c9
SG
1074Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com)
1075
1076 * lynx-nat.c (fetch_core_registers): Load the I & L regs for the
1077 Sparc from the stack.
1078
08f74b92
JK
1079Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1080
864df7e6
JK
1081 * remote-mips.c (mips_initialize): Clear mips_initializing via
1082 cleanup chain, not directly.
1083
1084 * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout
1085 of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are
1086 munging the timeout due to the limited range of c_cc[VTIME].
1087
08f74b92
JK
1088 * fork-child.c, inferior.h (fork_inferior): New argument shell_file.
1089 * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior),
1090 m3-nat.c (m3_create_inferior): Pass it.
1091 * procfs.c: Remove ptrace function. It was declared in a way which
1092 conflicted with the prototype in unistd.h on Solaris.
1093
cdcf48be
PS
1094Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1095
1096 * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc
1097 in the sigcontext if it is a signal trampoline frame.
1098 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET):
1099 Define for Solaris2.
1100
8bf94f44
SG
1101Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com)
1102
1103 * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
1104 config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to
1105 tm-sparc.h so they can be overridden if necessary.
1106
d575ddc0
SG
1107Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com)
1108
1109 * lynx-nat.c: Add Sparc support.
1110 * sparcly-nat.c: Remove. It's useless.
1111 * config/sparc/nm-sparclynx.h: Rewrite.
1112 * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
1113 with lynx-nat.o
1114 * config/sparc/tm-sparclynx.h: Rewrite.
1115
00240279
ILT
1116Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1117
1118 * rs6000-pinsn.c: Use the new disassembler in the opcodes
1119 directory. Old code was discarded, since the new opcode table has
1120 a different format.
1121
a2608ea1
FF
1122Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com)
1123
1124 * Makefile.in (realclean): Remove info files per make-stds.texi.
1125
6545c6a0
JK
1126Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1127
1128 * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
1129 if N_SO_ADDRESS_MAYBE_MISSING is defined.
1130 * config/sparc/tm-sun4sol2.h: Define it.
1131
cd5ee294
JK
1132Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1133
1134 * printcmd.c (print_address_symbolic): Unconditionally use msymbol
1135 if we did not find a symbol.
1136
918fea3e
JL
1137Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1138
1139 * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
1140 is not defined.
1141
1142 * hppab-nat.c (call_ptrace): Delete redundant function.
1143 (kill_inferior, attach, detach, child_resume): Likewise.
1144 (child_xfer_memory): Likewise.
1145
1146 * hppah-nat.c (call_ptrace): Delete redundant function.
1147 (kill_inferior, attach, detach, child_resume): Likewise.
1148
1149 * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
1150
1151 * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
1152
1153 * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
1154
1155 * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
1156 (CHILD_XFER_MEMORY): Define.
1157 (PT_*): Define so that generic infptrace.c code can be used.
1158
27ad511f
JK
1159Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1160
1b880e74
JK
1161 * xcoffread.c (xcoff_symfile_read): Make second parameter a
1162 struct section_offsets *, not a (nonexistent) struct section_offset *.
1163
6657a0c7
JK
1164 * xcoffread.c (read_xcoff_symtab): Make main_aux just a union
1165 internal_xcoff_symtab, not an array of one of them. Change lots of
1166 "main_aux" to "&main_aux" and so on.
1167
27ad511f
JK
1168 * coffread.c, xcoffread.c: Include <coff/internal.h>
1169 before "symfile.h".
1170
d4a0983a
JK
1171Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1172
dbb0fae2
JK
1173 * coffread.c (coff_getfilename): Make it not static.
1174
d4a0983a
JK
1175 * xcoffread.c (read_xcoff_symtab): complain() not abort().
1176
1177 * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
1178 a completely gratuitous difference between xcoffread.c and coffread.c).
1179
d7e7e851
JK
1180Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1181
1182 * infrun.c (wait_for_inferior): Don't set frame for
1183 step_resume_breakpoint for IN_SIGTRAMP cases.
1184
1185 * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
1186 breakpoint.c (bpstat_what): Move step_resume from its own field of
1187 the struct bpstat_what into the main_action. Make it override
1188 other breakpoints. This is a conservative change in the sense
1189 that before the step resume breakpoint was a breakpoint.c
1190 breakpoint, hitting the step resume breakpoint overrode even
1191 calling bpstat_stop_status.
1192
f1de67d3
PS
1193Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1194
1195 * infrun.c (normal_stop): Set stop_pc after popping the dummy frame
1196 in case execution was stopped in the called function.
1197 * stack.c (print_frame_info, frame_info): If backtracing through
1198 a call dummy, handle the starting source line number on a line
1199 boundary like backtracing through sigtramp.
1200 * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
1201 for call dummy frame right. Remove old test for dummy frame,
1202 it has been unused at least since gdb-3.5.
1203 * sparc-tdep.c (sparc_push_dummy_frame): Set return address register
1204 of the dummy frame.
1205
c6e0f918
JK
1206Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1207
1208 * infcmd.c (signal_command): Accept 0 as legitimate signal number.
1209
db4340a6
JK
1210Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1211
1212 * infrun.c (signals_info), target.c (target_signal_from_name):
1213 Use ugly casts to avoid enumvar < enumvar or enumvar++.
1214
4d4f2d50
JK
1215Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1216
d881dd86
JK
1217 * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
1218 * inflow.c (terminal_ours_1): When discussing how to deal with the
1219 tty state, make note of query() as well as readline.
1220
4d4f2d50
JK
1221 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
1222 signals for which stop and print are cleared by default.
1223
5c38fcee
JL
1224Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1225
c7f3b703
JL
1226 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
1227 reserved fields to hold a stub unwind entry type. Fix typo.
1228 (stub_unwind_entry): New structure for raw stub unwind entries.
1229 (stub_unwind_types): The types of stubs we may encounter.
1230 (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
1231 * hppa-tdep.c (rp_saved): Use additional information provided
1232 by linker stub unwind descriptors.
1233 (frameless_function_invocation): Likewise.
1234 (frame_chain_valid): Likewise.
1235 * paread.c (compare_unwind_entries): New function for sorting
1236 unwind table entries.
1237 (read_unwind_info): Rewrite to remove dependency on host endianness.
1238 Read in data from the $UNWIND_END$ subspace which contains linker
1239 stub unwind descriptors. Merge that data into the basic unwind
1240 table.
1241
5c38fcee
JL
1242 * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
1243
af8b7906
JK
1244Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1245
1246 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
1247 from either the symbol name or the auxent.
1248 * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
1249 no longer static.
1250
0e7da49c
FF
1251Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com)
1252
1253 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
1254
b90811f9
PS
1255Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1256
1257 * README: Update notes for alpha port.
1258
24a11a79
JK
1259Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1260
1261 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
1262 for operation fault, constraint fault, and type fault.
1263
b76dcd4b
JK
1264Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1265
623d7380
JK
1266 * Makefile.in (init.c): Add comment explaining formatting conventions.
1267
a39f7739
JK
1268 * c-exp.y (parse_number): Assign to temporary between the right
1269 shifts, to work around a bug in the SCO compiler.
1270
07919221
JK
1271 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
1272 Add various files which were added to GDB recently.
1273
91cc45da
JK
1274 * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
1275 within_function.
1276
b76dcd4b
JK
1277 * Makefile.in: Add mostlyclean target.
1278
d7a5ff3c
JK
1279Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1280
1281 * Version 4.11.4.
1282
8b564df8
PB
1283Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
1284
1285 * main.c (show_commands): Make return type of extern
1286 history_get be HIST_ENTRY, rather than struct _hist_entry.
1287 (The latter loses with the upcoming merged readline.)
1288
dac317dc
JK
1289Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1290
ab5f7971
JK
1291 * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
1292 const char *, not char *.
1293
fb155ce3
JK
1294 * symtab.h (struct symbol): Make section short, not unsigned short.
1295
87041845
JK
1296 * symtab.c (lookup_symbol): Add comment about QUIT here.
1297
f29351d9
JK
1298 * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1299
a9b32d61
JK
1300 * c-exp.y (parse_number): Check for overflow regardless of range
1301 checking. Fix overflow check to use unsigned LONGEST, not
1302 unsigned int.
1303
1304 * c-exp.y (parse_number): Make it so that integer constants are
1305 builtin_type_long_long if builtin_type_long isn't big enough or if
1306 an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1307
dac317dc
JK
1308 * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
1309 Print our "()" first, then recurse for the target type.
1310
4c0b3e57
JK
1311Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1312
831a39d7
JK
1313 * remote-udi.c (udi_create_inferior): Quote empty execfile argument.
1314
4c0b3e57
JK
1315 * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h".
1316
44a09a68
JK
1317Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1318
1319 * utils.c (request_quit): Re-establish signal handler regardless
1320 of USG.
1321
1322 * config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1323
98506620
JK
1324Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1325
1326 * i960-tdep.c: Include target.h.
1327
658821b9
SS
1328Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
1329
1330 * lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1331
1332Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1333
1334 * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
1335 changes (status -> ourstatus; declare status, etc.).
1336 * config/nm-lynx.h: Fix child_wait prototype and include target.h.
1337
4e8bc56f
JK
1338Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1339
1340 * Makefile.in (ALLPARAM): Add config/nm-lynx.h.
1341
aeb145f8
ILT
1342Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1343
1344 * remote-mips.c (mips_request, mips_wait): Correct prototypes.
1345
d253eb7a
JK
1346Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1347
1348 * config/i386/xm-linux.h: Define HAVE_TERMIOS.
1349
52b3045e
PS
1350Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1351
1352 * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
1353
ae682b80
JK
1354Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1355
d0acb092
JK
1356 * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
1357 is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
1358
1359 * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before
1360 writing it.
1361
63dcc380
JK
1362 Add search to target vector (#if 0'd until after 4.12):
1363 * target.h (to_search, target_search): Add.
1364 * gdbcore.h, core.c (generic_search): Add.
1365 * remote.c (remote_search): Add.
1366 * a29k-tdep.c (init_frame_info): Use target_search to find traceback
1367 tag.
1368
d6596eee
JK
1369 * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
1370 is on, call find_pc_function rather than relying just on the minimal
1371 symbols (probably only matters for symbol readers which don't put
1372 statics in the minimal symbols, but changing this strikes me as
1373 not conservative enough).
1374 Initialize name_location in all cases.
1375 If no symbol and no msymbol, don't print anything symbolic.
1376
ae682b80
JK
1377 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
1378
314e6bf3
JG
1379Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com)
1380
1381 * printcmd.c (print_address_symbolic): Make it search the
1382 symtabs for variables as well as functions. Add `set print
1383 fast-symbolic-addr' and default it to fast (the old way).
1384 Print line numbers for data items as well as functions.
1385
1386 * symtab.c (find_addr_symbol): Return the symtab and the symbol
1387 address, if a symbol is found (take two more args pointing to
1388 where to store these results).
1389
1390 * symtab.h (find_addr_symbol): Add prototype.
1391
470dfa0c
JK
1392Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1393
1394 * objfiles.h: Fix comments to reflect the fact that the phrase
1395 "top of stack" always refers to where the pushing and popping takes
1396 place, regardless of whether it is at the highest or lowest address.
1397
a8c49897
PS
1398Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1399
1400 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
1401 compiler generated tag names.
1402 * mdebugread.c (parse_type): Handle cross references to qualified
1403 aggregate types.
1404 * valops.c (value_struct_elt): Improve error message if the
1405 address of a method is requested from an object instance.
1406 * valops.c (search_struct_method): Make name_matched non-static
1407 to get it initialized correctly.
1408 * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to
1409 exclude segment register which are not writable on newer SCO versions.
1410
4ad942bf
JK
1411Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1412
1413 * go32-xdep.c: Remove unused function uerror.
1414 (sigsetmask): Declare return type. Declare argument (to match the
1415 way it is called). Explicitly return 0.
1416
21578747
JG
1417Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com)
1418
1419 * symtab.h (struct symbol, general_symbol_info, minimal_symbol,
1420 partial_symbol): Shrink the storage sizes of symbols, by making
1421 enums into 1-byte bitfields when compiled __GNUC__, moving all the
1422 enums and small ints to the end of each struct to improve
1423 alignment, and switching the section number from int to unsigned
1424 short.
1425
e0ea0fbd
JG
1426Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com)
1427
1428 * symtab.c (find_addr_symbol): New routine that will find the nearest
1429 symbol associated with an address. It does so by exhaustive
1430 search of the symtabs, so it's slow but complete.
1431
011d4ed9
JG
1432Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com)
1433
1434 * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab
1435 to [0,0] rather than [0, end of first source file]. This avoids
1436 problems with other parts of GDB looking for linetables in the
1437 _globals_ symtab. Eliminate variables num_object_files and
1438 first_object_file_end.
1439
eb5b74ca
JG
1440Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1441
1442 * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.
1443 (pop_frame): Restore PC2 and LR0 from dummy frames.
1444 (push_dummy_frame): Save PC2 and LR0 into dummy frames.
1445 (setup_arbitrary_frame): Handle 3 args and set up real frames.
1446 * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments.
1447 (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0.
1448 (SETUP_ARBITRARY_FRAME): Define.
1449
4d69cf57
JK
1450Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1451
1452 * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.
1453
6a69975f
ILT
1454Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1455
1456 * remote-udi.c (udi_resume): Correct prototype.
1457
c598654a
JL
1458Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1459
1460 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
1461 hppa_frame_find_saved_regs.
1462 * hppa-tdep.c (dig_fp_from_stack): Delete function.
1463 (prologue_inst_adjust_sp): New function.
1464 (is_branch, inst_saves_gr, inst_saves_fr): New functions.
1465 (skip_prologue): Completely rewrite to use unwind information.
1466 (hppa_frame_find_saved_regs): Likewise.
1467
6397809b
JK
1468Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1469
f3fe8934
JK
1470 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
1471 to convert a signal number with appropriate bounds checking.
1472
6397809b
JK
1473 * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
1474
c369b6a3
JG
1475Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com)
1476
a31f4b90
JG
1477 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
1478 print a newline to end the display anyway.
1479
c6d8db40
JG
1480 * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and
1481 coprocessor status regs) when popping a frame. This fixes
1482 float exceptions that occur after calling inferior functions.
1483
c369b6a3
JG
1484 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1485 Read and write the fsr (float status register) to/from the child
c6d8db40
JG
1486 process along with the float regs. Remove Peter Schauer's change
1487 of May 24 '93, which has higher overhead and doesn't solve the
1488 real problem (which was that FSR wasn't being set).
c369b6a3 1489
7b2bcbf5
JG
1490Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com)
1491
1492 * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
1493 stack overflow check isn't right after the register stack
1494 adjustment instruction. Metaware R2.3u compiler moves other
1495 things in front of it. This fix isn't perfect but is what's
1496 running.
1497
6aaa61de
JK
1498Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1499
85b8aa88
JK
1500 * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
1501
6aaa61de
JK
1502 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
1503 character filenames.
1504 * configure.in: Change accordingly.
1505
ef118278
TL
1506Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com)
1507
1508 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
1509 _filtered io routines from these two files.
1510
9d51b3c5
PS
1511Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1512
1513 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
1514 config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
1515 * mdebugread.c (parse_symbol): Handle enum sh.type produced by
1516 DEC c89.
1517 * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
1518
11ebf939
JK
1519Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1520
17d059d4
JK
1521 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
1522 printing to gdb_stderr.
1523
1524 * remote-udi.c (udi_kill): Don't close the connection, just set
1525 inferior_pid to zero.
1526 (udi_mourn): Call remove_breakpoints.
1527
1528 * remote-udi.c: Remove obsolete need_artificial_traps comment.
1529
11ebf939
JK
1530 * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
1531
fcbc95a7
JK
1532Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1533
d8a66e60
JK
1534 * symtab.c (lookup_symbol): Don't try adding .c to the name.
1535
e3a7e9d5
JK
1536 * remote-bug.c: At the start of each section, reset srec_frame
1537 back to 160.
1538
fcbc95a7
JK
1539 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
1540 * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
1541 * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
1542 code which looks for those two waitkinds. Use switch statement.
1543 * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
1544 CHILD_SPECIAL_WAITSTATUS.
1545
1546 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
1547 * Move target_signal_from_host, target_signal_to_host, and
1548 store_waitstatus from inftarg.c to target.c. procfs needs them.
1549 * target.c: Include "wait.h" and <signal.h>.
1550 * target.h, infrun.c (proceed), proceed callers: Pass new code
1551 TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with
1552 enums being treated as unsigned and is cleaner.
1553 * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
1554 TARGET_SIGNAL_0.
1555 * infcmd.c (signal_command), infrun.c (signals_info):
1556 Don't allow user to specify numeric equivalent of
1557 TARGET_SIGNAL_DEFAULT.
1558
7f85a716
SG
1559Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com)
1560
1561 * config/alpha/alpha-netware.mt: New target support for Alpha
1562 running Netware.
1563 * configure.in: Add alpha-*-netware* target.
1564
5efb3899
SS
1565Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1566
1567 * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
1568
67ac9759
JK
1569Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1570
1571 * target.h: Add enum target_waitkind, enum target_signal, and
1572 struct target_waitstatus. Change status argument to target_wait to
1573 be struct target_waitstatus * instead of int *.
1574 * target.h, infrun.c, all targets: Change type of signal arguments
1575 to resume(), proceed(), and target_resume() from int to enum
1576 target_signal.
1577 * All targets (*_wait, *_resume): Change accordingly.
1578 * infcmd.c (program_info, signal_command), throughout infrun.c,
1579 * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
1580 * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
1581 signal code stuff right with the new signals would be non-trivial).
1582 * inferior.h (stop_signal): Make it enum target_signal not int.
1583 * target.c, target.h (target_signal_to_string, target_signal_to_name,
1584 target_signal_from_name): New functions.
1585 * inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
1586 store_waitstatus): New functions.
1587 * procfs.c (procfs_notice_signals): Use them.
1588 * i960-tdep.c (i960_fault_to_signal): New function, to replace
1589 print_fault.
1590 * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1591
1592 * objfiles.c (build_objfile_section_table): Don't abort() if
1593 objfile->sections is already set.
1594
1595 * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
1596 to match recent change to exec.c.
1597
1598 * Version 4.11.3.
1599
1600 * main.c (print_gdb_version): Change year to 1994.
1601
1602 * ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
1603 * Makefile.in (NONSRC): Add ChangeLog-93.
1604
b35885f2
JK
1605Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1606
4b404661
JK
1607 * stabsread.c (read_type): Allow defining several type numbers
1608 at once (e.g. "(1,2)=(3,4)="...).
1609
eaba7fae
JK
1610 * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).
1611
b35885f2
JK
1612 * breakpoint.c (frame_in_dummy): Check PC as well as frame.
1613
ae5c71d6
PS
1614Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1615
1616 * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols
1617 to process_one_symbol.
1618 * symtab.c (find_pc_psymbol): Search global_psymbols as well to
1619 avoid caching a bad endaddr in find_pc_partial_function.
1620
d568b76a
JK
1621Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1622
1623 * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION.
1624
9ddb33a8
PS
1625Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1626
1627 * infrun.c (wait_for_inferior): Do not step or step resume past
1628 the end of a one-line function we just stepped into.
1629
67ac9759 1630For older changes see ChangeLog-93
bd5635a1
RP
1631\f
1632Local Variables:
1633mode: indented-text
1634left-margin: 8
1635fill-column: 74
1636version-control: never
1637End:
This page took 0.301879 seconds and 4 git commands to generate.