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