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